📄 menutbl_new_ntsc.c
字号:
{KEY_3, MIA_FAC3},
{KEY_4, MIA_FAC4},
{KEY_5, MIA_FAC5},
{KEY_6, MIA_FAC6},
{KEY_7, MIA_FAC7},
{KEY_8, MIA_FAC8},
{KEY_9, MIA_FAC9},
{KEY_INVALID, MIA_NOTHING},
};
MenuItemKeyAction code BlockInInputPWKeyEvent[] =
{
0,
BlockInInputPWKeyMap,
};
#endif
KeyActionMap code PowerKeyMap[] =
{
{KEY_POWER, MIA_POWER},
{KEY_INVALID, MIA_NOTHING},
};
MenuItemKeyAction code PowerKeyEvent[] =
{
0,
PowerKeyMap,
};
KeyActionMap code StandbyKeyMap[] =
{
{KEY_POWER, MIA_POWER},
{KEY_INVALID, MIA_NOTHING},
};
MenuItemKeyAction code StandbyKeyEvent[] =
{
0,
StandbyKeyMap,
};
KeyActionMap code AutoSearchKeyMap[] =
{
{KEY_POWER, MIA_POWER},
{KEY_MENU, MIA_SEARCH_STOP},
{KEY_INVALID, MIA_NOTHING},
};
MenuItemKeyAction code AutoSearchKeyEvent[] =
{
0,
AutoSearchKeyMap,
};
//============================================================================
MenuItemType code LogoMenuItems[]=
{ // virtual item
{
0, 0, // XPos, YPos;
CT_MENU_NORMAL, CT_MENU_NORMAL, // UnSelColorType, SelColorType;
MENU_ROOT, //NextMenuPage;
DWI_COLORICON, // DrawMenuItemType;
LogoIcon, // DisplayText;
NULL,
{
NULL, // AdjustFunction
NULL // ExecFunction
},
NULL, // DrawSubMenuGroup
MI_SELECTABLE // Flags
}
};
//============================================================================
MenuItemType code PowerOffMenuItems[] =
{
{
0, 1, // XPos, YPos;
CT_MENU_NORMAL, CT_MENU_NORMAL, // UnSelColorType, SelColorType;
MENU_POWER_ON, // NextMenuPage;
DWI_NOTHING, // DrawMenuItemType;
NULL, // DisplayText;
PowerKeyEvent, // KeyEvent
{
NULL, // AdjustFunction
NULL // ExecFunction
},
NULL, // DrawSubMenuGroup
MI_SELECTABLE // Flags
}
};
//============================================================================
MenuItemType code StandbyMenuItems[] =
{
{
2, 1, // XPos, YPos;
CT_MENU_NORMAL, CT_MENU_NORMAL, // UnSelColorType, SelColorType;
MENU_ROOT, //NextMenuPage;
DWI_TEXT, // DrawMenuItemType;
NoSyncText, // DisplayText;
RootKeyEvent, //KeyEvent
{
NULL, // AdjustFunction
NULL // ExecFunction
},
NULL,
MI_SELECTABLE // Flags
}
};
//============================================================================
MenuItemType code UnsupportedMenuItems[] =
{
{
1, 1, //XPos, YPos;
CT_MENU_NORMAL, CT_MENU_NORMAL, //UnSelColorType, SeelColorType;
MENU_ROOT, //NextMenuPage;
DWI_TEXT, //DrawMenuItemType;
UnsupportedText, //DisplayText;
RootKeyEvent, //KeyEvent
{
NULL, //AdjustFunction
NULL //ExecFunction
},
NULL,
MI_SELECTABLE //Flags
}
};
//============================================================================
MenuItemType code RootMenuItems[]=
{ // virtual item
{
0, 1, // XPos, YPos;
CT_MENU_NORMAL, CT_MENU_NORMAL, // UnSelColorType, SelColorType;
MENU_MAIN, //NextMenuPage;
DWI_NOTHING, // DrawMenuItemType;
NULL, // DisplayText;
RootKeyEvent,
{
NULL, // AdjustFunction
NULL // ExecFunction
},
NULL, // DrawSubMenuGroup
MI_SELECTABLE // Flags
}
};
//============================================================================
DrawSubMenuGroupType code PictureSubMenuGroup[]=
{ // Flags, UnSelColorType, SelColorType, XPos,YPos, Length, DisplayText, GetValue
{ DSI_TEXT|DSI_END, CT_SUB_MENU_TITLE_TXT, CT_SUB_MENU_TITLE_TXT, SUB_TITLE_TX, SUB_TITLE_TY, NULL, PictureTitleText, NULL },
};
DrawSubMenuGroupType code SoundSubMenuGroup[]=
{ // Flags, UnSelColorType, SelColorType, XPos,YPos, Length, DisplayText, GetValue
{ DSI_TEXT|DSI_END, CT_SUB_MENU_TITLE_TXT, CT_SUB_MENU_TITLE_TXT, SUB_TITLE_TX, SUB_TITLE_TY, NULL, SoundTitleText, NULL },
};
DrawSubMenuGroupType code ChannelSubMenuGroup[]=
{ // Flags, UnSelColorType, SelColorType, XPos,YPos, Length, DisplayText, GetValue
{ DSI_TEXT|DSI_END, CT_SUB_MENU_TITLE_TXT, CT_SUB_MENU_TITLE_TXT, SUB_TITLE_TX, SUB_TITLE_TY, NULL, ChannelTitleText, NULL },
};
DrawSubMenuGroupType code FunctionSubMenuGroup[]=
{ // Flags, UnSelColorType, SelColorType, XPos,YPos, Length, DisplayText, GetValue
{ DSI_TEXT|DSI_END, CT_SUB_MENU_TITLE_TXT, CT_SUB_MENU_TITLE_TXT, SUB_TITLE_TX, SUB_TITLE_TY, NULL, FunctionTitleText, NULL},
};
DrawSubMenuGroupType code PcSubMenuGroup[]=
{ // Flags, UnSelColorType, SelColorType, XPos,YPos, Length, DisplayText, GetValue
{ DSI_TEXT|DSI_END, CT_SUB_MENU_TITLE_TXT, CT_SUB_MENU_TITLE_TXT, SUB_TITLE_TX, SUB_TITLE_TY, NULL, PcTitleText, NULL },
};
DrawSubMenuGroupType code GeometrySubMenuGroup[]=
{
{ DSI_TEXT|DSI_END, CT_SUB_MENU_TITLE_TXT, CT_SUB_MENU_TITLE_TXT, SUB_TITLE_TX, SUB_TITLE_TY, NULL, PCGeometryTitleText, NULL },
};
DrawSubMenuGroupType code OsdSubMenuGroup[]=
{ // Flags, UnSelColorType, SelColorType, XPos,YPos, Length, DisplayText, GetValue
{ DSI_TEXT|DSI_END, CT_SUB_MENU_TITLE_TXT, CT_SUB_MENU_TITLE_TXT, SUB_TITLE_TX, SUB_TITLE_TY, NULL, OsdTitleText, NULL },
};
MenuItemType code MainMenuItems[]=
{
// Picture Item
{
POSITION_X_AUTO, POSITION_Y_AUTO, // XPos, YPos;
CT_MENU_COLORICON, NULL, // UnSelColorType, SelColorType;
MENU_PICTURE, //NextMenuPage;
DWI_COLORICON, // DrawMenuItemType;
PictureIcon, // DisplayText;
MainMenuNaviKeyEvent,
{
NULL, // AdjustFunction
NULL // ExecFunction
},
PictureSubMenuGroup, // DrawSubMenuGroup
MI_VIDEO_ONLY // Flags
},
// Pc Item
{
POSITION_X_AUTO, POSITION_Y_AUTO, // XPos, YPos;
CT_MENU_COLORICON, NULL, // UnSelColorType, SelColorType;
MENU_PC, // NextMenuPage;
DWI_COLORICON, // DrawMenuItemType;
PcIcon, // DisplayText;
MainMenuNaviKeyEvent,
{
NULL, // AdjustFunction
NULL // ExecFunction
},
PcSubMenuGroup, // DrawSubMenuGroup
MI_PC_ONLY // Flags
},
// Sound Item
{
POSITION_X_AUTO, POSITION_Y_AUTO, // XPos, YPos;
CT_MENU_COLORICON, NULL, // UnSelColorType, SelColorType;
MENU_SOUND, //NextMenuPage;
DWI_COLORICON, // DrawMenuItemType;
SoundIcon, // DisplayText;
MainMenuNaviKeyEvent,
{
NULL, // AdjustFunction
NULL // ExecFunction
},
SoundSubMenuGroup, // DrawSubMenuGroup
MI_SELECTABLE // Flags
},
// Function Item
{
POSITION_X_AUTO, POSITION_Y_AUTO, // XPos, YPos;
CT_MENU_COLORICON, NULL, // UnSelColorType, SelColorType;
MENU_FUNCTION, //NextMenuPage;
DWI_COLORICON, // DrawMenuItemType;
FunctionIcon, // DisplayText;
MainMenuNaviKeyEvent,
{
NULL, // AdjustFunction
NULL // ExecFunction
},
FunctionSubMenuGroup, // DrawSubMenuGroup
MI_VIDEO_ONLY // Flags
},
// Geometry Item
{
POSITION_X_AUTO, POSITION_Y_AUTO, // XPos, YPos;
CT_MENU_COLORICON, NULL, // UnSelColorType, SelColorType;
MENU_PC_GEOMETRY, //NextMenuPage;
DWI_COLORICON, // DrawMenuItemType;
FunctionIcon, // DisplayText;
MainMenuNaviKeyEvent,
{
NULL, // AdjustFunction
NULL // ExecFunction
},
GeometrySubMenuGroup, // DrawSubMenuGroup
MI_PC_ONLY // Flags
},
// System Item
{
POSITION_X_AUTO, POSITION_Y_AUTO, // XPos, YPos;
CT_MENU_COLORICON, NULL, // UnSelColorType, SelColorType;
MENU_OSD, // NextMenuPage;
DWI_COLORICON, // DrawMenuItemType;
OsdIcon, // DisplayText;
MainMenuNaviKeyEvent,
{
NULL, // AdjustFunction
NULL // ExecFunction
},
OsdSubMenuGroup, // DrawSubMenuGroup
MI_SELECTABLE // Flags
},
// Channel Item
{
POSITION_X_AUTO, POSITION_Y_AUTO, // XPos, YPos;
CT_MENU_COLORICON, NULL, // UnSelColorType, SelColorType;
MENU_CHANNEL, //NextMenuPage;
DWI_COLORICON, // DrawMenuItemType;
ChannelIcon, // DisplayText;
MainMenuNaviKeyEvent,
{
NULL, // AdjustFunction
NULL // ExecFunction
},
ChannelSubMenuGroup, // DrawSubMenuGroup
MI_TV_ONLY // Flags
}
};
//============================================================================
DrawSubMenuGroupType code PictureContrastSubMenuGroup[]=
{ // Flags, UnSelColorType, SelColorType, XPos,YPos, Length, DisplayText, GetValue
{ DSI_COLORGAUGE|DSI_END,CT_MENU_PICTURE, CT_MENU_PICTURE_BAR_SEL, SUB_ITEM1_BAR_X, SUB_ITEM1_Y, SUB_BAR_LEN, NULL, GetPictureContrastValue}
};
DrawSubMenuGroupType code PictureBrightnessSubMenuGroup[]=
{ // Flags, UnSelColorType, SelColorType, XPos,YPos, Length, DisplayText, GetValue
{ DSI_COLORGAUGE|DSI_END,CT_MENU_PICTURE, CT_MENU_PICTURE_BAR_SEL, SUB_ITEM2_BAR_X, SUB_ITEM2_Y, SUB_BAR_LEN, NULL, GetPictureBrightnessValue}
};
DrawSubMenuGroupType code PictureHueSubMenuGroup[]=
{ // Flags, UnSelColorType, SelColorType, XPos,YPos, Length, DisplayText, GetValue
{ DSI_COLORGAUGE|DSI_END,CT_MENU_PICTURE, CT_MENU_PICTURE_BAR_SEL, SUB_ITEM3_BAR_X, SUB_ITEM3_Y, SUB_BAR_LEN, NULL, GetPictureHueValue}
};
DrawSubMenuGroupType code PictureSaturationSubMenuGroup[]=
{ // Flags, UnSelColorType, SelColorType, XPos,YPos, Length, DisplayText, GetValue
{ DSI_COLORGAUGE|DSI_END,CT_MENU_PICTURE, CT_MENU_PICTURE_BAR_SEL, SUB_ITEM4_BAR_X, SUB_ITEM4_Y, SUB_BAR_LEN, NULL, GetPictureSaturationValue}
};
DrawSubMenuGroupType code PictureSharpnesseSubMenuGroup[]=
{ // Flags, UnSelColorType, SelColorType, XPos,YPos, Length, DisplayText, GetValue
{ DSI_COLORGAUGE|DSI_END,CT_MENU_PICTURE, CT_MENU_PICTURE_BAR_SEL, SUB_ITEM5_BAR_X, SUB_ITEM5_Y, SUB_BAR_LEN, NULL, GetPictureSharpnessValue}
};
DrawSubMenuGroupType code PictureColorSubMenuGroup[]=
{ // Flags, UnSelColorType, SelColorType, XPos,YPos, Length, DisplayText, GetValue
{ DSI_TEXT, CT_MENU_PICTURE, CT_MENU_PICTURE_ADJ_SEL, SUB_ITEM6_SEL_X, SUB_ITEM6_Y, SUB_SEL_LEN, BracketLRText, NULL},
{ DSI_TEXT|DSI_END, CT_MENU_PICTURE, CT_MENU_PICTURE_ADJ_SEL, SUB_ITEM6_SEL_TX, SUB_ITEM6_Y, NULL, PictureColorToneSelectText, NULL}
};
DrawSubMenuGroupType code PictureScaleSubMenuGroup[]=
{ // Flags, UnSelColorType, SelColorType, XPos,YPos, Length, DisplayText, GetValue
{ DSI_TEXT, CT_MENU_PICTURE, CT_MENU_PICTURE_ADJ_SEL, SUB_ITEM7_SEL_X, SUB_ITEM7_Y, SUB_SEL_LEN, BracketLRText, NULL},
{ DSI_TEXT|DSI_END, CT_MENU_PICTURE, CT_MENU_PICTURE_ADJ_SEL, SUB_ITEM7_SEL_TX, SUB_ITEM7_Y, NULL, PictureScaleSelectText, NULL}
};
DrawSubMenuGroupType code PicturePictureModeSubMenuGroup[]=
{ // Flags, UnSelColorType, SelColorType, XPos,YPos, Length, DisplayText, GetValue
{ DSI_TEXT, CT_MENU_PICTURE, CT_MENU_PICTURE_ADJ_SEL, SUB_ITEM8_SEL_X, SUB_ITEM8_Y, SUB_SEL_LEN, BracketLRText, NULL},
{ DSI_TEXT|DSI_END, CT_MENU_PICTURE, CT_MENU_PICTURE_ADJ_SEL, SUB_ITEM8_SEL_TX, SUB_ITEM8_Y, NULL, PicturePictureModeSelectText, NULL},
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -