- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
UiColorDefine.h
资源名称:SDK_M5661.rar [点击查看]
上传用户:hjhsjcl
上传日期:2020-09-25
资源大小:11378k
文件大小:10k
源码类别:
压缩解压
开发平台:
C++ Builder
- #ifndef _OLED_UI_COLOR_DEF_
- #define _OLED_UI_COLOR_DEF
- #include "IconDefine.h"
- //WHH #8 301_061226
- #define UI_FILST_LIGHT_START_ROW 35
- #define UI_FILST_LIGHT_START_COL 26
- #define UI_FILST_LIGHT_ROW 20
- #define UI_FILST_ROOT_ROW 36
- #define UI_FILST_ROOT_COL 0
- #define UI_FILST_COL 18
- #define UI_FILST_ROW 18
- #define UI_FILST_STRING_START 33
- #define UI_FILST_STRING_END 168
- #define UI_FILST_TREE_ROW 20
- #define UI_FILST_NUM 5
- #define UI_FILST_LIGHT_COLOT 0x3B9B
- #define UI_FILST_SELECT_ROW_START 36
- #define UI_FILST_SELECT_COL_START 42
- #define UI_FILST_SELECT_ROW_DIFF 64
- #define UI_FILST_SELECT_TITLE_ROW_START 16
- #define UI_FILST_SELECT_TITLE_COL_START 56
- #define UI_CLASSLST_SELECT_TITLE_ROW_START 20
- #define UI_CLASSLST_SELECT_TITLE_COL_START 56
- #define UI_CLASSLST_SELECT_ROW_START 36
- #define UI_CLASSLST_SELECT_COL_START 16
- #define UI_CLASSLST_SELECT_ROW_DIFF 20
- #define UI_CLASSLST_ROOT_ROW 36
- #define UI_CLASSLST_ROOT_COL 0
- #define UI_CLASSLST_NUM 5
- #define UI_CLASSLST_LIGHT_START_ROW 35
- #define UI_CLASSLST_LIGHT_START_COL 26
- #define UI_CLASSLST_LIGHT_ROW 20
- #define UI_CLASSLST_START_ROW 36
- #define UI_CLASSLST_LIGHT_ROW 20
- #define UI_CLASSLST_STRING_START 33
- #define UI_CLASSLST_STRING_END 168
- #define UI_CLASSLST_COL 18
- #define UI_CLASSLST_ROW 18
- #define UI_CLASSLST_TREE_ROW 20
- #define UI_TAG_BG_COLOR 0x23 //tne 2007/01/17 #2
- // WHH 070129(start)
- #define UI_STR_REVERSE( )
- {
- gxwFGColor=0x0000;
- gxwBGColor=0xFFFF;
- }
- #define UI_STR_UNREVERSE( )
- {
- gxwFGColor=0xFFFF;
- gxwBGColor=0x0000;
- }
- // WHH 070129(end)
- //WHH #8 301_061226
- #if(OLED_COLOR_FIELD_TYPE==OLED_FIELD_BGR565)
- #define OLED_RED 0x001F
- #define OLED_GREEN 0x07e0
- #define OLED_BLUE 0xF800
- #define OLED_LIGHT_BLUE 0xFF40
- #define OLED_R_MASK 0x001f
- #define OLED_G_MASK 0x07e0
- #define OLED_B_MASK 0XF800
- #define OLED_R_BITS 5
- #define OLED_G_BITS 6
- #define OLED_B_BITS 5
- #define OLED_R_OFFSET 0
- #define OLED_G_OFFSET 5
- #define OLED_B_OFFSET 11
- #else //OLED_COLOR_FIELD_TYPE==OLED_FIELD_RGB565
- #define OLED_RED 0xF800
- #define OLED_GREEN 0x07e0
- #define OLED_BLUE 0x001F
- #define OLED_LIGHT_BLUE 0x075F
- #define OLED_R_MASK 0XF800
- #define OLED_G_MASK 0x07e0
- #define OLED_B_MASK 0x001f
- #define OLED_R_BITS 5
- #define OLED_G_BITS 6
- #define OLED_B_BITS 5
- #define OLED_R_OFFSET 11
- #define OLED_G_OFFSET 5
- #define OLED_B_OFFSET 0
- #endif
- #define OLED_BLACK 0x0000
- #define OLED_WHITE 0xFFFF
- #define OLED_MENU_BG_COLOR 0x109D //tne 2007/01/06 #1
- #define OLED_BG_COLOR OLED_BLACK
- #define OLED_FG_COLOR OLED_WHITE
- //1 Ui Color definition
- #if(OLED_COLOR_FIELD_TYPE==OLED_FIELD_BGR565)
- #define UI_COLOR_PROGRESS_1 0x549F
- #define UI_COLOR_PROGRESS_2 0x515F
- #define UI_COLOR_PROGRESS_3 0x001F
- #define UI_COLOR_PROGRESS_BAR 0xFEBA
- #define UI_EQ_BAR_BLANK 0x528A
- #define UI_EQ_BAR_COLOR 0x4DDF
- #define UI_FM_FREQ_LINE_BG_COLOR 0xC7F6
- #define UI_FM_FREQ_LINE_FG_COLOR 0x001F
- #define UI_HOST_COPY_BAR_FG OLED_BLUE
- #define UI_HOST_COPY_BAR_BG OLED_WHITE
- #define UI_PLAY_PROGRESS_BAR_BG OLED_BLACK
- #define UI_PLAY_PROGRESS_BAR_FG OLED_WHITE
- #define UI_PLAY_PROGRESS_BAR_1 OLED_WHITE
- #define UI_PLAY_PROGRESS_BAR_2 0x515F
- #define UI_PLAY_PROGRESS_BAR_3 OLED_RED
- #define UI_HOST_PROGRESS_BAR_FG OLED_WHITE
- #define UI_HOST_PROGRESS_BAR_1 OLED_BLUE
- #else
- #define UI_COLOR_PROGRESS_1 0xFC8A
- #define UI_COLOR_PROGRESS_2 0xF94A
- #define UI_COLOR_PROGRESS_3 0xF800
- #define UI_COLOR_PROGRESS_BAR 0xEB5F
- #define UI_EQ_BAR_BLANK 0x528A
- #define UI_EQ_BAR_COLOR 0xFDC4
- #define UI_FM_FREQ_LINE_BG_COLOR 0xB7F8
- #define UI_FM_FREQ_LINE_FG_COLOR 0xF800
- #define UI_HOST_COPY_BAR_FG OLED_BLUE
- #define UI_HOST_COPY_BAR_BG OLED_WHITE
- #define UI_PLAY_PROGRESS_BAR_BG OLED_BLACK
- #define UI_PLAY_PROGRESS_BAR_FG OLED_WHITE
- #define UI_PLAY_PROGRESS_BAR_1 OLED_WHITE
- #define UI_PLAY_PROGRESS_BAR_2 0xF94A
- #define UI_PLAY_PROGRESS_BAR_3 OLED_RED
- #define UI_HOST_PROGRESS_BAR_FG OLED_WHITE
- #define UI_HOST_PROGRESS_BAR_1 OLED_BLUE
- #define UI_IM_TIME_NUM_PITCH (IM_TIME_NUMBER_1-IM_TIME_NUMBER_0)
- #define UI_IM_REPEAT_MODE_PITCH (IM_MUSIC_REPEAT_001_REPEAT1-IM_MUSIC_REPEAT_000_NORMAL)
- #define UI_IM_REPEAT_MODE_DIR_PITCH (IM_MUSIC_REPEAT_005_FOLDER_REPEATALL-IM_MUSIC_REPEAT_004_FOLDER_NORMAL)
- #define UI_IM_MUSIC_MP3_NUMBER_PITCH (IM_MUSIC_MP3_NUMBER_1-IM_MUSIC_MP3_NUMBER_0)
- #define UI_IM_MUSIC_SMALLNUMBER_PITCH (IM_MUSIC_SMALLNUMBER_1-IM_MUSIC_SMALLNUMBER_0)
- #define UI_IM_MOVIE_SMALLNUMBER_PITCH (IM_MOVIE_SMALLNUMBER_1-IM_MOVIE_SMALLNUMBER_0)
- #define UI_IM_EQ_PITCH (IM_MUSIC_EQ_002_POP-IM_MUSIC_EQ_001_NORMAL)
- #define UI_IM_PLABACKRATE_PITCH (IM_MUSIC_PLAYSPEED_001_114-IM_MUSIC_PLAYSPEED_000_100)
- #endif
- // Walace051027 #1 remove icon from Icondefine.h
- #define ICON_3D_H 7
- #define ICON_3D_W 15
- #define ICON_AB_REPEAT_H 7
- #define ICON_AB_REPEAT_W 16
- #define ICON_AB_REPEAT_PITCH (ICON_AB_REPEAT_N01_AB-ICON_AB_REPEAT_N00_A)
- #define ICON_ALI_LOGO_H 46
- #define ICON_ALI_LOGO_W 74
- #define ICON_BAT_H 7
- #define ICON_BAT_W 11
- //#define ICON_BAT_PITCH (ICON_BAT_LV1-ICON_BAT_LV0) // Jeff_310_061227
- #define IM_BATTERY_PITCH (IM_BATTERY_02-IM_BATTERY_01)
- #define IM_USB_BATTERY_PITCH (IM_USB_BATTERY_02-IM_USB_BATTERY_01)
- #define ICON_BATT_WARRING_W 48
- #define ICON_BATT_WARRING_H 48
- #define ICON_CHECKBOX_H 16
- #define ICON_CHECKBOX_W 16
- #define ICON_CLASS_W 16
- #define ICON_CLASS_H 16
- #define ICON_COLON_H 8
- #define ICON_COLON_W 3
- #define ICON_DIGIT68_H 8
- #define ICON_DIGIT68_W 6
- #define ICON_DIGIT68_PITCH (ICON_DIGIT_68N01-ICON_DIGIT_68N00)
- #define ICON_DIGIT_H 7
- #define ICON_DIGIT_W 5
- #define ICON_DIGIT_PITCH (ICON_DIGIT_N01-ICON_DIGIT_N00)
- #define ICON_EQ_MODE_H 7
- #define ICON_EQ_MODE_W 16
- #define ICON_EQ_MODE_PITCH (ICON_EQ_MODE_N01_POP-ICON_EQ_MODE_N00_NOR)
- #define ICON_EQ_H 8
- #define ICON_EQ_W 10
- #define ICON_EQ_PITCH (ICON_EQ_N01_N1-ICON_EQ_N00_N2)
- #define ICON_FBS_W 16
- #define ICON_FBS_H 16
- #define ICON_FILE_H 16
- #define ICON_FILE_W 16
- #define ICON_GARBAGE_BIN_W 32
- #define ICON_GARBAGE_BIN_H 32
- #define ICON_KEY_HOLD_W 48
- #define ICON_KEY_HOLD_H 48
- #define ICON_LAB_H 16
- #define ICON_LAB_W 16
- #define ICON_MUSIC_TYPE_H 15
- #define ICON_MUSIC_TYPE_W 17
- #define ICON_PC_H 32
- #define ICON_PC_W 32
- #define ICON_PM_H 32
- #define ICON_PM_W 32
- #define ICON_PM_PITCH (ICON_PM_N01_PHOTO-ICON_PM_N00_MUSIC)
- #define ICON_POWER_W 16
- #define ICON_POWER_H 16
- #define ICON_PROGRESS_BAR_H 9
- #define ICON_PROGRESS_BAR_W 73
- #define ICON_REPEAT_MODE_H 15
- #define ICON_REPEAT_MODE_W 11
- //#define ICON_REPEAT_MODE_PITCH (ICON_REPEAT_MODE_N01_ONE-ICON_REPEAT_MODE_N00_NOR) // Jeff_310_061227
- #define IM_MUSIC_REPEAT_PITCH (IM_MUSIC_REPEATALL-IM_MUSIC_REPEAT1)
- #define ICON_SGN_H 8
- #define ICON_SGN_W 15
- #define ICON_SIGN_H 6 //Walace060914#1
- #define ICON_SIGN_W 7
- #define ICON_SLASH68_H 8
- #define ICON_SLASH68_W 6
- #define ICON_SLASH_H 8
- #define ICON_SLASH_W 5
- #define ICON_STERO_H 7
- #define ICON_STERO_W 25
- #define ICON_STS_H 5
- #define ICON_STS_W 5
- #define ICON_SUBMENU_H 8
- #define ICON_SUBMENU_W 48
- #define ICON_SUBMENU_PITCH (ICON_SUBMENU_N2-ICON_SUBMENU_N1)
- #define ICON_UPDATE_DB_W 48
- #define ICON_UPDATE_DB_H 48
- #define ICON_USB_H 11
- #define ICON_USB_W 23
- #define ICON_VOLUME_W 32
- #define ICON_VOLUME_H 32
- #define ICON_USB_STATE_H 9
- #define ICON_USB_STATE_W 8
- #define ICON_CLOCK_ALARM_W 32
- #define ICON_CLOCK_ALARM_H 32
- #define ICON_EQ_VAD_H 7
- #define ICON_EQ_VAD_W 16
- #define ICON_FREQBAR_H 16
- #define ICON_FREQBAR_W 96
- #define ICON_PROGRESS_MAX 64
- #define ICON_PROGRESS_START_OFFSET 5
- /* //Walace060806#2 start
- #define ANI_POWER_ON_NUM 9
- #define ANI_POWER_ON_START 0
- #define ANI_POWER_ON_W 96
- #define ANI_POWER_ON_H 64
- #define ANI_POWER_ON_DEALY 20000
- */
- #define ANI_DELETE1 0
- #define ANI_DELETE2 1537
- #define ANI_DELETE3 3074
- #define ANI_DELETE4 4611
- #define ANI_POWER_ON_NUM00 6148
- #define ANI_POWER_ON_NUM01 7685
- #define ANI_POWER_ON_NUM02 9222
- #define ANI_POWER_ON_NUM03 10759
- #define ANI_POWER_ON_NUM04 12296
- #define ANI_POWER_ON_NUM05 13833
- #define ANI_POWER_ON_NUM06 15370
- #define ANI_POWER_ON_NUM07 16907
- #define ANI_POWER_ON_NUM08 18444
- #define ANI_DELETE_NUM 4
- #define ANI_DELETE_START ANI_DELETE1
- #define ANI_DELETE_W 96
- #define ANI_DELETE_H 64
- #define ANI_DELETE_FRAME_OFFSET (ANI_DELETE2-ANI_DELETE1)
- #define ANI_POWER_ON_NUM 9
- #define ANI_POWER_ON_START ANI_POWER_ON_NUM00
- #define ANI_POWER_ON_W 96
- #define ANI_POWER_ON_H 64
- #define ANI_POWER_ON_OFFSET (ANI_POWER_ON_NUM01-ANI_POWER_ON_NUM00)
- #define ANI_POWER_ON_DEALY 20000
- // WHH #5 301_061225(start)
- #define IM_OPEN_ANIMATION_01 0
- #define IM_OPEN_ANIMATION_02 2561
- #define IM_OPEN_ANIMATION_03 5122
- #define IM_OPEN_ANIMATION_04 7683
- #define IM_OPEN_ANIMATION_NUM 4
- #define IM_OPEN_ANIMATION_START IM_OPEN_ANIMATION_01
- #define IM_OPEN_ANIMATION_OFFSET (IM_OPEN_ANIMATION_02-IM_OPEN_ANIMATION_01)
- #define IM_OPEN_ANIMATION_DELAY 45000
- // WHH #5 301_061225(end)
- //Walace060806#2 end
- //tne 2006/01/04 #1 start
- #define IM_CLOSE_ANIMATION_01 0
- #define IM_CLOSE_ANIMATION_02 2561
- #define IM_CLOSE_ANIMATION_03 5122
- #define IM_CLOSE_ANIMATION_04 7683
- #define IM_CLOSE_ANIMATION_NUM 4
- #define IM_CLOSE_ANIMATION_START IM_CLOSE_ANIMATION_01
- #define IM_CLOSE_ANIMATION_OFFSET (IM_CLOSE_ANIMATION_02-IM_CLOSE_ANIMATION_01)
- #define IM_CLOSE_ANIMATION_DELAY 55000
- //tne 2006/01/04 #1 end
- #define ICON_VIDEO_MSG_VOL_PITCH (ICON_VIDEO_MSG_VOL02-ICON_VIDEO_MSG_VOL01)
- #endif //#ifndef _OLED_UI_COLOR_DEF_