summaryrefslogtreecommitdiff
path: root/ui/Resources.h
blob: e2ae1303655d9caac87365c427dc20784357ad27 (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
#ifndef RESOURCES_H_INCLUDED
#define RESOURCES_H_INCLUDED

#include <wx/bitmap.h>
#include <wx/animate.h>
#include <wx/string.h>
#include <map>

using namespace std;

class GlobalResources
{
public:
    static void loadResourceFiles();
    static void unloadResourceFiles();

    //language dependent global variables: need to be initialized by CustomLocale on program startup
    static wxChar fileNameSeparator;
    static const wxChar* floatingPointSeparator;
    static const wxChar* numberSeparator;

    //image resource objects
    static wxBitmap* bitmapLeftArrow;
    static wxBitmap* bitmapStartSync;
    static wxBitmap* bitmapRightArrow;
    static wxBitmap* bitmapDelete;
    static wxBitmap* bitmapEmail;
    static wxBitmap* bitmapAbout;
    static wxBitmap* bitmapWebsite;
    static wxBitmap* bitmapExit;
    static wxBitmap* bitmapSync;
    static wxBitmap* bitmapCompare;
    static wxBitmap* bitmapSyncDisabled;
    static wxBitmap* bitmapSwap;
    static wxBitmap* bitmapHelp;
    static wxBitmap* bitmapLeftOnly;
    static wxBitmap* bitmapLeftNewer;
    static wxBitmap* bitmapDifferent;
    static wxBitmap* bitmapRightNewer;
    static wxBitmap* bitmapRightOnly;
    static wxBitmap* bitmapLeftOnlyDeact;
    static wxBitmap* bitmapLeftNewerDeact;
    static wxBitmap* bitmapDifferentDeact;
    static wxBitmap* bitmapRightNewerDeact;
    static wxBitmap* bitmapRightOnlyDeact;
    static wxBitmap* bitmapEqual;
    static wxBitmap* bitmapEqualDeact;
    static wxBitmap* bitmapInclude;
    static wxBitmap* bitmapExclude;
    static wxBitmap* bitmapFilterOn;
    static wxBitmap* bitmapFilterOff;
    static wxBitmap* bitmapWarning;
    static wxBitmap* bitmapSmallUp;
    static wxBitmap* bitmapSmallDown;
    static wxBitmap* bitmapSave;
    static wxBitmap* bitmapFFS;
    static wxBitmap* bitmapDeleteFile;

    static wxAnimation* animationMoney;
    static wxAnimation* animationSync;

private:
    //resource mapping
    static map<wxString, wxBitmap*> bitmapResource;
};


#endif // RESOURCES_H_INCLUDED
bgstack15