Crossfire Server, Branches 1.12  R18729
CREPixmap.h
Go to the documentation of this file.
1 #ifndef CREPIXMAP_H
2 #define CREPIXMAP_H
3 
4 #include <QtGui>
5 
6 class CREPixmap
7 {
8  public:
9  static void init();
10 
11  static int faceset;
12  static QIcon getIcon(int faceNumber);
13 
14  static QIcon getTreasureIcon();
15  static QIcon getTreasureOneIcon();
16  static QIcon getTreasureYesIcon();
17  static QIcon getTreasureNoIcon();
18 
19  protected:
20  static QHash<int, QIcon> allFaces;
21  static QIcon* myTreasureIcon;
22  static QIcon* myTreasureOneIcon;
23  static QIcon* myTreasureYesIcon;
24  static QIcon* myTreasureNoIcon;
25 };
26 
27 #endif // CREPIXMAP_H
static QIcon * myTreasureOneIcon
Definition: CREPixmap.h:22
static QIcon getTreasureIcon()
Definition: CREPixmap.cpp:45
static int faceset
Definition: CREPixmap.h:11
static QIcon getTreasureYesIcon()
Definition: CREPixmap.cpp:57
static QIcon getTreasureNoIcon()
Definition: CREPixmap.cpp:63
static QIcon * myTreasureIcon
Definition: CREPixmap.h:21
static QIcon getIcon(int faceNumber)
Definition: CREPixmap.cpp:27
static QIcon * myTreasureYesIcon
Definition: CREPixmap.h:23
static QIcon * myTreasureNoIcon
Definition: CREPixmap.h:24
static void init()
Definition: CREPixmap.cpp:17
static QHash< int, QIcon > allFaces
Definition: CREPixmap.h:20
static QIcon getTreasureOneIcon()
Definition: CREPixmap.cpp:51