Game Develop Core: CommonBitmapManager.h Source File

| Game Develop Core Core library for developing platforms and tools compatible with Game Develop.

- Main Page
- Modules
- Classes

- File List
- File Members

All Classes Files Functions Variables Typedefs Enumerations Macros Groups Pages
CommonBitmapManager.h
Go to the documentation of this file.
1
6 #if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
7 #ifndef CommonBitmapManager_H
8 #define CommonBitmapManager_H
9 #include <wx/bitmap.h>
10
11 namespace gd
12 {
13
21 class GD_CORE_API CommonBitmapManager
22 {
23 public:
24
25 wxBitmap expressionBt;
26 wxBitmap objectBt;
27 wxBitmap automatismBt;
28 wxBitmap signeBt;
29 wxBitmap fileBt;
30 wxBitmap yesnoBt;
31 wxBitmap policeBt;
32 wxBitmap colorBt;
33 wxBitmap texteBt;
34 wxBitmap musicBt;
35 wxBitmap soundBt;
36 wxBitmap passwordBt;
37 wxBitmap unknownBt;
38 wxBitmap keyBt;
39 wxBitmap mouseBt;
40 wxBitmap transparentBg;
41 wxBitmap trueOrFalseBt;
42 wxBitmap point;
43 wxBitmap add16;
44 wxBitmap add24;
45 wxBitmap unknown24;
46 wxBitmap unknownAction24;
47 wxBitmap unknownCondition24;
48 wxBitmap scene;
49 wxBitmap layerBt;
50 wxBitmap joyaxisBt;
51 wxBitmap backthumbsBg;
52 wxBitmap varBt;
53 wxBitmap noProtection;
54 wxBitmap folder40;
55 wxBitmap parentFolder40;
56 wxBitmap invertedCondition;
57 wxBitmap left16;
58 wxBitmap right16;
59 wxBitmap animation16;
60 wxBitmap leftdir16;
61 wxBitmap leftdowndir16;
62 wxBitmap downdir16;
63 wxBitmap rightdowndir16;
64 wxBitmap rightdir16;
65 wxBitmap rightupdir16;
66 wxBitmap updir16;
67 wxBitmap leftupdir16;
68 wxBitmap maskEdit16;
69 wxBitmap pointEdit16;
70 wxBitmap defaultMask16;
71 wxBitmap objectGroup16;
72 wxBitmap gdFileIcon32;
73 wxBitmap error48;
74
75 static CommonBitmapManager *GetInstance()
76 {
77 if ( NULL == _singleton )
78 _singleton = new CommonBitmapManager;
79
80 return _singleton;
81 }
82
83 static void DestroySingleton()
84 {
85 if ( NULL != _singleton )
86 {
87 delete _singleton;
88 _singleton = NULL;
89 }
90 }
91
92 private:
93 CommonBitmapManager();
94 virtual ~CommonBitmapManager() {};
95
96 static CommonBitmapManager *_singleton;
97 };
98
99 }
100
101 #endif // CommonBitmapManager_H
102 #endif