blob: 5de79ec24f58ce4e87de6d441e38a11c7c899e81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
|
#ifndef RESOURCES_H_INCLUDED
#define RESOURCES_H_INCLUDED
#include <wx/bitmap.h>
#include <wx/animate.h>
#include <wx/string.h>
#include <map>
class GlobalResources
{
public:
GlobalResources();
~GlobalResources();
void load();
static const wxChar FILE_NAME_SEPARATOR;
//language dependent global variables: need to be initialized by CustomLocale on program startup and language switch
static const wxChar* DECIMAL_POINT;
static const wxChar* THOUSANDS_SEPARATOR;
//image resource objects
wxBitmap* bitmapArrowLeft;
wxBitmap* bitmapArrowRight;
wxBitmap* bitmapArrowLeftCr;
wxBitmap* bitmapArrowRightCr;
wxBitmap* bitmapArrowNone;
wxBitmap* bitmapStartSync;
wxBitmap* bitmapStartSyncDis;
wxBitmap* bitmapDeleteLeft;
wxBitmap* bitmapDeleteRight;
wxBitmap* bitmapEmail;
wxBitmap* bitmapAbout;
wxBitmap* bitmapAboutSmall;
wxBitmap* bitmapWebsite;
wxBitmap* bitmapExit;
wxBitmap* bitmapSync;
wxBitmap* bitmapCompare;
wxBitmap* bitmapSyncDisabled;
wxBitmap* bitmapSwap;
wxBitmap* bitmapHelp;
wxBitmap* bitmapEqual;
wxBitmap* bitmapEqualAct;
wxBitmap* bitmapEqualDeact;
wxBitmap* bitmapLeftOnly;
wxBitmap* bitmapLeftOnlyAct;
wxBitmap* bitmapLeftOnlyDeact;
wxBitmap* bitmapLeftNewer;
wxBitmap* bitmapLeftNewerAct;
wxBitmap* bitmapLeftNewerDeact;
wxBitmap* bitmapDifferent;
wxBitmap* bitmapDifferentAct;
wxBitmap* bitmapDifferentDeact;
wxBitmap* bitmapRightNewer;
wxBitmap* bitmapRightNewerAct;
wxBitmap* bitmapRightNewerDeact;
wxBitmap* bitmapRightOnly;
wxBitmap* bitmapRightOnlyAct;
wxBitmap* bitmapRightOnlyDeact;
wxBitmap* bitmapInclude;
wxBitmap* bitmapExclude;
wxBitmap* bitmapFilterOn;
wxBitmap* bitmapFilterOff;
wxBitmap* bitmapWarning;
wxBitmap* bitmapWarningSmall;
wxBitmap* bitmapError;
wxBitmap* bitmapSmallUp;
wxBitmap* bitmapSmallDown;
wxBitmap* bitmapSave;
wxBitmap* bitmapLoad;
wxBitmap* bitmapFFS;
wxBitmap* bitmapFFSPaused;
wxBitmap* bitmapDeleteFile;
wxBitmap* bitmapGPL;
wxBitmap* bitmapStatusPause;
wxBitmap* bitmapStatusError;
wxBitmap* bitmapStatusSuccess;
wxBitmap* bitmapStatusWarning;
wxBitmap* bitmapStatusScanning;
wxBitmap* bitmapStatusComparing;
wxBitmap* bitmapStatusSyncing;
wxBitmap* bitmapLogo;
wxBitmap* bitmapStatusEdge;
wxBitmap* bitmapAddFolderPair;
wxBitmap* bitmapRemoveFolderPair;
wxBitmap* bitmapRemoveFolderPairD;
wxBitmap* bitmapLink;
wxBitmap* bitmapBackground;
wxBitmap* bitmapCompareSmall;
wxBitmap* bitmapSyncSmall;
wxBitmap* bitmapClockSmall;
wxBitmap* bitmapClock;
wxBitmap* bitmapFilter;
wxBitmap* bitmapBatch;
wxBitmap* bitmapBatchSmall;
wxBitmap* bitmapMoveUp;
wxBitmap* bitmapMoveDown;
wxBitmap* bitmapCheckBoxTrue;
wxBitmap* bitmapCheckBoxFalse;
wxBitmap* bitmapSettings;
wxBitmap* bitmapSettingsSmall;
wxBitmap* bitmapRecycler;
wxBitmap* bitmapShift;
wxBitmap* bitmapQuestion;
wxBitmap* bitmapChina;
wxBitmap* bitmapHolland;
wxBitmap* bitmapEngland;
wxBitmap* bitmapFrance;
wxBitmap* bitmapGermany;
wxBitmap* bitmapHungary;
wxBitmap* bitmapItaly;
wxBitmap* bitmapJapan;
wxBitmap* bitmapPoland;
wxBitmap* bitmapPortugal;
wxBitmap* bitmapBrazil;
wxBitmap* bitmapSlovakia;
wxBitmap* bitmapSpain;
wxAnimation* animationMoney;
wxAnimation* animationSync;
wxIcon* programIcon;
private:
//resource mapping
std::map<wxString, wxBitmap*> bitmapResource;
};
extern GlobalResources globalResource; //loads bitmap resources on program startup
#endif // RESOURCES_H_INCLUDED
|