1//---------------------------------------------------------------------------
2// This file is generated by wxPython's SIP generator.  Do not edit by hand.
3//
4// Copyright: (c) 2018 by Total Control Software
5// License:   wxWindows License
6//
7// This file will be included by _core.sip
8//
9//---------------------------------------------------------------------------
10
11//---------------------------------------------------------------------------
12
13enum wxSystemFont
14{
15    wxSYS_OEM_FIXED_FONT,
16    wxSYS_ANSI_FIXED_FONT,
17    wxSYS_ANSI_VAR_FONT,
18    wxSYS_SYSTEM_FONT,
19    wxSYS_DEVICE_DEFAULT_FONT,
20    wxSYS_DEFAULT_GUI_FONT
21};
22
23enum wxSystemColour
24{
25    wxSYS_COLOUR_SCROLLBAR,
26    wxSYS_COLOUR_DESKTOP,
27    wxSYS_COLOUR_ACTIVECAPTION,
28    wxSYS_COLOUR_INACTIVECAPTION,
29    wxSYS_COLOUR_MENU,
30    wxSYS_COLOUR_WINDOW,
31    wxSYS_COLOUR_WINDOWFRAME,
32    wxSYS_COLOUR_MENUTEXT,
33    wxSYS_COLOUR_WINDOWTEXT,
34    wxSYS_COLOUR_CAPTIONTEXT,
35    wxSYS_COLOUR_ACTIVEBORDER,
36    wxSYS_COLOUR_INACTIVEBORDER,
37    wxSYS_COLOUR_APPWORKSPACE,
38    wxSYS_COLOUR_HIGHLIGHT,
39    wxSYS_COLOUR_HIGHLIGHTTEXT,
40    wxSYS_COLOUR_BTNFACE,
41    wxSYS_COLOUR_BTNSHADOW,
42    wxSYS_COLOUR_GRAYTEXT,
43    wxSYS_COLOUR_BTNTEXT,
44    wxSYS_COLOUR_INACTIVECAPTIONTEXT,
45    wxSYS_COLOUR_BTNHIGHLIGHT,
46    wxSYS_COLOUR_3DDKSHADOW,
47    wxSYS_COLOUR_3DLIGHT,
48    wxSYS_COLOUR_INFOTEXT,
49    wxSYS_COLOUR_INFOBK,
50    wxSYS_COLOUR_LISTBOX,
51    wxSYS_COLOUR_HOTLIGHT,
52    wxSYS_COLOUR_GRADIENTACTIVECAPTION,
53    wxSYS_COLOUR_GRADIENTINACTIVECAPTION,
54    wxSYS_COLOUR_MENUHILIGHT,
55    wxSYS_COLOUR_MENUBAR,
56    wxSYS_COLOUR_LISTBOXTEXT,
57    wxSYS_COLOUR_LISTBOXHIGHLIGHTTEXT,
58    wxSYS_COLOUR_BACKGROUND,
59    wxSYS_COLOUR_3DFACE,
60    wxSYS_COLOUR_3DSHADOW,
61    wxSYS_COLOUR_BTNHILIGHT,
62    wxSYS_COLOUR_3DHIGHLIGHT,
63    wxSYS_COLOUR_3DHILIGHT,
64    wxSYS_COLOUR_FRAMEBK
65};
66
67enum wxSystemMetric
68{
69    wxSYS_MOUSE_BUTTONS,
70    wxSYS_BORDER_X,
71    wxSYS_BORDER_Y,
72    wxSYS_CURSOR_X,
73    wxSYS_CURSOR_Y,
74    wxSYS_DCLICK_X,
75    wxSYS_DCLICK_Y,
76    wxSYS_DRAG_X,
77    wxSYS_DRAG_Y,
78    wxSYS_EDGE_X,
79    wxSYS_EDGE_Y,
80    wxSYS_HSCROLL_ARROW_X,
81    wxSYS_HSCROLL_ARROW_Y,
82    wxSYS_HTHUMB_X,
83    wxSYS_ICON_X,
84    wxSYS_ICON_Y,
85    wxSYS_ICONSPACING_X,
86    wxSYS_ICONSPACING_Y,
87    wxSYS_WINDOWMIN_X,
88    wxSYS_WINDOWMIN_Y,
89    wxSYS_SCREEN_X,
90    wxSYS_SCREEN_Y,
91    wxSYS_FRAMESIZE_X,
92    wxSYS_FRAMESIZE_Y,
93    wxSYS_SMALLICON_X,
94    wxSYS_SMALLICON_Y,
95    wxSYS_HSCROLL_Y,
96    wxSYS_VSCROLL_X,
97    wxSYS_VSCROLL_ARROW_X,
98    wxSYS_VSCROLL_ARROW_Y,
99    wxSYS_VTHUMB_Y,
100    wxSYS_CAPTION_Y,
101    wxSYS_MENU_Y,
102    wxSYS_NETWORK_PRESENT,
103    wxSYS_PENWINDOWS_PRESENT,
104    wxSYS_SHOW_SOUNDS,
105    wxSYS_SWAP_BUTTONS,
106    wxSYS_DCLICK_MSEC
107};
108
109enum wxSystemFeature
110{
111    wxSYS_CAN_DRAW_FRAME_DECORATIONS,
112    wxSYS_CAN_ICONIZE_FRAME,
113    wxSYS_TABLET_PRESENT
114};
115
116enum wxSystemScreenType
117{
118    wxSYS_SCREEN_NONE,
119    wxSYS_SCREEN_TINY,
120    wxSYS_SCREEN_PDA,
121    wxSYS_SCREEN_SMALL,
122    wxSYS_SCREEN_DESKTOP
123};
124
125class wxSystemSettings
126{
127    %Docstring
128        SystemSettings()
129
130        wxSystemSettings allows the application to ask for details about the
131        system.
132    %End
133    %TypeHeaderCode
134        #include <wx/settings.h>
135    %End
136
137public:
138    wxSystemSettings();
139    %PreMethodCode
140        if (!wxPyCheckForApp()) return NULL;
141    %End
142
143    static
144    wxColour GetColour(
145        wxSystemColour index
146    );
147    %Docstring
148        GetColour(index) -> Colour
149
150        Returns a system colour.
151    %End
152    %PreMethodCode
153        if (!wxPyCheckForApp()) return NULL;
154    %End
155
156    static
157    wxFont GetFont(
158        wxSystemFont index
159    );
160    %Docstring
161        GetFont(index) -> Font
162
163        Returns a system font.
164    %End
165    %PreMethodCode
166        if (!wxPyCheckForApp()) return NULL;
167    %End
168
169    static
170    int GetMetric(
171        wxSystemMetric index,
172        wxWindow * win = NULL
173    );
174    %Docstring
175        GetMetric(index, win=None) -> int
176
177        Returns the value of a system metric, or -1 if the metric is not
178        supported on the current system.
179    %End
180    %PreMethodCode
181        if (!wxPyCheckForApp()) return NULL;
182    %End
183
184    static
185    wxSystemScreenType GetScreenType();
186    %Docstring
187        GetScreenType() -> SystemScreenType
188
189        Returns the screen type.
190    %End
191    %PreMethodCode
192        if (!wxPyCheckForApp()) return NULL;
193    %End
194
195    static
196    bool HasFeature(
197        wxSystemFeature index
198    );
199    %Docstring
200        HasFeature(index) -> bool
201
202        Returns true if the port has certain feature.
203    %End
204    %PreMethodCode
205        if (!wxPyCheckForApp()) return NULL;
206    %End
207
208};  // end of class wxSystemSettings
209
210
211
212//---------------------------------------------------------------------------
213
214