1 #ifndef CONSTANTS_H 2 #define CONSTANTS_H 3 4 #include <GraphicsDefs.h> 5 6 // ------------------------------------------------------ 7 // BMessages 8 const int32 MSG_MENU_FILE_SAVE_AS = 'oMSA'; 9 const int32 MSG_MENU_FILE_SAVE_SELECTION = 'oMSS'; 10 const int32 MSG_MENU_EDIT_COPY = 'oMCP'; 11 const int32 MSG_MENU_EDIT_SELECT_ALL = 'oMSE'; 12 const int32 MSG_MENU_EDIT_PREF = 'oMPR'; 13 const int32 MSG_MENU_CTRL_RUN = 'oMRN'; 14 const int32 MSG_MENU_CTRL_CLEAR_HIT = 'oMCH'; 15 const int32 MSG_MENU_CTRL_CLEAR_CONSOLE = 'oMCC'; 16 const int32 MSG_MENU_CTRL_CLEAR_LOG = 'oMCL'; 17 const int32 MSG_FILE_PANEL_SAVE_CONSOLE = 'oSAV'; 18 const int32 MSG_FILE_PANEL_SAVE_CONSOLE_SELECTION = 'SAVS'; 19 20 // BMessages Preferences Window 21 const int32 MSG_PREF_BTN_DONE = 'oPBD'; 22 const int32 MSG_PREF_BTN_CANCEL = 'oPBC'; 23 // Site Tab 24 const int32 MSG_PREF_SITE_BTN_SELECT = 'PSBS'; 25 const int32 MSG_PREF_SITE_CBX_INDEX = 'PSCI'; 26 const int32 MSG_FILE_PANEL_SELECT_WEB_DIR = 'oSWD'; 27 // Logging Tab 28 const int32 MSG_PREF_LOG_CBX_CONSOLE = 'PLCC'; 29 const int32 MSG_PREF_LOG_CBX_FILE = 'PLCF'; 30 const int32 MSG_PREF_LOG_BTN_CREATE_FILE = 'PLBF'; 31 const int32 MSG_FILE_PANEL_CREATE_LOG_FILE = 'oCLF'; 32 // Advanced Tab 33 const int32 MSG_PREF_ADV_SLD_MAX_CONNECTION = 'PASM'; 34 35 // BMessage Preferences File 36 const uint32 MSG_PREF_FILE = 'pref'; 37 38 //BMessage for Logger 39 const int32 MSG_LOG = 'logg'; 40 // ------------------------------------------------------ 41 // PoorMan Window 42 extern const char* STR_APP_SIG; 43 extern char* STR_APP_NAME; 44 extern const char* STR_ERR_WEB_DIR; // Alert Box 45 extern const char* STR_ERR_CANT_START; 46 extern const char* STR_DIR_CREATED; 47 48 extern const char* STR_MNU_FILE; 49 extern const char* STR_MNU_FILE_SAVE_AS; 50 extern const char* STR_MNU_FILE_SAVE_SELECTION; 51 extern const char* STR_MNU_FILE_ABOUT; 52 extern const char* STR_MNU_FILE_QUIT; 53 extern const char* STR_MNU_EDIT; 54 extern const char* STR_MNU_EDIT_COPY; 55 extern const char* STR_MNU_EDIT_SELECT_ALL; 56 extern const char* STR_MNU_EDIT_PREF; 57 extern const char* STR_MNU_CTRL; 58 extern const char* STR_MNU_CTRL_RUN_SERVER; 59 extern const char* STR_MNU_CTRL_CLEAR_HIT_COUNTER; 60 extern const char* STR_MNU_CTRL_CLEAR_CONSOLE; 61 extern const char* STR_MNU_CTRL_CLEAR_LOG_FILE; 62 63 extern const char* STR_FILEPANEL_SAVE_CONSOLE; 64 extern const char* STR_FILEPANEL_SAVE_CONSOLE_SELECTION; 65 extern const char* STR_TXT_VIEW; 66 67 // ------------------------------------------------------ 68 // Preferences Window 69 extern char* STR_WIN_NAME_PREF; 70 extern const char* STR_SETTINGS_FILE_NAME; 71 extern const char* STR_SETTINGS_NEW_FILE_NAME; 72 extern const char* STR_DEFAULT_WEB_DIRECTORY; 73 74 extern const char* STR_TAB_SITE; 75 extern const char* STR_BBX_LOCATION; 76 extern const char* STR_TXT_DIRECTORY; 77 extern const char* STR_BTN_DIRECTORY; 78 extern const char* STR_TXT_INDEX; 79 extern const char* STR_BBX_OPTIONS; 80 extern const char* STR_CBX_DIR_LIST; 81 extern const char* STR_CBX_DIR_LIST_LABEL; 82 extern const char* STR_FILEPANEL_SELECT_WEB_DIR; 83 84 extern const char* STR_TAB_LOGGING; 85 extern const char* STR_BBX_CONSOLE_LOGGING; 86 extern const char* STR_CBX_LOG_CONSOLE; 87 extern const char* STR_BBX_FILE_LOGGING; 88 extern const char* STR_CBX_LOG_FILE; 89 extern const char* STR_TXT_LOG_FILE_NAME; 90 extern const char* STR_BTN_CREATE_LOG_FILE; 91 extern const char* STR_FILEPANEL_CREATE_LOG_FILE; 92 93 extern const char* STR_TAB_ADVANCED; 94 extern const char* STR_BBX_CONNECTION; 95 extern const char* STR_SLD_LABEL; 96 extern char* STR_SLD_STATUS_LABEL; 97 98 extern const char CMD_FILE_SAVE_AS; 99 extern const char CMD_FILE_QUIT; 100 extern const char CMD_EDIT_COPY; 101 extern const char CMD_EDIT_SELECT_ALL; 102 103 extern const char* STR_ABOUT_TITLE; 104 extern const char* STR_ABOUT_DESC; 105 extern const char* STR_ABOUT_BUTTON; 106 107 108 /* Colors */ 109 extern const rgb_color WHITE; 110 extern const rgb_color GRAY; 111 extern const rgb_color BACKGROUND_COLOR; 112 extern const rgb_color BLACK; 113 extern const rgb_color RED; 114 extern const rgb_color GREEN; 115 #endif 116