]> git.saurik.com Git - wxWidgets.git/blame - include/wx/qt/settings.h
converted to 16 colors
[wxWidgets.git] / include / wx / qt / settings.h
CommitLineData
7c78e7c7
RR
1/////////////////////////////////////////////////////////////////////////////
2// Name: settings.h
01b2eeec
KB
3// Purpose: wxSystemSettings class
4// Author: AUTHOR
5// Modified by:
6// Created: ??/??/98
7// RCS-ID: $Id$
8// Copyright: (c) AUTHOR
7c78e7c7
RR
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
01b2eeec
KB
12#ifndef _WX_SETTINGS_H_
13#define _WX_SETTINGS_H_
7c78e7c7
RR
14
15#ifdef __GNUG__
01b2eeec 16#pragma interface "settings.h"
7c78e7c7
RR
17#endif
18
01b2eeec
KB
19#include "wx/setup.h"
20
21#define wxSYS_WHITE_BRUSH 0
22#define wxSYS_LTGRAY_BRUSH 1
23#define wxSYS_GRAY_BRUSH 2
24#define wxSYS_DKGRAY_BRUSH 3
25#define wxSYS_BLACK_BRUSH 4
26#define wxSYS_NULL_BRUSH 5
27#define wxSYS_HOLLOW_BRUSH wxSYS_NULL_BRUSH
28#define wxSYS_WHITE_PEN 6
29#define wxSYS_BLACK_PEN 7
30#define wxSYS_NULL_PEN 8
31#define wxSYS_OEM_FIXED_FONT 10
32#define wxSYS_ANSI_FIXED_FONT 11
33#define wxSYS_ANSI_VAR_FONT 12
34#define wxSYS_SYSTEM_FONT 13
35#define wxSYS_DEVICE_DEFAULT_FONT 14
36#define wxSYS_DEFAULT_PALETTE 15
37#define wxSYS_SYSTEM_FIXED_FONT 16 // Obsolete
38#define wxSYS_DEFAULT_GUI_FONT 17
39
40#define wxSYS_COLOUR_SCROLLBAR 0
41#define wxSYS_COLOUR_BACKGROUND 1
42#define wxSYS_COLOUR_ACTIVECAPTION 2
43#define wxSYS_COLOUR_INACTIVECAPTION 3
44#define wxSYS_COLOUR_MENU 4
45#define wxSYS_COLOUR_WINDOW 5
46#define wxSYS_COLOUR_WINDOWFRAME 6
47#define wxSYS_COLOUR_MENUTEXT 7
48#define wxSYS_COLOUR_WINDOWTEXT 8
49#define wxSYS_COLOUR_CAPTIONTEXT 9
50#define wxSYS_COLOUR_ACTIVEBORDER 10
51#define wxSYS_COLOUR_INACTIVEBORDER 11
52#define wxSYS_COLOUR_APPWORKSPACE 12
53#define wxSYS_COLOUR_HIGHLIGHT 13
54#define wxSYS_COLOUR_HIGHLIGHTTEXT 14
55#define wxSYS_COLOUR_BTNFACE 15
56#define wxSYS_COLOUR_BTNSHADOW 16
57#define wxSYS_COLOUR_GRAYTEXT 17
58#define wxSYS_COLOUR_BTNTEXT 18
59#define wxSYS_COLOUR_INACTIVECAPTIONTEXT 19
60#define wxSYS_COLOUR_BTNHIGHLIGHT 20
61
62#define wxSYS_COLOUR_3DDKSHADOW 21
63#define wxSYS_COLOUR_3DLIGHT 22
64#define wxSYS_COLOUR_INFOTEXT 23
65#define wxSYS_COLOUR_INFOBK 24
66
67#define wxSYS_COLOUR_DESKTOP wxSYS_COLOUR_BACKGROUND
68#define wxSYS_COLOUR_3DFACE wxSYS_COLOUR_BTNFACE
69#define wxSYS_COLOUR_3DSHADOW wxSYS_COLOUR_BTNSHADOW
70#define wxSYS_COLOUR_3DHIGHLIGHT wxSYS_COLOUR_BTNHIGHLIGHT
71#define wxSYS_COLOUR_3DHILIGHT wxSYS_COLOUR_BTNHIGHLIGHT
72#define wxSYS_COLOUR_BTNHILIGHT wxSYS_COLOUR_BTNHIGHLIGHT
73
74// Metrics
75#define wxSYS_MOUSE_BUTTONS 1
76#define wxSYS_BORDER_X 2
77#define wxSYS_BORDER_Y 3
78#define wxSYS_CURSOR_X 4
79#define wxSYS_CURSOR_Y 5
80#define wxSYS_DCLICK_X 6
81#define wxSYS_DCLICK_Y 7
82#define wxSYS_DRAG_X 8
83#define wxSYS_DRAG_Y 9
84#define wxSYS_EDGE_X 10
85#define wxSYS_EDGE_Y 11
86#define wxSYS_HSCROLL_ARROW_X 12
87#define wxSYS_HSCROLL_ARROW_Y 13
88#define wxSYS_HTHUMB_X 14
89#define wxSYS_ICON_X 15
90#define wxSYS_ICON_Y 16
91#define wxSYS_ICONSPACING_X 17
92#define wxSYS_ICONSPACING_Y 18
93#define wxSYS_WINDOWMIN_X 19
94#define wxSYS_WINDOWMIN_Y 20
95#define wxSYS_SCREEN_X 21
96#define wxSYS_SCREEN_Y 22
97#define wxSYS_FRAMESIZE_X 23
98#define wxSYS_FRAMESIZE_Y 24
99#define wxSYS_SMALLICON_X 25
100#define wxSYS_SMALLICON_Y 26
101#define wxSYS_HSCROLL_Y 27
102#define wxSYS_VSCROLL_X 28
103#define wxSYS_VSCROLL_ARROW_X 29
104#define wxSYS_VSCROLL_ARROW_Y 30
105#define wxSYS_VTHUMB_Y 31
106#define wxSYS_CAPTION_Y 32
107#define wxSYS_MENU_Y 33
108#define wxSYS_NETWORK_PRESENT 34
109#define wxSYS_PENWINDOWS_PRESENT 35
110#define wxSYS_SHOW_SOUNDS 36
111#define wxSYS_SWAP_BUTTONS 37
7c78e7c7
RR
112
113class WXDLLEXPORT wxSystemSettings: public wxObject
114{
115public:
01b2eeec 116 inline wxSystemSettings() {}
7c78e7c7
RR
117
118 // Get a system colour
119 static wxColour GetSystemColour(int index);
120
121 // Get a system font
122 static wxFont GetSystemFont(int index);
123
124 // Get a system metric, e.g. scrollbar size
125 static int GetSystemMetric(int index);
126};
127
128#endif
01b2eeec 129 // _WX_SETTINGS_H_