📄 pnl_cybhm2.h
字号:
/*lock->{5,0x0004} timlin for idall*/
/* REMAIN SIGNAL */
#define PNL_CLASS_REMAIN PNL_MODULE_SIGNAL
#undef PNL_POS_REMAIN
#define PNL_ATTR_REMAIN PNL_LIGHT_ON|PNL_BLINK_OFF
/* INTRO SIGNAL */
#define PNL_CLASS_INTRO PNL_MODULE_SIGNAL
#undef PNL_POS_INTRO
#define PNL_ATTR_INTRO PNL_LIGHT_ON|PNL_BLINK_OFF
/* LASTPLAY SIGNAL */
#define PNL_CLASS_LASTPLAY PNL_MODULE_SIGNAL
#undef PNL_POS_LASTPLAY
#define PNL_ATTR_LASTPLAY PNL_LIGHT_ON|PNL_BLINK_OFF
/* TITLE */
#define PNL_CLASS_TITLE PNL_MODULE_MSGSIG
#undef PNL_POS_TITLE_MSG
#undef PNL_POS_TITLE_SIG
/* CHAPTER */
#define PNL_CLASS_CHAPTER PNL_MODULE_MSGSIG
#undef PNL_POS_CHAPTER_DGT
#undef PNL_POS_CHAPTER_MSG
#undef PNL_POS_CHAPTER_SIG
/* TRACK */
#define PNL_CLASS_TRACK PNL_MODULE_MSGSIG
#undef PNL_POS_TRACK_DGT
#undef PNL_POS_TRACK_MSG
#undef PNL_POS_TRACK_SIG
/* TIME */
#define PNL_CLASS_TIME PNL_MODULE_TIME
#define PNL_POS_TIME_HOUR /*{7,0xfffc},*/{2, 0x7f00}
#define PNL_POS_TIME_MIN {2, 0x7f}, {1, 0x7f0000}
#define PNL_POS_TIME_SEC {1, 0x3f80}, {1, 0x7f}
#define PNL_POS_TIME_SIG {2, 0x8000}, {1, 0x800000}
/* MESSAGE */
#define PNL_CLASS_MESSAGE PNL_MODULE_MESSAGE
#if 1
#define PNL_POS_MESSAGE {3, 0x00007f}/*added for patch*/,{2, 0x7f0000}/*added for patch*/,{2, 0x007f00}, \
{2,0x7f}, {1, 0x7f0000}, {1, 0x3f80}, \
{1, 0x00007f}
#endif
#define PNL_MSG_STR_OFF /* " " */ \
PNL_MSG_SPC, PNL_MSG_SPC, PNL_MSG_SPC,\
PNL_MSG_SPC, PNL_MSG_SPC, \
PNL_MSG_SPC, PNL_MSG_SPC, PNL_MSG_SPC, PNL_MSG_SPC, PNL_MSG_SPC
#define PNL_ATTR_STR_OFF PNL_LIGHT_OFF
// add by sidney for hanyang start
#define PNL_MSG_STR_PBCPLAY /* " PBCPLAY" */ \
PNL_MSG_SPC, PNL_MSG_SPC, PNL_MSG_SPC,\
PNL_MSG_P, PNL_MSG_B, PNL_MSG_C,\
PNL_MSG_P, PNL_MSG_L, PNL_MSG_A, PNL_MSG_Y
#define PNL_ATTR_STR_PBCPLAY PNL_LIGHT_ON|PNL_BLINK_OFF
#define PNL_MSG_STR_HOLD /* " hold" */ \
PNL_MSG_SPC, PNL_MSG_SPC, PNL_MSG_SPC,\
PNL_MSG_H, PNL_MSG_O, PNL_MSG_L, PNL_MSG_D
#define PNL_ATTR_STR_HOLD PNL_LIGHT_ON|PNL_BLINK_OFF
#define PNL_MSG_STR_UPGRADE /* " upgrade" */ \
PNL_MSG_SPC, PNL_MSG_SPC, PNL_MSG_SPC,\
PNL_MSG_L, PNL_MSG_O, PNL_MSG_A, PNL_MSG_d
#define PNL_ATTR_STR_UPGRADE PNL_LIGHT_ON|PNL_BLINK_OFF
// add by sidney for hanyang end
#if 0
#define PNL_MSG_STR_NO_DISC /* " NODISC" */ \
PNL_MSG_SPC, PNL_MSG_SPC, PNL_MSG_SPC,\
PNL_MSG_N, PNL_MSG_O, PNL_MSG_SPC,\
PNL_MSG_D, PNL_MSG_I, PNL_MSG_S, PNL_MSG_C
#endif
#define PNL_MSG_STR_NO_DISC /* " NODISC" */ \
PNL_MSG_N, PNL_MSG_O,PNL_MSG_SPC,\
PNL_MSG_D, PNL_MSG_I, PNL_MSG_S, PNL_MSG_C
#define PNL_ATTR_STR_NO_DISC PNL_LIGHT_ON|PNL_BLINK_OFF
#define PNL_MSG_STR_MENU /* "MENU-----" */ \
PNL_MSG_SPC, PNL_MSG_SPC, PNL_MSG_SPC,\
PNL_MSG_M, PNL_MSG_E, PNL_MSG_N, PNL_MSG_U, \
PNL_MSG_MINUS, PNL_MSG_MINUS, PNL_MSG_MINUS
#define PNL_ATTR_STR_MENU PNL_LIGHT_ON|PNL_BLINK_OFF
#define PNL_MSG_STR_ROOT /* "root-----" */ \
PNL_MSG_SPC, PNL_MSG_SPC, PNL_MSG_SPC,\
PNL_MSG_r, PNL_MSG_o, PNL_MSG_o, PNL_MSG_t, \
PNL_MSG_MINUS, PNL_MSG_MINUS, PNL_MSG_MINUS
#define PNL_ATTR_STR_ROOT PNL_LIGHT_ON|PNL_BLINK_OFF
#define PNL_MSG_STR_SETUP /* " -----" */ \
PNL_MSG_SPC, PNL_MSG_SPC, PNL_MSG_SPC,\
PNL_MSG_SPC, PNL_MSG_SPC, \
PNL_MSG_MINUS, PNL_MSG_MINUS, PNL_MSG_MINUS, PNL_MSG_MINUS, PNL_MSG_MINUS
#define PNL_ATTR_STR_SETUP PNL_LIGHT_ON|PNL_BLINK_OFF
#define PNL_MSG_STR_STOP /* " STOP" */ \
PNL_MSG_SPC, PNL_MSG_SPC, PNL_MSG_SPC,\
PNL_MSG_SPC, \
PNL_MSG_SPC, PNL_MSG_S, PNL_MSG_T, PNL_MSG_O, PNL_MSG_P,PNL_MSG_SPC
#define PNL_ATTR_STR_STOP PNL_LIGHT_ON|PNL_BLINK_OFF
#define PNL_MSG_STR_PLAY /* " PLAY" */ \
PNL_MSG_SPC, PNL_MSG_SPC, PNL_MSG_SPC,\
PNL_MSG_SPC, \
PNL_MSG_SPC, PNL_MSG_P, PNL_MSG_L, PNL_MSG_A, PNL_MSG_Y,PNL_MSG_SPC
#define PNL_ATTR_STR_PLAY PNL_LIGHT_ON|PNL_BLINK_OFF
#define PNL_MSG_STR_OPEN /* " OPEN" */ \
PNL_MSG_SPC, PNL_MSG_SPC, PNL_MSG_SPC,\
PNL_MSG_O, PNL_MSG_P, PNL_MSG_E, PNL_MSG_N
#define PNL_ATTR_STR_OPEN PNL_LIGHT_ON|PNL_BLINK_OFF
#define PNL_MSG_STR_CLOSE /* " CLOSE" */ \
PNL_MSG_SPC, PNL_MSG_SPC,\
PNL_MSG_C, PNL_MSG_L, PNL_MSG_O, PNL_MSG_S, PNL_MSG_E
#define PNL_ATTR_STR_CLOSE PNL_LIGHT_ON|PNL_BLINK_OFF
#if( _TA == 300|| _TA == 302)
#define PNL_MSG_STR_LOAD /* " LOAd" */ \
PNL_MSG_SPC, PNL_MSG_SPC, PNL_MSG_SPC,\
PNL_MSG_L, PNL_MSG_O, PNL_MSG_A, PNL_MSG_d // add by sidney for hanyang
#else
#define PNL_MSG_STR_LOAD /* " LOAd" */ \
PNL_MSG_SPC, PNL_MSG_SPC, PNL_MSG_SPC,\
PNL_MSG_L, PNL_MSG_O, PNL_MSG_A, PNL_MSG_d // add by sidney for hanyang#endif
#endif
#define PNL_ATTR_STR_LOAD PNL_LIGHT_ON|PNL_BLINK_OFF
#if(_CUSTOM == CYBERHOME)
#define PNL_MSG_STR_INVALID_DISC /* " Error" */ \
PNL_MSG_SPC, PNL_MSG_SPC,\
PNL_MSG_E, PNL_MSG_r, PNL_MSG_r, PNL_MSG_o, PNL_MSG_r
#define PNL_ATTR_STR_INVALID_DISC PNL_LIGHT_ON|PNL_BLINK_OFF
#else
#define PNL_MSG_STR_INVALID_DISC /* " Error" */ \
PNL_MSG_SPC, PNL_MSG_SPC,\
PNL_MSG_E, PNL_MSG_r, PNL_MSG_r, PNL_MSG_o, PNL_MSG_r
#define PNL_ATTR_STR_INVALID_DISC PNL_LIGHT_ON|PNL_BLINK_OFF
#endif
#define PNL_MSG_STR_STANDBY /* " Standby" */ \
PNL_MSG_S, PNL_MSG_t, PNL_MSG_a, PNL_MSG_n, PNL_MSG_d,PNL_MSG_b,\
PNL_MSG_y,PNL_MSG_SPC,PNL_MSG_SPC
#define PNL_ATTR_STR_STANDBY PNL_LIGHT_ON|PNL_BLINK_OFF
#define PNL_MSG_STR_OK /* " OK" */ \
PNL_MSG_D, PNL_MSG_O, PNL_MSG_N, PNL_MSG_E, PNL_MSG_SPC,PNL_MSG_SPC,\
PNL_MSG_SPC,PNL_MSG_SPC,PNL_MSG_SPC
#define PNL_ATTR_STR_OK PNL_LIGHT_ON|PNL_BLINK_OFF
#define PNL_MSG_STR_DISKERROR /* " Disk Err" */ \
PNL_MSG_d, PNL_MSG_i, PNL_MSG_s, PNL_MSG_c, PNL_MSG_SPC,PNL_MSG_E,\
PNL_MSG_r,PNL_MSG_r,PNL_MSG_SPC
#define PNL_ATTR_STR_DISKERROR PNL_LIGHT_ON|PNL_BLINK_OFF
#define PNL_MSG_STR_BAD_DISC /* " bad disc" */ \
PNL_MSG_B,\
PNL_MSG_A, PNL_MSG_D,\
PNL_MSG_D, PNL_MSG_I, PNL_MSG_S, PNL_MSG_C //change by sidney for hanyang1124
#define PNL_ATTR_STR_BAD_DISC PNL_LIGHT_ON|PNL_BLINK_OFF
/* LIGHTDISC */
#define PNL_CLASS_LIGHTDISC PNL_MODULE_LIGHTDISC
/* rotate speed */
#define PNL_CLK_LD_SPEED_OFF 0
#define PNL_CLK_LD_SPEED_SLOW 1100
#define PNL_CLK_LD_SPEED_MIDDLE 450
#define PNL_CLK_LD_SPEED_FAST 200
#define PNL_POS_LD_SEGMENT {3, 0x40000}, {3, 0x80000}, {3, 0x100000}, \
{3, 0x200000}, {3, 0x400000}, {3, 0x800000},\
{4, 0x000001},{4, 0x000002},{4, 0x000004},\
{4, 0x000008},{4, 0x0000010},{4, 0x0000020},\
{4, 0x0000040}
#undef PNL_POS_LD_SIG
/*----------------------*/
/* PANEL KEY DEFINITION */
/*----------------------*/
#define PNL_KEY_00000001 C_KEY_STOP/*modified*/
#define PNL_KEY_00000002 C_KEY_OPEN//*MODIFIED*/
#define PNL_KEY_00000004 C_KEY_SKIP_L/*MODIFIED*/
#define PNL_KEY_00000008 C_KEY_PAUSE/*MODIFIED*/
#define PNL_KEY_00000010 C_KEY_REV/*modified*/
#define PNL_KEY_00000020 C_KEY_PAUSE/*MODIFIED*/
#define PNL_KEY_00000040 C_KEY_STEP/*MODIFIED*/
#define PNL_KEY_00000080 C_KEY_OPEN/*MODIFIED*/
#define PNL_KEY_00000100 C_KEY_STOP/*MODIFIED*/
#define PNL_KEY_00000200 C_KEY_VOCAL/*MODIFIED*/
#define PNL_KEY_00000400 C_KEY_SKIP_R/*MODIFIED*/
#define PNL_KEY_00000800 C_KEY_STOP/*MODIFIED*/
#define PNL_KEY_00001000 C_KEY_6/*MODIFIED*/
#define PNL_KEY_00002000 C_KEY_7/*MODIFIED*/
#define PNL_KEY_00004000 C_KEY_8/*MODIFIED*/
#define PNL_KEY_00008000 C_KEY_9/*MODIFIED*/
#define PNL_KEY_00010000 C_KEY_PAUSE/*MODIFIED*/
#define PNL_KEY_00020000 C_KEY_FF/*MODIFIED*/
#define PNL_KEY_00040000 C_KEY_REV/*MODIFIED*/
#define PNL_KEY_00080000 C_KEY_SETUP/*MODIFIED*/
#define PNL_KEY_00100000 C_KEY_OPEN/* MODIFIED*/
#define PNL_KEY_00200000 C_KEY_REV/*MODIFIED*///timlin
#define PNL_KEY_00400000 C_KEY_VOCAL/*MODIFIED*/
#define PNL_KEY_00800000 C_KEY_FF//timlin
#define PNL_KEY_01000000 C_KEY_MENU/*MODIFIED*/
#define PNL_KEY_02000000 C_KEY_REPEAT/*MODIFIED*/
#define PNL_KEY_04000000 C_KEY_ZOOM/*MODIFIED*/
#define PNL_KEY_08000000 C_KEY_SEARCH
#define PNL_KEY_10000000 C_KEY_DISPLAY/*MODIFIED*/
#define PNL_KEY_20000000 C_KEY_AB_REPEAT/*MODIFIED*/
#define PNL_KEY_40000000 C_KEY_SHOWTIME/*MODIFIED*/
#define PNL_KEY_80000000 C_KEY_ANGLE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -