]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: settings.h | |
3 | // Purpose: wxSystemSettings defines; includes platform settings.h | |
4 | // Author: Julian Smart | |
5 | // Modified by: | |
6 | // Created: 01/02/97 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) Julian Smart and Markus Holzem | |
9 | // Licence: wxWindows licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #ifndef _WX_SETTINGS_H_BASE_ | |
13 | #define _WX_SETTINGS_H_BASE_ | |
14 | ||
15 | #define wxSYS_WHITE_BRUSH 0 | |
16 | #define wxSYS_LTGRAY_BRUSH 1 | |
17 | #define wxSYS_GRAY_BRUSH 2 | |
18 | #define wxSYS_DKGRAY_BRUSH 3 | |
19 | #define wxSYS_BLACK_BRUSH 4 | |
20 | #define wxSYS_NULL_BRUSH 5 | |
21 | #define wxSYS_HOLLOW_BRUSH wxSYS_NULL_BRUSH | |
22 | #define wxSYS_WHITE_PEN 6 | |
23 | #define wxSYS_BLACK_PEN 7 | |
24 | #define wxSYS_NULL_PEN 8 | |
25 | #define wxSYS_OEM_FIXED_FONT 10 | |
26 | #define wxSYS_ANSI_FIXED_FONT 11 | |
27 | #define wxSYS_ANSI_VAR_FONT 12 | |
28 | #define wxSYS_SYSTEM_FONT 13 | |
29 | #define wxSYS_DEVICE_DEFAULT_FONT 14 | |
30 | #define wxSYS_DEFAULT_PALETTE 15 | |
31 | #define wxSYS_SYSTEM_FIXED_FONT 16 | |
32 | #define wxSYS_DEFAULT_GUI_FONT 17 | |
33 | ||
34 | #define wxSYS_COLOUR_SCROLLBAR 0 | |
35 | #define wxSYS_COLOUR_BACKGROUND 1 | |
36 | #define wxSYS_COLOUR_ACTIVECAPTION 2 | |
37 | #define wxSYS_COLOUR_INACTIVECAPTION 3 | |
38 | #define wxSYS_COLOUR_MENU 4 | |
39 | #define wxSYS_COLOUR_WINDOW 5 | |
40 | #define wxSYS_COLOUR_WINDOWFRAME 6 | |
41 | #define wxSYS_COLOUR_MENUTEXT 7 | |
42 | #define wxSYS_COLOUR_WINDOWTEXT 8 | |
43 | #define wxSYS_COLOUR_CAPTIONTEXT 9 | |
44 | #define wxSYS_COLOUR_ACTIVEBORDER 10 | |
45 | #define wxSYS_COLOUR_INACTIVEBORDER 11 | |
46 | #define wxSYS_COLOUR_APPWORKSPACE 12 | |
47 | #define wxSYS_COLOUR_HIGHLIGHT 13 | |
48 | #define wxSYS_COLOUR_HIGHLIGHTTEXT 14 | |
49 | #define wxSYS_COLOUR_BTNFACE 15 | |
50 | #define wxSYS_COLOUR_BTNSHADOW 16 | |
51 | #define wxSYS_COLOUR_GRAYTEXT 17 | |
52 | #define wxSYS_COLOUR_BTNTEXT 18 | |
53 | #define wxSYS_COLOUR_INACTIVECAPTIONTEXT 19 | |
54 | #define wxSYS_COLOUR_BTNHIGHLIGHT 20 | |
55 | ||
56 | #define wxSYS_COLOUR_3DDKSHADOW 21 | |
57 | #define wxSYS_COLOUR_3DLIGHT 22 | |
58 | #define wxSYS_COLOUR_INFOTEXT 23 | |
59 | #define wxSYS_COLOUR_INFOBK 24 | |
60 | ||
61 | #define wxSYS_COLOUR_DESKTOP wxSYS_COLOUR_BACKGROUND | |
62 | #define wxSYS_COLOUR_3DFACE wxSYS_COLOUR_BTNFACE | |
63 | #define wxSYS_COLOUR_3DSHADOW wxSYS_COLOUR_BTNSHADOW | |
64 | #define wxSYS_COLOUR_3DHIGHLIGHT wxSYS_COLOUR_BTNHIGHLIGHT | |
65 | #define wxSYS_COLOUR_3DHILIGHT wxSYS_COLOUR_BTNHIGHLIGHT | |
66 | #define wxSYS_COLOUR_BTNHILIGHT wxSYS_COLOUR_BTNHIGHLIGHT | |
67 | ||
68 | // Metrics | |
69 | #define wxSYS_MOUSE_BUTTONS 1 | |
70 | #define wxSYS_BORDER_X 2 | |
71 | #define wxSYS_BORDER_Y 3 | |
72 | #define wxSYS_CURSOR_X 4 | |
73 | #define wxSYS_CURSOR_Y 5 | |
74 | #define wxSYS_DCLICK_X 6 | |
75 | #define wxSYS_DCLICK_Y 7 | |
76 | #define wxSYS_DRAG_X 8 | |
77 | #define wxSYS_DRAG_Y 9 | |
78 | #define wxSYS_EDGE_X 10 | |
79 | #define wxSYS_EDGE_Y 11 | |
80 | #define wxSYS_HSCROLL_ARROW_X 12 | |
81 | #define wxSYS_HSCROLL_ARROW_Y 13 | |
82 | #define wxSYS_HTHUMB_X 14 | |
83 | #define wxSYS_ICON_X 15 | |
84 | #define wxSYS_ICON_Y 16 | |
85 | #define wxSYS_ICONSPACING_X 17 | |
86 | #define wxSYS_ICONSPACING_Y 18 | |
87 | #define wxSYS_WINDOWMIN_X 19 | |
88 | #define wxSYS_WINDOWMIN_Y 20 | |
89 | #define wxSYS_SCREEN_X 21 | |
90 | #define wxSYS_SCREEN_Y 22 | |
91 | #define wxSYS_FRAMESIZE_X 23 | |
92 | #define wxSYS_FRAMESIZE_Y 24 | |
93 | #define wxSYS_SMALLICON_X 25 | |
94 | #define wxSYS_SMALLICON_Y 26 | |
95 | #define wxSYS_HSCROLL_Y 27 | |
96 | #define wxSYS_VSCROLL_X 28 | |
97 | #define wxSYS_VSCROLL_ARROW_X 29 | |
98 | #define wxSYS_VSCROLL_ARROW_Y 30 | |
99 | #define wxSYS_VTHUMB_Y 31 | |
100 | #define wxSYS_CAPTION_Y 32 | |
101 | #define wxSYS_MENU_Y 33 | |
102 | #define wxSYS_NETWORK_PRESENT 34 | |
103 | #define wxSYS_PENWINDOWS_PRESENT 35 | |
104 | #define wxSYS_SHOW_SOUNDS 36 | |
105 | #define wxSYS_SWAP_BUTTONS 37 | |
106 | ||
107 | #if defined(__WXMSW__) | |
108 | #include "wx/msw/settings.h" | |
109 | #elif defined(__WXMOTIF__) | |
110 | #include "wx/motif/settings.h" | |
111 | #elif defined(__WXGTK__) | |
112 | #include "wx/gtk/settings.h" | |
113 | #elif defined(__WXQT__) | |
114 | #include "wx/qt/settings.h" | |
115 | #elif defined(__WXMAC__) | |
116 | #include "wx/mac/settings.h" | |
117 | #elif defined(__WXPM__) | |
118 | #include "wx/os2/settings.h" | |
119 | #elif defined(__WXSTUBS__) | |
120 | #include "wx/stubs/settings.h" | |
121 | #endif | |
122 | ||
123 | #endif | |
124 | // _WX_SETTINGS_H_BASE_ | |
125 |