📄 menutbldef.h
字号:
{INPUT_PRESS , MIA_BlockLeft, Input_AllPort}, //KET_left
{INPUT_PRESS , MIA_BlockRight,Input_AllPort}, //KEY_RIGHT
{INPUT_PRESS , MIA_Source, Input_AllPort}, //KEY_SOURCE
{INPUT_PRESS , MIA_IRKEY_0, 1<<Input_TV}, //IR_0
{INPUT_PRESS , MIA_IRKEY_1, 1<<Input_TV}, //IR_1
{INPUT_PRESS , MIA_IRKEY_2, 1<<Input_TV}, //IR_2
{INPUT_PRESS , MIA_IRKEY_3, 1<<Input_TV}, //IR_3
{INPUT_PRESS , MIA_IRKEY_4, 1<<Input_TV}, //IR_4
{INPUT_PRESS , MIA_IRKEY_5, 1<<Input_TV}, //IR_5
{INPUT_PRESS , MIA_IRKEY_6, 1<<Input_TV}, //IR_6
{INPUT_PRESS , MIA_IRKEY_7, 1<<Input_TV}, //IR_7
{INPUT_PRESS , MIA_IRKEY_8, 1<<Input_TV}, //IR_8
{INPUT_PRESS , MIA_IRKEY_9, 1<<Input_TV}, //IR_9
{INPUT_PRESS , MIA_IRKEY_100,1<<Input_TV}, //IR_100
{INPUT_PRESS , MIA_IR_ShowINFO,Input_AllPort}, //IR_ShowINFO
{INPUT_PRESS , MIA_IR_QuickBack,Input_AllPort}, //IR_QuickBack
{INPUT_PRESS , MIA_IR_Mute,Input_AllPort}, //IR_Mute
#if CALENDAR_ENABLE
{INPUT_PRESS , MIA_IR_Calendar,Input_AllPort}, //IR_CALENDAR
#endif
#if GAME_ENABLE
{INPUT_PRESS , MIA_IR_Game, Input_AllPort}, //IR_GAME
#endif
};
KeyEventType code CalendarNaviKeyEvent[KEY_NOTHING]=
{
//The order of this data must match the corresponding names in eKEY.
{INPUT_PRESS , MIA_IncValue,Input_AllPort}, //key_UP
{INPUT_PRESS , MIA_DecValue,Input_AllPort}, // key_DOWN
{INPUT_PRESS , MIA_GotoNext, Input_AllPort}, // key_Menu
{INPUT_PRESS , MIA_Power ,Input_AllPort}, // key_Power
{INPUT_PRESS | INPUT_HOLD, MIA_CalendarmonthIncValue,Input_AllPort}, //KET_left
{INPUT_PRESS | INPUT_HOLD, MIA_CalendarmonthDecValue,Input_AllPort}, //KEY_RIGHT
{INPUT_PRESS , MIA_Source, Input_AllPort}, //KEY_SOURCE
{INPUT_PRESS , MIA_IRKEY_0, 1<<Input_TV}, //IR_0
{INPUT_PRESS , MIA_IRKEY_1, 1<<Input_TV}, //IR_1
{INPUT_PRESS , MIA_IRKEY_2, 1<<Input_TV}, //IR_2
{INPUT_PRESS , MIA_IRKEY_3, 1<<Input_TV}, //IR_3
{INPUT_PRESS , MIA_IRKEY_4, 1<<Input_TV}, //IR_4
{INPUT_PRESS , MIA_IRKEY_5, 1<<Input_TV}, //IR_5
{INPUT_PRESS , MIA_IRKEY_6, 1<<Input_TV}, //IR_6
{INPUT_PRESS , MIA_IRKEY_7, 1<<Input_TV}, //IR_7
{INPUT_PRESS , MIA_IRKEY_8, 1<<Input_TV}, //IR_8
{INPUT_PRESS , MIA_IRKEY_9, 1<<Input_TV}, //IR_9
{INPUT_PRESS , MIA_IRKEY_100,1<<Input_TV}, //IR_100
{INPUT_PRESS , MIA_IR_ShowINFO,Input_AllPort}, //IR_ShowINFO
{INPUT_PRESS , MIA_IR_QuickBack,Input_AllPort}, //IR_QuickBack
{INPUT_PRESS , MIA_IR_Mute,Input_AllPort}, //IR_Mute
#if CALENDAR_ENABLE
{INPUT_PRESS , MIA_IR_Calendar,Input_AllPort}, //IR_CALENDAR
#endif
#if GAME_ENABLE
{INPUT_PRESS , MIA_IR_Game, Input_AllPort}, //IR_GAME
#endif
};
KeyEventType code NothingKeyEvent[KEY_NOTHING]=
{
//The order of this data must match the corresponding names in eKEY.
{INPUT_PRESS , MIA_Nothing,Input_AllPort}, //key_UP
{INPUT_PRESS , MIA_Nothing,Input_AllPort}, // key_DOWN
{INPUT_PRESS , MIA_Nothing,Input_AllPort}, // key_Menu
{INPUT_PRESS , MIA_Power,Input_AllPort}, // key_Power
{INPUT_PRESS , MIA_Nothing,Input_AllPort}, //KET_left
{INPUT_PRESS , MIA_Nothing,Input_AllPort}, //KEY_RIGHT
{INPUT_PRESS , MIA_Source, Input_AllPort}, //KEY_SOURCE
{INPUT_PRESS , MIA_IRKEY_0, 1<<Input_TV}, //IR_0
{INPUT_PRESS , MIA_IRKEY_1, 1<<Input_TV}, //IR_1
{INPUT_PRESS , MIA_IRKEY_2, 1<<Input_TV}, //IR_2
{INPUT_PRESS , MIA_IRKEY_3, 1<<Input_TV}, //IR_3
{INPUT_PRESS , MIA_IRKEY_4, 1<<Input_TV}, //IR_4
{INPUT_PRESS , MIA_IRKEY_5, 1<<Input_TV}, //IR_5
{INPUT_PRESS , MIA_IRKEY_6, 1<<Input_TV}, //IR_6
{INPUT_PRESS , MIA_IRKEY_7, 1<<Input_TV}, //IR_7
{INPUT_PRESS , MIA_IRKEY_8, 1<<Input_TV}, //IR_8
{INPUT_PRESS , MIA_IRKEY_9, 1<<Input_TV}, //IR_9
{INPUT_PRESS , MIA_IRKEY_100,1<<Input_TV}, //IR_100
{INPUT_PRESS , MIA_Nothing,Input_AllPort}, //IR_ShowINFO
{INPUT_PRESS , MIA_Nothing,Input_AllPort}, //IR_QuickBack
{INPUT_PRESS , MIA_Nothing,Input_AllPort}, //IR_Mute
#if CALENDAR_ENABLE
{INPUT_PRESS , MIA_IR_Calendar,Input_AllPort}, //IR_CALENDAR
#endif
#if GAME_ENABLE
{INPUT_PRESS , MIA_IR_Game, Input_AllPort}, //IR_GAME
#endif
};
//====================================================================================
DrawValueType code DisplayValueNull[]=
{
{ dwiEnd,
NULL,
NULL,
NULL
}
};
//====================================================================================
MenuItemType code PowerOffMenuItems[]=
{ { 0, 1, // XPos, YPos;
0, 1, // ForeColor, BackColor;
0, 1, // SelForeColor, SelBackColor;
PowerOnMenu, //NextMenuPage;
DWI_CenterText,// DrawMenuItemType;
NULL, // DisplayText;
NothingKeyEvent,//PowerOffKeyEvent, //KeyEvent
{ NULL, // AdjustFunction
NULL // ExecFunction
},// DisplayValue;
DisplayValueNull,
mibSelectable // Flags
}
};
#if VGA_ENABLE
MenuItemType code StandbyMenuItems[]=
{
{ 1, 1, // XPos, YPos;
CP_RedColor, CP_GrayColor, // ForeColor, BackColor;
CP_RedColor, CP_GrayColor, // SelForeColor, SelBackColor;
PictureMenu, //NextMenuPage;
DWI_CenterText,// DrawMenuItemType;
NoSyncText, // DisplayText;
RootKeyEvent, //KeyEvent
{ NULL, // AdjustFunction
NULL // ExecFunction
},// DisplayValue;
DisplayValueNull,
mibSelectable // Flags
}
};
MenuItemType code AutoMenuItems[]=
{ // virtual item
{ 1, 1, // XPos, YPos;
CP_WhiteColor1, CP_GrayColor, // ForeColor, BackColor;
CP_RedColor, CP_GrayColor, // SelForeColor, SelBackColor;
RootMenu, //NextMenuPage;
DWI_CenterText,// DrawMenuItemType;
AutoConfigText, // DisplayText;
RootKeyEvent,
{ NULL, // AdjustFunction
NULL // ExecFunction
},// DisplayValue;
DisplayValueNull,
mibSelectable // Flags
}
};
//====================================================================================
MenuItemType code UnsupportedModeMenuItems[]=
{ // Input Not
{ 1, 1, // XPos, YPos;
CP_WhiteColor1, CP_BlueColor, // ForeColor, BackColor;
CP_RedColor, CP_BlueColor, // SelForeColor, SelBackColor;
RootMenu, //NextMenuPage;
DWI_CenterText,// DrawMenuItemType;
OutOfRangeText, // DisplayText;
RootKeyEvent, //KeyEvent
{ NULL, // AdjustFunction
NULL // ExecFunction
},// DisplayValue;
DisplayValueNull,
mibSelectable, // Flags
},
};
#endif
MenuItemType code RootMenuItems[]=
{ // virtual item
{ 0, 1, // XPos, YPos;
CP_WhiteColor1, CP_BlueColor, // ForeColor, BackColor;
CP_RedColor, CP_BlueColor, // SelForeColor, SelBackColor;
PictureMenu, //NextMenuPage;
DWI_CenterText,// DrawMenuItemType;
NULL, // DisplayText;
RootKeyEvent,
{ NULL, // AdjustFunction
NULL // ExecFunction
},// DisplayValue;
DisplayValueNull,
mibSelectable // Flags
}
};
//======================Factory Menu=====================================
MenuItemType code FactoryRootMenuItems[]=
{ // virtual item
{ 0, 0, // XPos, YPos;
CP_WhiteColor1, CP_BlueColor, // ForeColor, BackColor;
CP_GreenColor, CP_BlueColor, // SelForeColor, SelBackColor;
FactoryMenu, //NextMenuPage;
DWI_CenterText,// DrawMenuItemType;
NULL, // DisplayText;
RootKeyEvent,
{ NULL, // AdjustFunction
NULL // ExecFunction
},// DisplayValue;
DisplayValueNull,
mibSelectable // Flags
}
};
/**************************************************************************************/
DrawNumberType code DrawVCOMDCIconNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiEnd,CP_GreenColor,CP_GrayColor,CP_GreenColor,CP_GrayColor, 24, 2,GetVideoVCOMDCValue}
};
RadioTextType code DisplayVCOMDCRadioText[]=
{ // Flags, ForeColor, BackColor,SelForeColor, SelBackColor, XPos, YPos, DisplayText
{dwiEnd,CP_WhiteColor,CP_GrayColor,CP_GreenColor,CP_GrayColor, 4,2,VCOMDCText},
};
DrawRadioGroupType code DisplayVCOMDCRadioGroup[] =
{ // Flags, GetValue RadioText
{0,NULL, DisplayVCOMDCRadioText}
};
DrawValueType code DisplayVCOMDCValue[]=
{
{ dwiEnd,
DrawVCOMDCIconNumber,// DrawNumberType
NULL,// DrawGuageType
DisplayVCOMDCRadioGroup// DrawRadioGroupType
}
};
/*********************************************************************************/
DrawNumberType code DrawVCOMACIconNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiEnd,CP_GreenColor,CP_GrayColor,CP_GreenColor,CP_GrayColor, 24, 3,GetVideoVCOMACValue}
};
RadioTextType code DisplayVCOMACRadioText[]=
{ // Flags, ForeColor, BackColor,SelForeColor, SelBackColor, XPos, YPos, DisplayText
{dwiEnd,CP_WhiteColor,CP_GrayColor,CP_GreenColor,CP_GrayColor, 4,3,VCOMACText},
};
DrawRadioGroupType code DisplayVCOMACRadioGroup[] =
{ // Flags, GetValue RadioText
{0,NULL, DisplayVCOMACRadioText}
};
DrawValueType code DisplayVCOMACValue[]=
{
{ dwiEnd,
DrawVCOMACIconNumber,// DrawNumberType
NULL,// DrawGuageType
DisplayVCOMACRadioGroup// DrawRadioGroupType
}
};
/*************************************************************************************************************************/
#if TV_ENABLE
RadioTextType code DisplayAGCIconRadioText[]=
{ // Flags, ForeColor, BackColor,SelForeColor, SelBackColor, XPos, YPos, DisplayText
{dwiEnd,CP_WhiteColor,CP_GrayColor,CP_GreenColor,CP_GrayColor, 4,4, AGCText},
};
DrawRadioGroupType code DisplayAGCIconRadioGroup[] =
{ // Flags, GetValue RadioText
{ 0,NULL, DisplayAGCIconRadioText}
};
DrawNumberType code DrawAGCIconNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiEnd,CP_GreenColor,CP_GrayColor,CP_GreenColor,CP_GrayColor, 24, 4,GetAGCValue}
};
DrawValueType code DisplayAGCIconGroup[]=
{
{ dwiEnd,
DrawAGCIconNumber,// DrawNumberType
NULL,// DrawGuageType
DisplayAGCIconRadioGroup// DrawRadioGroupType
}
};
#endif
/*************************************************************************************************************************/
#if VGA_ENABLE
RadioTextType code DisplayAutoColIconRadioText[]=
{ // Flags, ForeColor, BackColor,SelForeColor, SelBackColor, XPos, YPos, DisplayText
{dwiEnd,CP_WhiteColor,CP_GrayColor,CP_GreenColor,CP_GrayColor, 4,5, AutoColorText},
};
DrawRadioGroupType code DisplayAutoColIconRadioGroup[] =
{ // Flags, GetValue RadioText
{ 0,NULL, DisplayAutoColIconRadioText}
};
DrawValueType code DisplayAutoColIconGroup[]=
{
{ dwiEnd,
NULL,// DrawNumberType
NULL,// DrawGuageType
DisplayAutoColIconRadioGroup// DrawRadioGroupType
}
};
RadioTextType code DisplayGainIconRadioText[]=
{ // Flags, ForeColor, BackColor,SelForeColor, SelBackColor, XPos, YPos, DisplayText
{dwiEnd,CP_WhiteColor,CP_GrayColor,CP_WhiteColor,CP_GrayColor, 4,6, AdcGainText},
};
DrawRadioGroupType code DisplayGainIconRadioGroup[] =
{ // Flags, GetValue RadioText
{0,NULL, DisplayGainIconRadioText}
};
DrawValueType code DisplayGainIconGroup[]=
{
{ dwiEnd,
NULL,// DrawNumberType
NULL,// DrawGuageType
DisplayGainIconRadioGroup// DrawRadioGroupType
}
};
RadioTextType code DisplayGainRIconRadioText[]=
{ // Flags, ForeColor, BackColor,SelForeColor, SelBackColor, XPos, YPos, DisplayText
{0,CP_WhiteColor,CP_GrayColor,CP_GreenColor,CP_GrayColor, 4,6, AdcGainText},
{dwiEnd,CP_WhiteColor,CP_GrayColor,CP_YellowColor,CP_GrayColor, 11,6, FactoryRedText},
};
DrawRadioGroupType code DisplayGainRIconRadioGroup[] =
{ // Flags, GetValue RadioText
{0,NULL, DisplayGainRIconRadioText}
};
DrawNumberType code DrawGainRIconNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiEnd,CP_GreenColor,CP_GrayColor,CP_GreenColor,CP_GrayColor, 12, 6,GetRedGainValue}
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -