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