xref: /haiku/src/preferences/screen/Constants.h (revision b8a6139981c9dc0e000d32c0a70f8e6f0681f721)
1 /*
2  * Copyright 2001-2006, Haiku.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Rafael Romo
7  *		Stefano Ceccherini (burton666@libero.it)
8  */
9 #ifndef CONSTANTS_H
10 #define CONSTANTS_H
11 
12 
13 #include <ScreenDefs.h>
14 #include <SupportDefs.h>
15 
16 
17 // Messages
18 static const uint32 WORKSPACE_CHECK_MSG = 'wchk';
19 static const uint32 BUTTON_LAUNCH_BACKGROUNDS_MSG = 'blbk';
20 static const uint32 BUTTON_DEFAULTS_MSG = 'bdef';
21 static const uint32 BUTTON_REVERT_MSG = 'brev';
22 static const uint32 BUTTON_APPLY_MSG = 'bapl';
23 static const uint32 BUTTON_DONE_MSG = 'bdon';
24 static const uint32 BUTTON_KEEP_MSG = 'bkep';
25 static const uint32 BUTTON_UNDO_MSG = 'bund';
26 static const uint32 POP_RESOLUTION_MSG = 'pres';
27 static const uint32 POP_COLORS_MSG = 'pclr';
28 static const uint32 POP_REFRESH_MSG = 'prfr';
29 static const uint32 POP_OTHER_REFRESH_MSG = 'porf';
30 static const uint32 POP_COMBINE_DISPLAYS_MSG = 'pcdi';
31 static const uint32 POP_SWAP_DISPLAYS_MSG = 'psdi';
32 static const uint32 POP_USE_LAPTOP_PANEL_MSG = 'pulp';
33 static const uint32 POP_TV_STANDARD_MSG = 'ptvs';
34 //static const uint32 UPDATE_DESKTOP_COLOR_MSG = 'udsc';
35 	// This is now defined in headers/private/preferences/ScreenDefs.h
36 static const uint32 UPDATE_DESKTOP_MSG = 'udsk';
37 static const uint32 SLIDER_MODIFICATION_MSG = 'sldm';
38 static const uint32 SLIDER_INVOKE_MSG = 'sldi';
39 static const uint32 SET_CUSTOM_REFRESH_MSG = 'scrf';
40 static const uint32 DIM_COUNT_MSG = 'scrf';
41 static const uint32 MAKE_INITIAL_MSG = 'mkin';
42 static const uint32 kMsgWorkspaceLayoutChanged = 'wslc';
43 static const uint32 kMsgWorkspaceColumnsChanged = 'wscc';
44 static const uint32 kMsgWorkspaceRowsChanged = 'wsrc';
45 
46 // Constants
47 extern const char* kBackgroundsSignature;
48 
49 static const int32 gMinRefresh = 45;	// This is the minimum selectable refresh
50 static const int32 gMaxRefresh = 140;	// This is the maximum selectable refresh
51 
52 #endif	/* CONSTANTS_H */
53