1a10cf76eSAxel Dörfler /* 2c5d80d47SAxel 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 12c5d10f7aSAxel Dörfler 13b8a61399SBrian Hill #include <ScreenDefs.h> 14c5d10f7aSAxel Dörfler #include <SupportDefs.h> 15c5d10f7aSAxel Dörfler 16c5d10f7aSAxel Dörfler 17a10cf76eSAxel Dörfler // Messages 18a10cf76eSAxel Dörfler static const uint32 WORKSPACE_CHECK_MSG = 'wchk'; 19df3f5bacSStephan Aßmus static const uint32 BUTTON_LAUNCH_BACKGROUNDS_MSG = 'blbk'; 20a10cf76eSAxel Dörfler static const uint32 BUTTON_DEFAULTS_MSG = 'bdef'; 21a10cf76eSAxel Dörfler static const uint32 BUTTON_REVERT_MSG = 'brev'; 22a10cf76eSAxel Dörfler static const uint32 BUTTON_APPLY_MSG = 'bapl'; 23a10cf76eSAxel Dörfler static const uint32 BUTTON_DONE_MSG = 'bdon'; 24a10cf76eSAxel Dörfler static const uint32 BUTTON_KEEP_MSG = 'bkep'; 2510e9b12fSWaldemar Kornewald static const uint32 BUTTON_UNDO_MSG = 'bund'; 26a10cf76eSAxel Dörfler static const uint32 POP_RESOLUTION_MSG = 'pres'; 27a10cf76eSAxel Dörfler static const uint32 POP_COLORS_MSG = 'pclr'; 28a10cf76eSAxel Dörfler static const uint32 POP_REFRESH_MSG = 'prfr'; 29a10cf76eSAxel Dörfler static const uint32 POP_OTHER_REFRESH_MSG = 'porf'; 30a10cf76eSAxel Dörfler static const uint32 POP_COMBINE_DISPLAYS_MSG = 'pcdi'; 31a10cf76eSAxel Dörfler static const uint32 POP_SWAP_DISPLAYS_MSG = 'psdi'; 32a10cf76eSAxel Dörfler static const uint32 POP_USE_LAPTOP_PANEL_MSG = 'pulp'; 33a10cf76eSAxel Dörfler static const uint32 POP_TV_STANDARD_MSG = 'ptvs'; 34b8a61399SBrian Hill //static const uint32 UPDATE_DESKTOP_COLOR_MSG = 'udsc'; 35b8a61399SBrian Hill // This is now defined in headers/private/preferences/ScreenDefs.h 36a10cf76eSAxel Dörfler static const uint32 UPDATE_DESKTOP_MSG = 'udsk'; 37a10cf76eSAxel Dörfler static const uint32 SLIDER_MODIFICATION_MSG = 'sldm'; 38a10cf76eSAxel Dörfler static const uint32 SLIDER_INVOKE_MSG = 'sldi'; 39*3a2b67b5SAdrien Destugues static const uint32 SLIDER_BRIGHTNESS_MSG = 'brig'; 40a10cf76eSAxel Dörfler static const uint32 SET_CUSTOM_REFRESH_MSG = 'scrf'; 41a10cf76eSAxel Dörfler static const uint32 DIM_COUNT_MSG = 'scrf'; 42a10cf76eSAxel Dörfler static const uint32 MAKE_INITIAL_MSG = 'mkin'; 43b21d610eSAxel Dörfler static const uint32 kMsgWorkspaceLayoutChanged = 'wslc'; 44b21d610eSAxel Dörfler static const uint32 kMsgWorkspaceColumnsChanged = 'wscc'; 45b21d610eSAxel Dörfler static const uint32 kMsgWorkspaceRowsChanged = 'wsrc'; 46a10cf76eSAxel Dörfler 47a10cf76eSAxel Dörfler // Constants 48c5d80d47SAxel Dörfler extern const char* kBackgroundsSignature; 49c5d80d47SAxel Dörfler 50a10cf76eSAxel Dörfler static const int32 gMinRefresh = 45; // This is the minimum selectable refresh 51a10cf76eSAxel Dörfler static const int32 gMaxRefresh = 140; // This is the maximum selectable refresh 52a10cf76eSAxel Dörfler 53a10cf76eSAxel Dörfler #endif /* CONSTANTS_H */ 54