1 /*
2  * Copyright © 2010 Codethink Limited
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the
16  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  * Boston, MA 02110-1301, USA.
18  *
19  * Authors:
20  *	Ryan Lortie <desrt@desrt.ca>
21  */
22 
23 #ifndef __gdesktop_enums_h__
24 #define __gdesktop_enums_h__
25 
26 typedef enum
27 {
28   G_DESKTOP_PROXY_MODE_NONE,
29   G_DESKTOP_PROXY_MODE_MANUAL,
30   G_DESKTOP_PROXY_MODE_AUTO
31 } GDesktopProxyMode;
32 
33 typedef enum
34 {
35   G_DESKTOP_TOOLBAR_STYLE_BOTH,
36   G_DESKTOP_TOOLBAR_STYLE_BOTH_HORIZ,
37   G_DESKTOP_TOOLBAR_STYLE_ICONS,
38   G_DESKTOP_TOOLBAR_STYLE_TEXT
39 } GDesktopToolbarStyle;
40 
41 typedef enum
42 {
43   G_DESKTOP_TOOLBAR_ICON_SIZE_SMALL,
44   G_DESKTOP_TOOLBAR_ICON_SIZE_LARGE
45 } GDesktopToolbarIconSize;
46 
47 typedef enum
48 {
49   G_DESKTOP_BACKGROUND_STYLE_NONE,
50   G_DESKTOP_BACKGROUND_STYLE_WALLPAPER,
51   G_DESKTOP_BACKGROUND_STYLE_CENTERED,
52   G_DESKTOP_BACKGROUND_STYLE_SCALED,
53   G_DESKTOP_BACKGROUND_STYLE_STRETCHED,
54   G_DESKTOP_BACKGROUND_STYLE_ZOOM,
55   G_DESKTOP_BACKGROUND_STYLE_SPANNED
56 } GDesktopBackgroundStyle;
57 
58 typedef enum
59 {
60   G_DESKTOP_BACKGROUND_SHADING_SOLID,
61   G_DESKTOP_BACKGROUND_SHADING_VERTICAL,
62   G_DESKTOP_BACKGROUND_SHADING_HORIZONTAL
63 } GDesktopBackgroundShading;
64 
65 typedef enum
66 {
67   G_DESKTOP_MOUSE_DWELL_MODE_WINDOW,
68   G_DESKTOP_MOUSE_DWELL_MODE_GESTURE
69 } GDesktopMouseDwellMode;
70 
71 typedef enum
72 {
73   G_DESKTOP_MOUSE_DWELL_DIRECTION_LEFT,
74   G_DESKTOP_MOUSE_DWELL_DIRECTION_RIGHT,
75   G_DESKTOP_MOUSE_DWELL_DIRECTION_UP,
76   G_DESKTOP_MOUSE_DWELL_DIRECTION_DOWN
77 } GDesktopMouseDwellDirection;
78 
79 typedef enum
80 {
81   G_DESKTOP_CLOCK_FORMAT_24H,
82   G_DESKTOP_CLOCK_FORMAT_12H
83 } GDesktopClockFormat;
84 
85 typedef enum
86 {
87   G_DESKTOP_SCREENSAVER_MODE_BLANK_ONLY,
88   G_DESKTOP_SCREENSAVER_MODE_RANDOM,
89   G_DESKTOP_SCREENSAVER_MODE_SINGLE
90 } GDesktopScreensaverMode;
91 
92 typedef enum
93 {
94   G_DESKTOP_MAGNIFIER_MOUSE_TRACKING_MODE_NONE,
95   G_DESKTOP_MAGNIFIER_MOUSE_TRACKING_MODE_CENTERED,
96   G_DESKTOP_MAGNIFIER_MOUSE_TRACKING_MODE_PROPORTIONAL,
97   G_DESKTOP_MAGNIFIER_MOUSE_TRACKING_MODE_PUSH
98 } GDesktopMagnifierMouseTrackingMode;
99 
100 typedef enum
101 {
102   G_DESKTOP_MAGNIFIER_FOCUS_TRACKING_MODE_NONE,
103   G_DESKTOP_MAGNIFIER_FOCUS_TRACKING_MODE_CENTERED,
104   G_DESKTOP_MAGNIFIER_FOCUS_TRACKING_MODE_PROPORTIONAL,
105   G_DESKTOP_MAGNIFIER_FOCUS_TRACKING_MODE_PUSH
106 } GDesktopMagnifierFocusTrackingMode;
107 
108 typedef enum
109 {
110   G_DESKTOP_MAGNIFIER_CARET_TRACKING_MODE_NONE,
111   G_DESKTOP_MAGNIFIER_CARET_TRACKING_MODE_CENTERED,
112   G_DESKTOP_MAGNIFIER_CARET_TRACKING_MODE_PROPORTIONAL,
113   G_DESKTOP_MAGNIFIER_CARET_TRACKING_MODE_PUSH
114 } GDesktopMagnifierCaretTrackingMode;
115 typedef enum
116 {
117   G_DESKTOP_MAGNIFIER_SCREEN_POSITION_NONE,
118   G_DESKTOP_MAGNIFIER_SCREEN_POSITION_FULL_SCREEN,
119   G_DESKTOP_MAGNIFIER_SCREEN_POSITION_TOP_HALF,
120   G_DESKTOP_MAGNIFIER_SCREEN_POSITION_BOTTOM_HALF,
121   G_DESKTOP_MAGNIFIER_SCREEN_POSITION_LEFT_HALF,
122   G_DESKTOP_MAGNIFIER_SCREEN_POSITION_RIGHT_HALF,
123 } GDesktopMagnifierScreenPosition;
124 
125 typedef enum
126 {
127   G_DESKTOP_TITLEBAR_ACTION_TOGGLE_SHADE,
128   G_DESKTOP_TITLEBAR_ACTION_TOGGLE_MAXIMIZE,
129   G_DESKTOP_TITLEBAR_ACTION_TOGGLE_MAXIMIZE_HORIZONTALLY,
130   G_DESKTOP_TITLEBAR_ACTION_TOGGLE_MAXIMIZE_VERTICALLY,
131   G_DESKTOP_TITLEBAR_ACTION_MINIMIZE,
132   G_DESKTOP_TITLEBAR_ACTION_NONE,
133   G_DESKTOP_TITLEBAR_ACTION_LOWER,
134   G_DESKTOP_TITLEBAR_ACTION_MENU,
135 } GDesktopTitlebarAction;
136 
137 typedef enum
138 {
139   G_DESKTOP_FOCUS_MODE_CLICK,
140   G_DESKTOP_FOCUS_MODE_SLOPPY,
141   G_DESKTOP_FOCUS_MODE_MOUSE,
142 } GDesktopFocusMode;
143 
144 typedef enum
145 {
146   G_DESKTOP_FOCUS_NEW_WINDOWS_SMART,
147   G_DESKTOP_FOCUS_NEW_WINDOWS_STRICT,
148 } GDesktopFocusNewWindows;
149 
150 typedef enum
151 {
152   G_DESKTOP_VISUAL_BELL_FULLSCREEN_FLASH,
153   G_DESKTOP_VISUAL_BELL_FRAME_FLASH,
154 } GDesktopVisualBellType;
155 
156 typedef enum
157 {
158     G_DESKTOP_LOCATION_ACCURACY_LEVEL_COUNTRY,
159     G_DESKTOP_LOCATION_ACCURACY_LEVEL_CITY,
160     G_DESKTOP_LOCATION_ACCURACY_LEVEL_NEIGHBORHOOD,
161     G_DESKTOP_LOCATION_ACCURACY_LEVEL_STREET,
162     G_DESKTOP_LOCATION_ACCURACY_LEVEL_EXACT
163 } GDesktopLocationAccuracyLevel;
164 
165 typedef enum
166 {
167   G_DESKTOP_TOUCHPAD_HANDEDNESS_RIGHT,
168   G_DESKTOP_TOUCHPAD_HANDEDNESS_LEFT,
169   G_DESKTOP_TOUCHPAD_HANDEDNESS_MOUSE
170 } GDesktopTouchpadHandedness;
171 
172 typedef enum
173 {
174   G_DESKTOP_TOUCHPAD_CLICK_METHOD_DEFAULT,
175   G_DESKTOP_TOUCHPAD_CLICK_METHOD_NONE,
176   G_DESKTOP_TOUCHPAD_CLICK_METHOD_AREAS,
177   G_DESKTOP_TOUCHPAD_CLICK_METHOD_FINGERS
178 } GDesktopTouchpadClickMethod;
179 
180 typedef enum
181 {
182   G_DESKTOP_TOUCHPAD_BUTTON_TAP_MAP_DEFAULT,
183   G_DESKTOP_TOUCHPAD_BUTTON_TAP_MAP_LRM,
184   G_DESKTOP_TOUCHPAD_BUTTON_TAP_MAP_LMR
185 } GDesktopTouchpadTapButtonMap;
186 
187 typedef enum
188 {
189   G_DESKTOP_DEVICE_SEND_EVENTS_ENABLED,
190   G_DESKTOP_DEVICE_SEND_EVENTS_DISABLED,
191   G_DESKTOP_DEVICE_SEND_EVENTS_DISABLED_ON_EXTERNAL_MOUSE
192 } GDesktopDeviceSendEvents;
193 
194 typedef enum
195 {
196   G_DESKTOP_TABLET_MAPPING_ABSOLUTE,
197   G_DESKTOP_TABLET_MAPPING_RELATIVE
198 } GDesktopTabletMapping;
199 
200 typedef enum
201 {
202   G_DESKTOP_PAD_BUTTON_ACTION_NONE,
203   G_DESKTOP_PAD_BUTTON_ACTION_HELP,
204   G_DESKTOP_PAD_BUTTON_ACTION_SWITCH_MONITOR,
205   G_DESKTOP_PAD_BUTTON_ACTION_KEYBINDING
206 } GDesktopPadButtonAction;
207 
208 typedef enum
209 {
210   G_DESKTOP_STYLUS_BUTTON_ACTION_DEFAULT,
211   G_DESKTOP_STYLUS_BUTTON_ACTION_MIDDLE,
212   G_DESKTOP_STYLUS_BUTTON_ACTION_RIGHT,
213   G_DESKTOP_STYLUS_BUTTON_ACTION_BACK,
214   G_DESKTOP_STYLUS_BUTTON_ACTION_FORWARD
215 } GDesktopStylusButtonAction;
216 
217 typedef enum
218 {
219   G_DESKTOP_POINTER_ACCEL_PROFILE_DEFAULT,
220   G_DESKTOP_POINTER_ACCEL_PROFILE_FLAT,
221   G_DESKTOP_POINTER_ACCEL_PROFILE_ADAPTIVE
222 } GDesktopPointerAccelProfile;
223 
224 typedef enum
225 {
226   G_DESKTOP_USB_PROTECTION_LOCKSCREEN,
227   G_DESKTOP_USB_PROTECTION_ALWAYS
228 } GDesktopUsbProtection;
229 
230 typedef enum
231 {
232   G_DESKTOP_FONT_ANTIALIASING_MODE_NONE,
233   G_DESKTOP_FONT_ANTIALIASING_MODE_GRAYSCALE,
234   G_DESKTOP_FONT_ANTIALIASING_MODE_RGBA,
235 } GDesktopFontAntialiasingMode;
236 
237 typedef enum
238 {
239   G_DESKTOP_FONT_HINTING_NONE,
240   G_DESKTOP_FONT_HINTING_SLIGHT,
241   G_DESKTOP_FONT_HINTING_MEDIUM,
242   G_DESKTOP_FONT_HINTING_FULL,
243 } GDesktopFontHinting;
244 
245 typedef enum
246 {
247   G_DESKTOP_FONT_RGBA_ORDER_RGBA,
248   G_DESKTOP_FONT_RGBA_ORDER_RGB,
249   G_DESKTOP_FONT_RGBA_ORDER_BGR,
250   G_DESKTOP_FONT_RGBA_ORDER_VRGB,
251   G_DESKTOP_FONT_RGBA_ORDER_VBGR,
252 } GDesktopFontRgbaOrder;
253 
254 #endif /* __gdesktop_enums_h__ */
255