kgoldrunner
KGrTheme Class Reference
#include <kgrtheme.h>
Detailed Description
KGrTheme handles KGoldrunner theme management.Definition at line 30 of file kgrtheme.h.
Public Member Functions | |
| KGrTheme (const QString &systemDataDir) | |
| bool | load (const QString &themeFilepath) |
| QList< QPixmap > | tiles (unsigned int size) |
| QList< QPixmap > | hero (unsigned int size) |
| QList< QPixmap > | enemy (unsigned int size) |
| QImage | background (unsigned int width, unsigned int height, unsigned int variant) |
| bool | isBorderRequired () const |
| bool | isWithBackground () const |
| bool | multipleBackgrounds () const |
| QColor | borderColor () |
| QColor | textColor () |
Constructor & Destructor Documentation
| KGrTheme::KGrTheme | ( | const QString & | systemDataDir | ) |
Definition at line 27 of file kgrtheme.cpp.
Member Function Documentation
| bool KGrTheme::load | ( | const QString & | themeFilepath | ) |
Given the tile size.
- Parameters:
-
size,returns the list of themed tiles.
Definition at line 196 of file kgrtheme.cpp.
Given the tile size.
- Parameters:
-
size,returns the list of hero frames.
Definition at line 134 of file kgrtheme.cpp.
Given the tile size.
- Parameters:
-
size,returns the list of enemy frames.
Definition at line 143 of file kgrtheme.cpp.
| QImage KGrTheme::background | ( | unsigned int | width, | |
| unsigned int | height, | |||
| unsigned int | variant | |||
| ) |
Prepares an image with the background variant.
- Parameters:
-
variant with size width and height.
Definition at line 113 of file kgrtheme.cpp.
| bool KGrTheme::isBorderRequired | ( | ) | const [inline] |
Definition at line 62 of file kgrtheme.h.
| bool KGrTheme::isWithBackground | ( | ) | const [inline] |
| bool KGrTheme::multipleBackgrounds | ( | ) | const [inline] |
| QColor KGrTheme::borderColor | ( | ) | [inline] |
| QColor KGrTheme::textColor | ( | ) | [inline] |
The documentation for this class was generated from the following files:
KDE 4.0 API Reference