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 // ------------------------------------------------------ 36 // PoorMan Window 37 extern const char* STR_APP_SIG; 38 extern char* STR_APP_NAME; 39 extern const char* STR_ERR_WEB_DIR; // Alert Box 40 extern const char* STR_ERR_CANT_START; 41 42 extern const char* STR_MNU_FILE; 43 extern const char* STR_MNU_FILE_SAVE_AS; 44 extern const char* STR_MNU_FILE_SAVE_SELECTION; 45 extern const char* STR_MNU_FILE_ABOUT; 46 extern const char* STR_MNU_FILE_QUIT; 47 extern const char* STR_MNU_EDIT; 48 extern const char* STR_MNU_EDIT_COPY; 49 extern const char* STR_MNU_EDIT_SELECT_ALL; 50 extern const char* STR_MNU_EDIT_PREF; 51 extern const char* STR_MNU_CTRL; 52 extern const char* STR_MNU_CTRL_RUN_SERVER; 53 extern const char* STR_MNU_CTRL_CLEAR_HIT_COUNTER; 54 extern const char* STR_MNU_CTRL_CLEAR_CONSOLE; 55 extern const char* STR_MNU_CTRL_CLEAR_LOG_FILE; 56 57 extern const char* STR_FILEPANEL_SAVE_CONSOLE; 58 extern const char* STR_FILEPANEL_SAVE_CONSOLE_SELECTION; 59 extern const char* STR_TXT_VIEW; 60 61 // ------------------------------------------------------ 62 // Preferences Window 63 extern char* STR_WIN_NAME_PREF; 64 extern const char* STR_SETTINGS_FILE_PATH; 65 extern const char* STR_SETTINGS_NEW_FILE_PATH; 66 67 68 extern const char* STR_TAB_SITE; 69 extern const char* STR_BBX_LOCATION; 70 extern const char* STR_TXT_DIRECTORY; 71 extern const char* STR_BTN_DIRECTORY; 72 extern const char* STR_TXT_INDEX; 73 extern const char* STR_BBX_OPTIONS; 74 extern const char* STR_CBX_DIR_LIST; 75 extern const char* STR_CBX_DIR_LIST_LABEL; 76 extern const char* STR_FILEPANEL_SELECT_WEB_DIR; 77 78 extern const char* STR_TAB_LOGGING; 79 extern const char* STR_BBX_CONSOLE_LOGGING; 80 extern const char* STR_CBX_LOG_CONSOLE; 81 extern const char* STR_BBX_FILE_LOGGING; 82 extern const char* STR_CBX_LOG_FILE; 83 extern const char* STR_TXT_LOG_FILE_NAME; 84 extern const char* STR_BTN_CREATE_LOG_FILE; 85 extern const char* STR_FILEPANEL_CREATE_LOG_FILE; 86 87 extern const char* STR_TAB_ADVANCED; 88 extern const char* STR_BBX_CONNECTION; 89 extern const char* STR_SLD_LABEL; 90 extern char* STR_SLD_STATUS_LABEL; 91 92 extern const char CMD_FILE_SAVE_AS; 93 extern const char CMD_FILE_QUIT; 94 extern const char CMD_EDIT_COPY; 95 extern const char CMD_EDIT_SELECT_ALL; 96 97 extern const char* STR_ABOUT_TITLE; 98 extern const char* STR_ABOUT_DESC; 99 extern const char* STR_ABOUT_BUTTON; 100 101 102 /* Colors */ 103 extern const rgb_color WHITE; 104 extern const rgb_color GRAY; 105 extern const rgb_color BACKGROUND_COLOR; 106 extern const rgb_color BLACK; 107 #endif 108