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 12*c5d10f7aSAxel Dörfler 13*c5d10f7aSAxel Dörfler #include <SupportDefs.h> 14*c5d10f7aSAxel Dörfler 15*c5d10f7aSAxel Dörfler 16a10cf76eSAxel Dörfler // Messages 17a10cf76eSAxel Dörfler static const uint32 WORKSPACE_CHECK_MSG = 'wchk'; 18df3f5bacSStephan Aßmus static const uint32 BUTTON_LAUNCH_BACKGROUNDS_MSG = 'blbk'; 19a10cf76eSAxel Dörfler static const uint32 BUTTON_DEFAULTS_MSG = 'bdef'; 20a10cf76eSAxel Dörfler static const uint32 BUTTON_REVERT_MSG = 'brev'; 21a10cf76eSAxel Dörfler static const uint32 BUTTON_APPLY_MSG = 'bapl'; 22a10cf76eSAxel Dörfler static const uint32 BUTTON_DONE_MSG = 'bdon'; 23a10cf76eSAxel Dörfler static const uint32 BUTTON_KEEP_MSG = 'bkep'; 24a10cf76eSAxel Dörfler static const uint32 POP_WORKSPACE_CHANGED_MSG = 'pwsc'; 25a10cf76eSAxel Dörfler static const uint32 POP_RESOLUTION_MSG = 'pres'; 26a10cf76eSAxel Dörfler static const uint32 POP_COLORS_MSG = 'pclr'; 27a10cf76eSAxel Dörfler static const uint32 POP_REFRESH_MSG = 'prfr'; 28a10cf76eSAxel Dörfler static const uint32 POP_OTHER_REFRESH_MSG = 'porf'; 29a10cf76eSAxel Dörfler static const uint32 POP_COMBINE_DISPLAYS_MSG = 'pcdi'; 30a10cf76eSAxel Dörfler static const uint32 POP_SWAP_DISPLAYS_MSG = 'psdi'; 31a10cf76eSAxel Dörfler static const uint32 POP_USE_LAPTOP_PANEL_MSG = 'pulp'; 32a10cf76eSAxel Dörfler static const uint32 POP_TV_STANDARD_MSG = 'ptvs'; 33a10cf76eSAxel Dörfler static const uint32 UPDATE_DESKTOP_COLOR_MSG = 'udsc'; 34a10cf76eSAxel Dörfler static const uint32 UPDATE_DESKTOP_MSG = 'udsk'; 35a10cf76eSAxel Dörfler static const uint32 SLIDER_MODIFICATION_MSG = 'sldm'; 36a10cf76eSAxel Dörfler static const uint32 SLIDER_INVOKE_MSG = 'sldi'; 37a10cf76eSAxel Dörfler static const uint32 SET_INITIAL_MODE_MSG = 'sinm'; 38a10cf76eSAxel Dörfler static const uint32 SET_CUSTOM_REFRESH_MSG = 'scrf'; 39a10cf76eSAxel Dörfler static const uint32 DIM_COUNT_MSG = 'scrf'; 40a10cf76eSAxel Dörfler static const uint32 MAKE_INITIAL_MSG = 'mkin'; 41a10cf76eSAxel Dörfler 42a10cf76eSAxel Dörfler // Constants 43c5d80d47SAxel Dörfler extern const char* kBackgroundsSignature; 44c5d80d47SAxel Dörfler 45a10cf76eSAxel Dörfler static const int32 gMinRefresh = 45; // This is the minimum selectable refresh 46a10cf76eSAxel Dörfler static const int32 gMaxRefresh = 140; // This is the maximum selectable refresh 47a10cf76eSAxel Dörfler 48a10cf76eSAxel Dörfler #endif /* CONSTANTS_H */ 49