ToolMap
Loading...
Searching...
No Matches
bitmaps.h
1#ifndef TOOMAP_BITMAPS_H
2#define TOOMAP_BITMAPS_H
3
4#include "wx/wxprec.h"
5#ifndef WX_PRECOMP
6#include <wx/wx.h>
7#endif
8
9class Bitmaps {
10 public:
11 static wxString SvgToolbar[];
12 static wxString SvgMisc[];
13 static wxString SvgToc[];
14 static wxString SvgCursors[];
15 static wxString SvgLogo;
16 static wxString ColorBlack;
17 static wxString ColorWhite;
18
19 enum ID_TOOLBAR {
20 SELECT = 0,
21 ZOOM_FIT,
22 ZOOM,
23 PREVIOUS,
24 PAN,
25 EDIT,
26 KIND,
27 ATTRIBUTE,
28 INFO,
29 MODIFY,
30 VERTEX_MOVE
31 };
32 enum ID_MISC {
33 BUG = 0,
34 ZIP,
35 SORT_DOWN,
36 SORT_UP
37 };
38 enum ID_TOC {
39 FOLDER = 0,
40 SHAPEFILE,
41 DATABASE,
42 IMAGE,
43 CHECK_ON,
44 CHECK_OFF,
45 PEN,
46 WEB
47 };
48 enum ID_CURSORS {
49 ZOOM_IN = 0,
50 ZOOM_OUT,
51 HAND,
52 VERTEX_EDIT,
53 VERTEX_ADD,
54 VERTEX_REMOVE,
55 ORIENTED
56 };
57
58 static wxString GetColor();
59
60 static wxBitmap GetToolbarBitmap(Bitmaps::ID_TOOLBAR id, const wxSize& size = wxSize(32, 32));
61 static wxBitmap GetMiscBitmap(Bitmaps::ID_MISC id, const wxSize& size = wxSize(32, 32));
62 static wxBitmap GetTocBitmap(Bitmaps::ID_TOC id, const wxSize& size = wxSize(16, 16));
63 static wxBitmap GetCursorBitmap(Bitmaps::ID_CURSORS id, const wxSize& size = wxSize(24, 24));
64
65 static wxBitmap GetLogo(const wxSize& size = wxSize(32, 32));
66};
67
68#endif
Definition bitmaps.h:9