Crossfire Server, Branch 1.12  R12190
CREPixmap.h
Go to the documentation of this file.
00001 #ifndef CREPIXMAP_H
00002 #define CREPIXMAP_H
00003 
00004 #include <QtGui>
00005 
00006 class CREPixmap
00007 {
00008     public:
00009         static void init();
00010 
00011         static int faceset;
00012         static QIcon getIcon(int faceNumber);
00013 
00014         static QIcon getTreasureIcon();
00015         static QIcon getTreasureOneIcon();
00016         static QIcon getTreasureYesIcon();
00017         static QIcon getTreasureNoIcon();
00018 
00019     protected:
00020         static QHash<int, QIcon> allFaces;
00021         static QIcon* myTreasureIcon;
00022         static QIcon* myTreasureOneIcon;
00023         static QIcon* myTreasureYesIcon;
00024         static QIcon* myTreasureNoIcon;
00025 };
00026 
00027 #endif // CREPIXMAP_H