#include <textsprite.h>
Inheritance diagram for TextSprite:
Public Member Functions | |
| TextSprite (QString text, QString id, ThemeManager *theme, QGraphicsScene *scene) | |
| Constructor for the sprite. | |
| TextSprite (QString id, ThemeManager *theme, QGraphicsScene *scene) | |
| Constructor for the sprite. | |
| void | setText (QString text) |
| Set a new text to the sprite. | |
| virtual void | changeTheme () |
| Main theme manager function. | |
Definition at line 32 of file textsprite.h.
|
||||||||||||||||||||
|
Constructor for the sprite.
Definition at line 31 of file textsprite.cpp. References ThemeManager::updateTheme(). Here is the call graph for this function: |
|
||||||||||||||||
|
Constructor for the sprite.
Definition at line 42 of file textsprite.cpp. References ThemeManager::updateTheme(). Here is the call graph for this function: |
|
|
Main theme manager function. Called when any theme change like a new theme or a theme size change occurs. This object needs to resiez and redraw then. Implements Themable. Definition at line 60 of file textsprite.cpp. References ThemeManager::config(), ThemeManager::getScale(), Themable::setScale(), and Themable::thememanager(). Here is the call graph for this function: |
|
|
Set a new text to the sprite.
Definition at line 51 of file textsprite.cpp. References Themable::thememanager(), and ThemeManager::updateTheme(). Referenced by DisplayTwo::showScore(), and DisplayTwo::showText(). Here is the call graph for this function: |
1.4.6