181586Sru/* 281586Sru * Copyright 2001-2006, Haiku. 31590Srgrimes * Distributed under the terms of the MIT License. 481586Sru * 5220201Semaste * Authors: 61590Srgrimes * Rafael Romo 71590Srgrimes * Stefano Ceccherini (burton666@libero.it) 81590Srgrimes */ 91590Srgrimes#ifndef CONSTANTS_H 101590Srgrimes#define CONSTANTS_H 111590Srgrimes 121590Srgrimes 131590Srgrimes#include <SupportDefs.h> 141590Srgrimes 151590Srgrimes 161590Srgrimes// Messages 171590Srgrimesstatic const uint32 WORKSPACE_CHECK_MSG = 'wchk'; 181590Srgrimesstatic const uint32 BUTTON_LAUNCH_BACKGROUNDS_MSG = 'blbk'; 191590Srgrimesstatic const uint32 BUTTON_DEFAULTS_MSG = 'bdef'; 201590Srgrimesstatic const uint32 BUTTON_REVERT_MSG = 'brev'; 211590Srgrimesstatic const uint32 BUTTON_APPLY_MSG = 'bapl'; 221590Srgrimesstatic const uint32 BUTTON_DONE_MSG = 'bdon'; 231590Srgrimesstatic const uint32 BUTTON_KEEP_MSG = 'bkep'; 241590Srgrimesstatic const uint32 BUTTON_UNDO_MSG = 'bund'; 251590Srgrimesstatic const uint32 POP_RESOLUTION_MSG = 'pres'; 261590Srgrimesstatic const uint32 POP_COLORS_MSG = 'pclr'; 271590Srgrimesstatic const uint32 POP_REFRESH_MSG = 'prfr'; 281590Srgrimesstatic const uint32 POP_OTHER_REFRESH_MSG = 'porf'; 291590Srgrimesstatic const uint32 POP_COMBINE_DISPLAYS_MSG = 'pcdi'; 301590Srgrimesstatic const uint32 POP_SWAP_DISPLAYS_MSG = 'psdi'; 311590Srgrimesstatic const uint32 POP_USE_LAPTOP_PANEL_MSG = 'pulp'; 321590Srgrimesstatic const uint32 POP_TV_STANDARD_MSG = 'ptvs'; 331590Srgrimesstatic const uint32 UPDATE_DESKTOP_COLOR_MSG = 'udsc'; 341590Srgrimesstatic const uint32 UPDATE_DESKTOP_MSG = 'udsk'; 351590Srgrimesstatic const uint32 SLIDER_MODIFICATION_MSG = 'sldm'; 361590Srgrimesstatic const uint32 SLIDER_INVOKE_MSG = 'sldi'; 371590Srgrimesstatic const uint32 SET_CUSTOM_REFRESH_MSG = 'scrf'; 381590Srgrimesstatic const uint32 DIM_COUNT_MSG = 'scrf'; 391590Srgrimesstatic const uint32 MAKE_INITIAL_MSG = 'mkin'; 401590Srgrimesstatic const uint32 kMsgWorkspaceLayoutChanged = 'wslc'; 411590Srgrimesstatic const uint32 kMsgWorkspaceColumnsChanged = 'wscc'; 421590Srgrimesstatic const uint32 kMsgWorkspaceRowsChanged = 'wsrc'; 431590Srgrimes 441590Srgrimes// Constants 451590Srgrimesextern const char* kBackgroundsSignature; 461590Srgrimes 471590Srgrimesstatic const int32 gMinRefresh = 45; // This is the minimum selectable refresh 481590Srgrimesstatic const int32 gMaxRefresh = 140; // This is the maximum selectable refresh 491590Srgrimes 501590Srgrimes#endif /* CONSTANTS_H */ 511590Srgrimes