Diffstat (limited to 'noncore/games/solitaire/cardpile.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/solitaire/cardpile.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/noncore/games/solitaire/cardpile.cpp b/noncore/games/solitaire/cardpile.cpp index aace2e2..1d572be 100644 --- a/noncore/games/solitaire/cardpile.cpp +++ b/noncore/games/solitaire/cardpile.cpp | |||
@@ -13,27 +13,25 @@ | |||
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #include "cardpile.h" | 21 | #include "cardpile.h" |
22 | #include "card.h" | 22 | #include "card.h" |
23 | 23 | ||
24 | #include <qpe/config.h> | 24 | #include <qpe/config.h> |
25 | #include <qpoint.h> | ||
26 | 25 | ||
27 | #include <qlist.h> | ||
28 | 26 | ||
29 | 27 | ||
30 | CardPile::CardPile(int x, int y) : pileX(x), pileY(y), dealing(FALSE), PileResize(FALSE) { | 28 | CardPile::CardPile(int x, int y) : pileX(x), pileY(y), dealing(FALSE), PileResize(FALSE) { |
31 | pileWidth = 0; | 29 | pileWidth = 0; |
32 | pileHeight = 0; | 30 | pileHeight = 0; |
33 | pileNextX = pileX; | 31 | pileNextX = pileX; |
34 | pileNextY = pileY; | 32 | pileNextY = pileY; |
35 | pileCenterX = x + pileWidth / 2; | 33 | pileCenterX = x + pileWidth / 2; |
36 | pileCenterY = y + pileHeight / 2; | 34 | pileCenterY = y + pileHeight / 2; |
37 | pileRadius = (pileWidth > pileHeight) ? pileWidth : pileHeight; | 35 | pileRadius = (pileWidth > pileHeight) ? pileWidth : pileHeight; |
38 | pileOffsetDown = 13; | 36 | pileOffsetDown = 13; |
39 | } | 37 | } |