cleaned all trailing white space from source files.
[sdk] / samples / games / cards / poker / widow.ec
1 /****************************************************************************
2    POKER Game Interface
3
4    Copyright (c) 2001 Jerome Jacovella-St-Louis
5    All Rights Reserved.
6
7    widow.ec - Widow Window
8 ****************************************************************************/
9 import "poker.ec"
10
11 class Widow : Window
12 {
13    void OnRedraw(Surface surface)
14    {
15       Poker poker = (Poker) master;
16       int c;
17       for(c=0; c<widowNum; c++)
18          poker.DrawCard(surface, c * 15, 0, POKER_Card(widow[c]));
19       surface.SetForeground(red);
20       surface.WriteTextf(10, 130, "POT MONEY: %.2f", potMoney / 2.0);
21    }
22 }