xref: /haiku/src/preferences/screen/Constants.h (revision c5d80d47d8ede71277f5285506c63496fd250747)
1a10cf76eSAxel Dörfler /*
2*c5d80d47SAxel Dörfler  * Copyright 2001-2006, Haiku.
3a10cf76eSAxel Dörfler  * Distributed under the terms of the MIT License.
4a10cf76eSAxel Dörfler  *
5a10cf76eSAxel Dörfler  * Authors:
6a10cf76eSAxel Dörfler  *		Rafael Romo
7a10cf76eSAxel Dörfler  *		Stefano Ceccherini (burton666@libero.it)
8a10cf76eSAxel Dörfler  */
9a10cf76eSAxel Dörfler #ifndef CONSTANTS_H
10a10cf76eSAxel Dörfler #define CONSTANTS_H
11a10cf76eSAxel Dörfler 
12a10cf76eSAxel Dörfler // Messages
13a10cf76eSAxel Dörfler static const uint32 WORKSPACE_CHECK_MSG = 'wchk';
14df3f5bacSStephan Aßmus static const uint32 BUTTON_LAUNCH_BACKGROUNDS_MSG = 'blbk';
15a10cf76eSAxel Dörfler static const uint32 BUTTON_DEFAULTS_MSG = 'bdef';
16a10cf76eSAxel Dörfler static const uint32 BUTTON_REVERT_MSG = 'brev';
17a10cf76eSAxel Dörfler static const uint32 BUTTON_APPLY_MSG = 'bapl';
18a10cf76eSAxel Dörfler static const uint32 BUTTON_DONE_MSG = 'bdon';
19a10cf76eSAxel Dörfler static const uint32 BUTTON_CANCEL_MSG = 'bcnc';
20a10cf76eSAxel Dörfler static const uint32 BUTTON_KEEP_MSG = 'bkep';
21a10cf76eSAxel Dörfler static const uint32 POP_WORKSPACE_CHANGED_MSG = 'pwsc';
22a10cf76eSAxel Dörfler static const uint32 POP_RESOLUTION_MSG = 'pres';
23a10cf76eSAxel Dörfler static const uint32 POP_COLORS_MSG = 'pclr';
24a10cf76eSAxel Dörfler static const uint32 POP_REFRESH_MSG = 'prfr';
25a10cf76eSAxel Dörfler static const uint32 POP_OTHER_REFRESH_MSG = 'porf';
26a10cf76eSAxel Dörfler static const uint32 POP_COMBINE_DISPLAYS_MSG = 'pcdi';
27a10cf76eSAxel Dörfler static const uint32 POP_SWAP_DISPLAYS_MSG = 'psdi';
28a10cf76eSAxel Dörfler static const uint32 POP_USE_LAPTOP_PANEL_MSG = 'pulp';
29a10cf76eSAxel Dörfler static const uint32 POP_TV_STANDARD_MSG = 'ptvs';
30a10cf76eSAxel Dörfler static const uint32 UPDATE_DESKTOP_COLOR_MSG = 'udsc';
31a10cf76eSAxel Dörfler static const uint32 UPDATE_DESKTOP_MSG = 'udsk';
32a10cf76eSAxel Dörfler static const uint32 SLIDER_MODIFICATION_MSG = 'sldm';
33a10cf76eSAxel Dörfler static const uint32 SLIDER_INVOKE_MSG = 'sldi';
34a10cf76eSAxel Dörfler static const uint32 SET_INITIAL_MODE_MSG = 'sinm';
35a10cf76eSAxel Dörfler static const uint32 SET_CUSTOM_REFRESH_MSG = 'scrf';
36a10cf76eSAxel Dörfler static const uint32 DIM_COUNT_MSG = 'scrf';
37a10cf76eSAxel Dörfler static const uint32 MAKE_INITIAL_MSG = 'mkin';
38a10cf76eSAxel Dörfler 
39a10cf76eSAxel Dörfler // Constants
40*c5d80d47SAxel Dörfler extern const char* kBackgroundsSignature;
41*c5d80d47SAxel Dörfler 
42a10cf76eSAxel Dörfler static const int32 gMinRefresh = 45;	// This is the minimum selectable refresh
43a10cf76eSAxel Dörfler static const int32 gMaxRefresh = 140;	// This is the maximum selectable refresh
44a10cf76eSAxel Dörfler 
45a10cf76eSAxel Dörfler #endif	/* CONSTANTS_H */
46