1/* 2 * Copyright 2002-2006, Haiku. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * DarkWyrm (darkwyrm@earthlink.net) 7 */ 8#ifndef DEFS_H_ 9#define DEFS_H_ 10 11// If these paths are changed, ensure that they all end in a '/' character 12/* 13#define SETTINGS_DIR "/boot/home/config/settings/app_server/" 14#define COLOR_SET_DIR "/boot/home/config/settings/color_sets/" 15#define CURSOR_SET_DIR "/boot/home/config/settings/cursor_sets/" 16#define DECORATORS_DIR "/boot/home/config/add-ons/decorators/" 17#define COLOR_SETTINGS_NAME "system_colors" 18*/ 19 20#define APPEARANCE_APP_SIGNATURE "application/x-vnd.Haiku-Appearance" 21 22// message commands 23#define APPLY_SETTINGS 'aply' 24#define TRY_SETTINGS 'trys' 25 26#define ATTRIBUTE_CHOSEN 'atch' 27#define SET_COLOR 'sclr' 28#define SET_CURRENT_COLOR 'sccl' 29#define UPDATE_COLOR 'upcl' 30#define DECORATOR_CHOSEN 'dcch' 31#define UPDATE_DECORATOR 'updc' 32#define UPDATE_COLOR_SET 'upcs' 33 34#define SET_DECORATOR 'sdec' 35#define GET_DECORATOR 'gdec' 36 37#define SET_UI_COLORS 'suic' 38#define PREFS_CHOSEN 'prch' 39 40// constants 41static const char* const kRGBColor = "RGBColor"; 42static const char* const kWhich = "which"; 43 44// user interface 45const uint32 kBorderSpace = 10; 46const uint32 kItemSpace = 7; 47 48#endif 49