#include <display_intro.h>
Inheritance diagram for DisplayIntro:


Public Types | |
| enum | AnimState { Idle, Putting, Turning, Waiting, Clearing, Waiting2 } |
| Animation state of the intro display. More... | |
Public Slots | |
| void | convertMousePress (QPoint, int &, int &) |
| Convert the position of a mouse click to a logical game position - unused. | |
| void | loop () |
| Animation loop. | |
Public Member Functions | |
| DisplayIntro (Deck *deck, QGraphicsScene *scene, ThemeManager *theme, int advancePeriod, QGraphicsView *parent) | |
| Constructor for the display. | |
| virtual void | changeTheme () |
| Main theme function. | |
| void | start () |
| Start the intro. | |
| void | deal (Player *, int) |
| void | play (int, int, int) |
| Play a card on the display - unsused. | |
| void | turn (int) |
| Turn a card on the display - unused. | |
| void | remove (int, int, int) |
| Remove the given card from the display - unused. | |
Definition at line 41 of file display_intro.h.
|
|
Animation state of the intro display.
Definition at line 47 of file display_intro.h. |
|
||||||||||||||||||||||||
|
Constructor for the display.
Definition at line 40 of file display_intro.cpp. References loop(), AbstractDisplay::scene(), and ThemeManager::updateTheme(). Here is the call graph for this function: ![]() |
|
|
Main theme function. Called by the theme manager. Redraw and resize display. Implements Themable. Definition at line 58 of file display_intro.cpp. References ThemeManager::config(), ThemeManager::getPixmap(), AbstractDisplay::mView, AbstractDisplay::scene(), and Themable::thememanager(). Here is the call graph for this function: ![]() |
|
||||||||||||||||
|
Convert the position of a mouse click to a logical game position - unused.
Implements AbstractDisplay. Definition at line 91 of file display_intro.h. |
|
||||||||||||
|
Definition at line 73 of file display_intro.h. |
|
|
Animation loop. Called by timer. Definition at line 121 of file display_intro.cpp. References ThemeManager::aspectRatio(), Clearing, ThemeManager::config(), AbstractDisplay::mCards, Putting, CardSprite::setBackside(), CardSprite::setPosition(), CardSprite::setTurning(), Themable::thememanager(), Turning, WAIT_CNT, and Waiting. Referenced by DisplayIntro(). |
|
||||||||||||||||
|
Play a card on the display - unsused.
Implements AbstractDisplay. Definition at line 77 of file display_intro.h. |
|
||||||||||||||||
|
Remove the given card from the display - unused.
Implements AbstractDisplay. Definition at line 85 of file display_intro.h. |
|
|
Start the intro.
Implements AbstractDisplay. Definition at line 72 of file display_intro.cpp. References AbstractDisplay::mCards, AbstractDisplay::mSprites, AbstractDisplay::mTheme, Putting, and AbstractDisplay::scene(). Here is the call graph for this function: ![]() |
|
|
Turn a card on the display - unused.
Implements AbstractDisplay. Definition at line 81 of file display_intro.h. |
1.4.6