
Public Member Functions | |
| CanvasCardPile (CanvasCardGame *ccg, QCanvas *canvas) | |
| void | addCard (CanvasCard *card) |
| void | advance (int stage) |
| void | animatedMove () |
| void | savePos (void) |
| void | animatedMove (int x2, int y2, int steps=7) |
Protected Member Functions | |
| virtual void | draw (QPainter &p) |
Private Attributes | |
| CanvasCardGame * | parent |
| QPixmap * | pile |
| QImage | tempImage32 |
| CanvasCard * | firstCard |
| int | pileHeight |
| int | destX |
| int | destY |
| int | savedX |
| int | savedY |
| int | animSteps |
|
||||||||||||
|
Definition at line 38 of file canvascardgame.cpp. References firstCard, NULL, pile, and pileHeight. |
|
|
Definition at line 65 of file canvascardgame.cpp. References alpha, col, CanvasCard::draw(), firstCard, height, i, p, pile, pileHeight, tempImage32, and TRUE. Referenced by CanvasCardGame::contentsMousePressEvent(). |
|
|
Definition at line 113 of file canvascardgame.cpp. References animSteps, CanvasCardGame::cancelMoving(), destX, destY, FALSE, firstCard, Card::getCardPile(), and parent. |
|
||||||||||||||||
|
Definition at line 133 of file canvascardgame.cpp. References animSteps, destX, destY, fabs(), TRUE, Opie::MM::x, and Opie::MM::y. |
|
|
Definition at line 46 of file canvascardgame.cpp. |
|
|
Definition at line 151 of file canvascardgame.cpp. References tempImage32, Opie::MM::x, and Opie::MM::y. |
|
|
Definition at line 47 of file canvascardgame.cpp. References savedX, savedY, Opie::MM::x, and Opie::MM::y. Referenced by CanvasCardGame::contentsMousePressEvent(). |
|
|
Definition at line 61 of file canvascardgame.cpp. Referenced by advance(), and animatedMove(). |
|
|
Definition at line 59 of file canvascardgame.cpp. Referenced by advance(), and animatedMove(). |
|
|
Definition at line 59 of file canvascardgame.cpp. Referenced by advance(), and animatedMove(). |
|
|
Definition at line 57 of file canvascardgame.cpp. Referenced by addCard(), advance(), and CanvasCardPile(). |
|
|
Definition at line 54 of file canvascardgame.cpp. Referenced by advance(). |
|
|
Definition at line 55 of file canvascardgame.cpp. Referenced by addCard(), and CanvasCardPile(). |
|
|
Definition at line 58 of file canvascardgame.cpp. Referenced by addCard(), and CanvasCardPile(). |
|
|
Definition at line 60 of file canvascardgame.cpp. Referenced by animatedMove(), and savePos(). |
|
|
Definition at line 60 of file canvascardgame.cpp. Referenced by animatedMove(), and savePos(). |
|
|
Definition at line 56 of file canvascardgame.cpp. |
1.4.2