1 2 #define COLOR_BLACK 0xff000000 3 #define COLOR_WHITE 0xffffffff 4 5 #define RGB_COLOR_HIGHLIGH RGB(0, 122, 204) 6 #define RGB_COLOR_BLUE RGB(0, 100, 255) 7 #define RGB_COLOR_WHITE RGB(255, 255, 255) 8 #define RGB_COLOR_BLACK RGB(0, 0, 0) 9 #define RGB_COLOR_GRAY RGB(100, 100, 100) 10 #define RGB_BUTTON_FOCUS RGB(0, 80, 219) 11 12 #define COLOR_REQUIRED_ASTERISK RGB(255, 0, 0) 13 14 #define KEY_STATE_DOWN 0x8000 15 16 #define DEFAULT_DPI_96 96 17 #define DEFAULT_TEXT_SCALER 100 18 19 #define MEDIUM_FONT_PT_SIZE 11 20 #define NORMAL_FONT_PT_SIZE 8 21 #define ASTERISK_FONT_PT_SIZE 13 22 #define VIEW_HEADER_FONT_PT_SIZE 12 23 24 #define TITLE_FONT_HEIGHT 20 25 #define TYNY_FONT_HEIGHT 12 26 27 #define DEFAULT_DLG_FONT_POINT_SIZE 8 28 29 enum WINDOWS_USER_MESSAGES { 30 GUIX_READY = WM_USER, 31 GUIX_DIRTY, 32 STUDIO_TEST, 33 USR_MSG_CHECK_STATE_CHANGE, 34 USR_MSG_NODE_SELECT, 35 USR_MSG_REBUILD_STIRNG_ITEMS, 36 USR_MSG_UPDATE_STRING_TABLE_FONTS, 37 USR_MSG_OPEN_RESOURCE_ITEM, 38 USR_MSG_REPO_CLONE_MSG_UPDATE, 39 USR_MSG_DIALOG_VISIBLE 40 }; 41 42 enum WindowIds { 43 TARGET_FRAME_ID = 8000, 44 TARGET_TOOLBAR_ID 45 }; 46 47 enum TARGET_CPU { 48 CPU_GENERIC = 0, 49 CPU_SYNERGY, 50 CPU_RZ, 51 CPU_ST_CHROMEART, 52 CPU_RA, 53 CPU_RX 54 }; 55 56 enum TARGET_TOOLS { 57 TOOLS_GENERIC = 0, 58 TOOLS_IAR, 59 TOOLS_GNU, 60 TOOLS_CCRX, 61 TOOLS_KEIL, 62 TOOLS_ARM, 63 TOOLS_MULTI, 64 TOOLS_CODE_WARRIOR, 65 TOOLS_MICROCHIP 66 }; 67 68 // Define GUIX versions. 69 70 #define GX_WHITESPACE_IS_UBYTE 50500 71 #define GX_VERSION_STRING_LENGTH_FIX 50600 72 #define GX_VERSION_DUPLICATE_BINRES_DATA_FIX 50600 73 #define GX_VERSION_3BIT_GLYPH_DRAW_SUPPORT 50600 74 75 #define GX_VERSION_BINRES_DATA_ALIGNMENT_FIX 50601 76 77 //Not generate system resource ids to generated resource header for new version GUIX 78 #define GX_VERSION_RESOURCE_ID_GENERATE_FIX 60000 79 80 #define GX_VERSION_GEN_LINE_BREAK_STATUS 60001 81 #define GX_VERSION_BINRES_FONT_ALIGNMENT_FIX 60002 82 83 #define GX_VERSION_DISPLAY_ROTATION 60103 84 #define GX_VERSION_8BIT_PALETTE_DISPLAY_ROTATION 60104 85 86 #define GX_VERSION_SCREEN_ROTATION_DEFS 60105 // switch to GX_SCREEN_ROTATON_NONE, GX_SCREEN_ROTATION_FLIP in specs file 87 #define GX_VERSION_PIXELMAP_ROTATION_FLAGS_FIX 60105 // change pixelmap flags definitions to remove hard reference to 90/270, use CW/CCW 88 89 #define GX_VERSION_WITH_GENERIC_SCROLL_WHEEL 60107 90 91 // The 6.1.6 GUIX release is decided as official 92 // ssp 2.0 release. For this release we no longer 93 // require synergy custom fonts when running at 94 // 8bpp palette mode, just use standard system fonts. 95 96 #define GX_VERSION_SYNERGY_GLYPH_GEN_CHANGE 60106 // stop using custom synergy fonts, just use software glyph drawing 97 98 #define GX_VERSION_WITH_GENERIC_SCROLL_WHEEL 60107 99 100 #define GX_VERSION_USE_DAVE2D_PNG_DRAW 60108 // Implement custom PNG decode to produce dave2d compatible pixelmap 101 102 #define GX_VERSION_BIDI_TEXT_BASE_DIRECTION_FIX 60110 103 104 #define GX_VERSION_RADIAL_SLIDER_NEEDLE_OFFSET_CHANGE 60110 105 106 // Define GUIX Studio versions. 107 #define STUDIO_VERSION_USE_INTERNAL_SYSTEM_PNG_DATA 6010501 // Support using internally linked system png data. 108 109 // Define project versions. 110 #define PROJECT_VERSION_WRITE_COLOR_FORMAT_NAME 56 // Generate color format names to XML file instead of intege values. 111 112 #define PROJECT_VERSION_INITIAL_RESOURCE_XML 56 // The first version of resource XML file.