📄 menutbl.h
字号:
{ // Flags, GetValue RadioText
{0,NULL, DisplayOFFTimeIconRadioText}
};
DrawValueType code DisplayOFFTimeIconGroup[]=
{
{ dwiEnd,
NULL,// DrawNumberType
NULL,// DrawGuageType
DisplayOFFTimeIconRadioGroup// DrawRadioGroupType
}
};
/****************************************************************************************************/
RadioTextType code DisplayONTimeIconRadioText[]=
{ // Flags, ForeColor, BackColor,SelForeColor, SelBackColor, XPos, YPos, DisplayText
{0,CP_WhiteColor,CP_GrayColor,CP_RedColor,CP_GrayColor, 2,6, ONTimeText},
{0,CP_WhiteColor,CP_GrayColor,CP_RedColor,CP_GrayColor, 11,6, ONTimeHourText},
{0,CP_WhiteColor,CP_GrayColor,CP_RedColor,CP_GrayColor, 14,6, ONTimeMinuteText},
{dwiEnd,CP_WhiteColor,CP_GrayColor,CP_RedColor,CP_GrayColor, 13,6, ColonText},
};
DrawRadioGroupType code DisplayONTimeIconRadioGroup[] =
{ // Flags, GetValue RadioText
{0,NULL, DisplayONTimeIconRadioText}
};
DrawValueType code DisplayONTimeIconGroup[]=
{
{ dwiEnd,
NULL,// DrawNumberType
NULL,// DrawGuageType
DisplayONTimeIconRadioGroup// DrawRadioGroupType
}
};
/****************************************************************************************************/
MenuItemType code ClockMenuItems[]=
{
//1SLEEP
{ 0, 3, // XPos, YPos;
CP_GrayColor,CP_GrayColor, // ForeColor, BackColor;
CP_RedColor, CP_GrayColor, // SelForeColor, SelBackColor;
RootMenu, //NextMenuPage;
DWI_Icon,// DrawMenuItemType;
HandIcon, // DisplayText;
NaviKeyEvent, //KeyEvent;
{ AdjustSleepTime,// AdjustFunction
NULL // ExecFunction
},// *DisplayValue;
DisplaySleepTimeIconGroup,
mibSelectable|mibDrawValue// Flags
},
//2Time
{ 0, 4, // XPos, YPos;
CP_GrayColor,CP_GrayColor, // ForeColor, BackColor;
CP_RedColor, CP_GrayColor, // SelForeColor, SelBackColor;
RootMenu, //NextMenuPage;
DWI_Icon,// DrawMenuItemType;
HandIcon, // DisplayText;
NaviKeyEvent, //KeyEvent;
{ AdjustTime,// AdjustFunction
NULL // ExecFunction
},// *DisplayValue;
DisplayTimeIconGroup,
mibSelectable|mibDrawValue// Flags
},
//2OFF Time
{ 0, 5, // XPos, YPos;
CP_GrayColor,CP_GrayColor, // ForeColor, BackColor;
CP_RedColor, CP_GrayColor, // SelForeColor, SelBackColor;
RootMenu, //NextMenuPage;
DWI_Icon,// DrawMenuItemType;
HandIcon, // DisplayText;
NaviKeyEvent, //KeyEvent;
{ AdjustOFFTime,// AdjustFunction
NULL // ExecFunction
},// *DisplayValue;
DisplayOFFTimeIconGroup,
mibSelectable|mibDrawValue|mibConditionEnableItem// Flags
},
//3ON Time
{ 0, 6, // XPos, YPos;
CP_GrayColor,CP_GrayColor, // ForeColor, BackColor;
CP_RedColor, CP_GrayColor, // SelForeColor, SelBackColor;
RootMenu, //NextMenuPage;
DWI_Icon,// DrawMenuItemType;
HandIcon, // DisplayText;
NaviKeyEvent, //KeyEvent;
{ AdjustONTime,// AdjustFunction
NULL // ExecFunction
},// *DisplayValue;
DisplayONTimeIconGroup,
mibSelectable|mibDrawValue|mibConditionEnableItem// Flags
}
};
//=======================================================================
#if GAME_ENABLE
MenuItemType code GameMenuItems[]=
{
{ 0, 0, // XPos, YPos;
CP_GrayColor,CP_SeaBlueColor, // ForeColor, BackColor;
CP_RedColor, CP_SeaBlueColor, // SelForeColor, SelBackColor;
NULL, //NextMenuPage;
DWI_Icon,// DrawMenuItemType;
NULL, // DisplayText;
GameNaviKeyEvent, //KeyEvent;
{ NULL, // AdjustFunction
NULL // ExecFunction
},// *DisplayValue;
DisplayValueNull,
mibSelectable|mibDrawValue// Flags
},
};
#endif
//=======================================================================
#if CALENDAR_ENABLE
RadioTextType code DisplayMonthIconRadioText[]=
{ // Flags, ForeColor, BackColor,SelForeColor, SelBackColor, XPos, YPos, DisplayText
{dwiEnd,CP_RedColor,CP_YellowColor,CP_RedColor,CP_YellowColor, 11,1, MonthText},
};
DrawRadioGroupType code DisplayMonthIconRadioGroup[] =
{ // Flags, GetValue RadioText
{0,NULL, DisplayMonthIconRadioText}
};
DrawValueType code DisplayCalendarGroup[]=
{
{ dwiEnd,
NULL,// DrawNumberType
NULL,// DrawGuageType
DisplayMonthIconRadioGroup// DrawRadioGroupType
}
};
MenuItemType code CalendarMenuItems[]=
{
{ 0, 0, // XPos, YPos;
CP_RedColor,CP_SeaBlueColor, // ForeColor, BackColor;
CP_RedColor, CP_SeaBlueColor, // SelForeColor, SelBackColor;
NULL, //NextMenuPage;
DWI_Icon,// DrawMenuItemType;
NULL, // DisplayText;
CalendarNaviKeyEvent, //KeyEvent;
{ AdjustCalendarYearORMonth, // AdjustFunction
NULL, // ExecFunction
},// *DisplayValue;
DisplayCalendarGroup,
mibSelectable|mibDrawValue// Flags
}
};
#endif
#if Enable_Logo_Display
MenuItemType code LogoMenuMenuItems[]=
{
{ 0, 0, // XPos, YPos;
CP_RedColor,CP_SeaBlueColor, // ForeColor, BackColor;
CP_RedColor, CP_SeaBlueColor, // SelForeColor, SelBackColor;
NULL, //NextMenuPage;
DWI_Icon,// DrawMenuItemType;
NULL, // DisplayText;
NothingKeyEvent, //KeyEvent;
{ NULL, // AdjustFunction
NULL, // ExecFunction
},// *DisplayValue;
DisplayValueNull,
mibSelectable|mibDrawValue// Flags
}
};
#endif
//==============================================================================================
MenuPageType code tblMenus[]=
{ // 0 PowerOffMenu
{ 16, 3, // XSize, YSize;
PowerOnMenu,// PrevMenuPage;
PowerOffMenuItems, // MenuItems;
sizeof(PowerOffMenuItems)/sizeof(MenuItemType), // MenuItemCount;
PowerOffSystem,// ExecFunction;
mtbIndividualTimeOut|0,//TimeOut//0 means disable time out
mpbInvisible|mpbStay // Flags;
},
// 1 PowerOnMenu
{ 16, 3, // XSize, YSize;
RootMenu,// PrevMenuPage;
NULL, // MenuItems;
NULL, // MenuItemCount;
PowerOnSystem,// ExecFunction;
mtbIndividualTimeOut|0,//TimeOut//0 means disable time out
mpbInvisible // Flags;
},
#if VGA_ENABLE
// 2 StandbyOnMenu
{ 20, 3, // XSize, YSize;
RootMenu,// PrevMenuPage;
StandbyMenuItems, // MenuItems;
sizeof(StandbyMenuItems)/sizeof(MenuItemType), // MenuItemCount;
EnablePowerDownCounter, // ExecFunction;
mtbIndividualTimeOut|0,//TimeOut//0 means disable time out
mpbStay // Flags;
},
// 3 SuspendOnMenu
{ 20, 3, // XSize, YSize;
RootMenu,// PrevMenuPage;
StandbyMenuItems, // MenuItems;
sizeof(StandbyMenuItems)/sizeof(MenuItemType), // MenuItemCount;
EnablePowerDownCounter, // ExecFunction;
mtbIndividualTimeOut|0,//TimeOut//0 means disable time out
mpbStay//|mpbInvisible// Flags;
},
// 4 AutoMenu
{ 24, 3, // XSize, YSize;
RootMenu,// PrevMenuPage;
AutoMenuItems, // MenuItems;
sizeof(AutoMenuItems)/sizeof(MenuItemType), // MenuItemCount;
AutoConfig, // ExecFunction;
0 // Flags;
},
// 5 UnsupportedModeMenu
{ 20, 3, // XSize, YSize;
RootMenu,// PrevMenuPage;
UnsupportedModeMenuItems, // MenuItems;
sizeof(UnsupportedModeMenuItems)/sizeof(MenuItemType), // MenuItemCount;
NULL, // ExecFunction;
mtbIndividualTimeOut|0,//TimeOut//0 means disable time out
mpbStay // Flags;
},
#endif
// 6 RootMenu
{ 16, 3, // XSize, YSize;
RootMenu,// PrevMenuPage;
RootMenuItems, // MenuItems;
sizeof(RootMenuItems)/sizeof(MenuItemType), // MenuItemCount;
NULL, // ExecFunction;
mtbIndividualTimeOut|0,//TimeOut//0 means disable time out
mpbInvisible|mpbStay // Flags;
},
//============================================================
// 7 FactoryMenu
{ 29, 9, // XSize, YSize;
FactoryRootMenu,// PrevMenuPage;
FactoryMenuItems, // MenuItems;
sizeof(FactoryMenuItems)/sizeof(MenuItemType), // MenuItemCount;
NULL, // ExecFunction;
mtbIndividualTimeOut|0,//TimeOut//0 means disable time out
mpbStay // Flags;
},
#if TV_ENABLE
//8 TVInputNumMenu
{ 3, 1, // XSize, YSize;
RootMenu,// PrevMenuPage;
TVInputNumMenuItems, // MenuItems;
sizeof(TVInputNumMenuItems)/sizeof(MenuItemType), // MenuItemCount;
NULL, // ExecFunction;
NULL,//TimeOut//NUll means using osd time out
mpbStay|mpbSetItemTop // Flags;
},
//9 ShowTVChannelMenu
{ 5, 4, // XSize, YSize;
RootMenu,// PrevMenuPage;
ShowTVChannelMenuItems, // MenuItems;
sizeof(ShowTVChannelMenuItems)/sizeof(MenuItemType), // MenuItemCount;
NULL, // ExecFunction;
NULL,//TimeOut//NUll means using osd time out
mpbStay|mpbSetItemTop // Flags;
},
#endif
// 10 ShowSourceMenu
{ 5, 1, // XSize, YSize;
RootMenu,// PrevMenuPage;
ShowSourceMenuItems, // MenuItems;
sizeof(ShowSourceMenuItems)/sizeof(MenuItemType), // MenuItemCount;
NULL, // ExecFunction;
NULL,//TimeOut//NUll means using osd time out
mpbStay|mpbSetItemTop // Flags;
},
// 11 VolumeMenu
{ 14, 1, // XSize, YSize;
RootMenu,// PrevMenuPage;
VolumeMenuItems, // MenuItems;
sizeof(VolumeMenuItems)/sizeof(MenuItemType), // MenuItemCount;
NULL, // ExecFunction;
NULL,//TimeOut//NUll means using osd time out
mpbStay|mpbSizeofItem // Flags;
},
// 12 MuteMenu
{ 1, 1, // XSize, YSize;
RootMenu,// PrevMenuPage;
MuteMenuItems, // MenuItems;
sizeof(MuteMenuItems)/sizeof(MenuItemType), // MenuItemCount;
NULL, // ExecFunction;
NULL,//TimeOut//NUll means using osd time out
mpbStay|mpbSetItemTop // Flags;
},
//13 PictureMenu
{ 17, 10, // XSize, YSize;
RootMenu,// PrevMenuPage;
PictureMenuItems, // MenuItems;
sizeof(PictureMenuItems)/sizeof(MenuItemType), // MenuItemCount;
EnterPictureMenuExec, // ExecFunction;
NULL,//TimeOut//NUll means using osd time out
mpbStay|mpbSizeofItem // Flags;
},
//14 AudioMenu
{ 17, 10, // XSize, YSize;
RootMenu,// PrevMenuPage;
AudioMenuItems, // MenuItems;
sizeof(AudioMenuItems)/sizeof(MenuItemType), // MenuItemCount;
EnterAudioMenuExec, // ExecFunction;
NULL,//TimeOut//NUll means using osd time out
mpbStay // Flags;
},
//15 FunctionMenu
{ 17, 10, // XSize, YSize;
RootMenu,// PrevMenuPage;
FunctionMenuItems, // MenuItems;
sizeof(FunctionMenuItems)/sizeof(MenuItemType), // MenuItemCount;
EnterFunctionMenuExec, // ExecFunction;
NULL,//TimeOut//NUll means using osd time out
mpbStay|mpbSizeofItem // Flags;
},
//16 SystemMenu
{ 17, 10, // XSize, YSize;
RootMenu,// PrevMenuPage;
SystemMenuItems, // MenuItems;
sizeof(SystemMenuItems)/sizeof(MenuItemType), // MenuItemCount;
EnterSystemMenuExec, // ExecFunction;
NULL,//TimeOut//NUll means using osd time out
mpbStay|mpbSizeofItem // Flags;
},
#if TV_ENABLE
//17 PresetMenu
{ 17, 10, // XSize, YSize;
RootMenu,// PrevMenuPage;
PresetMenuItems, // MenuItems;
sizeof(PresetMenuItems)/sizeof(MenuItemType), // MenuItemCount;
EnterPresetMenuExec, // ExecFunction;
NULL,//TimeOut//NUll means using osd time out
mpbStay|mpbSizeofItem // Flags;
},
#endif
//18 ClockMenu
{ 17, 10, // XSize, YSize;
RootMenu,// PrevMenuPage;
ClockMenuItems, // MenuItems;
sizeof(ClockMenuItems)/sizeof(MenuItemType), // MenuItemCount;
EnterClockMenuExec, // ExecFunction;
NULL,//TimeOut//NUll means using osd time out
mpbStay|mpbSizeofItem // Flags;
},
#if GAME_ENABLE
//19 GameMenu
{ 19, 13, // XSize, YSize;
RootMenu,// PrevMenuPage;
GameMenuItems, // MenuItems;
sizeof(GameMenuItems)/sizeof(MenuItemType), // MenuItemCount;
Game_initial, // ExecFunction;
mtbIndividualTimeOut|0,//TimeOut//NUll means using osd time out
mpbStay|mpbSizeofItem|mpbGame // Flags;
},
#endif
#if CALENDAR_ENABLE
//19 CalendarMenu
{ 20, 13, // XSize, YSize;
RootMenu,// PrevMenuPage;
CalendarMenuItems, // MenuItems;
sizeof(CalendarMenuItems)/sizeof(MenuItemType), // MenuItemCount;
EnterCalendarMenuExec, // ExecFunction;
NULL,//TimeOut//NUll means using osd time out
mpbStay|mpbSizeofItem // Flags;
},
#endif
// 19 FactoryRootMenu
{ 1, 1, // XSize, YSize;
FactoryRootMenu,// PrevMenuPage;
FactoryRootMenuItems, // MenuItems;
sizeof(FactoryRootMenuItems)/sizeof(MenuItemType), // MenuItemCount;
NULL, // ExecFunction;
mtbIndividualTimeOut|0,//TimeOut//0 means disable time out
mpbStay // Flags;
},
#if Enable_Logo_Display
// 19 LogMenu
{ 30, 8, // XSize, YSize;
RootMenu,// PrevMenuPage;
LogoMenuMenuItems, // MenuItems;
sizeof(LogoMenuMenuItems)/sizeof(MenuItemType), // MenuItemCount;
NULL, // ExecFunction;
mtbIndividualTimeOut|0,//TimeOut//0 means disable time out
mpbStay // Flags;
},
#endif
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -