⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 menutbl_new_ntsc.c

📁 lcd tv : MST9E19A原代码
💻 C
📖 第 1 页 / 共 5 页
字号:
        DWI_TEXT,       // DrawMenuItemType;
        SoundSoundModeText,// DisplayText;
        NaviAdjustKeyEvent,
        {
            AdjustSoundSoundMode,   // AdjustFunction
            NULL,   // ExecFunction
        },
        SoundSoundModeSubMenuGroup, // DrawSubMenuGroup
        MI_SELECTABLE   // Flags
    },
    // Sub Woofer
    {
        SUB_ITEM6_X, SUB_ITEM6_Y, // XPos, YPos;
        CT_MENU_SOUND, CT_MENU_SOUND_TXT_SEL,  // UnSelColorType, SelColorType;
        NULL,       // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        SubWooferText,// DisplayText;
        NaviExecKeyEvent,
        {
            NULL,   // AdjustFunction
            ExecSoundSubWoofer,   // ExecFunction
        },
        SubWooferSubMenuGroup, // DrawSubMenuGroup
        MI_SELECTABLE   // Flags
    },
    // AVC
    {
        SUB_ITEM7_X, SUB_ITEM7_Y, // XPos, YPos;
        CT_MENU_SOUND, CT_MENU_SOUND_TXT_SEL,  // UnSelColorType, SelColorType;
        NULL,       // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        AVCText,// DisplayText;
        NaviExecKeyEvent,
        {
            NULL,   // AdjustFunction
            ExecSoundAVC,   // ExecFunction
        },
        AVCSubMenuGroup, // DrawSubMenuGroup
        MI_SELECTABLE   // Flags
    },
    // Loudness
    {
        SUB_ITEM8_X, SUB_ITEM8_Y, // XPos, YPos;
        CT_MENU_SOUND, CT_MENU_SOUND_TXT_SEL,  // UnSelColorType, SelColorType;
        NULL,       // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        LoudnessText,// DisplayText;
        NaviExecKeyEvent,
        {
            AdjustSoundLoudness,   // AdjustFunction
            NULL,   // ExecFunction
        },
        LoudnessSubMenuGroup, // DrawSubMenuGroup
        MI_SELECTABLE   // Flags
    },
    // Super Bass
    {
        SUB_ITEM9_X, SUB_ITEM9_Y, // XPos, YPos;
        CT_MENU_SOUND, CT_MENU_SOUND_TXT_SEL,  // UnSelColorType, SelColorType;
        NULL,       // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        SuperBassText,// DisplayText;
        NaviExecKeyEvent,
        {
            AdjustSoundSuperBass,   // AdjustFunction
            NULL,   // ExecFunction
        },
        SuperBassSubMenuGroup, // DrawSubMenuGroup
        MI_SELECTABLE   // Flags
    }
};
//============================================================================
DrawSubMenuGroupType code Function3DNRSubMenuGroup[]=
{ //  Flags,                UnSelColorType,      SelColorType,            XPos,YPos,  Length, DisplayText,                    GetValue
    { DSI_TEXT,             CT_MENU_FUNCTION,    CT_MENU_FUNCTION_ADJ_SEL,  SUB_ITEM1_SEL_X,  SUB_ITEM1_Y,    SUB_SEL_LEN,     BracketLRText,                  NULL},
    { DSI_TEXT|DSI_END,     CT_MENU_FUNCTION,    CT_MENU_FUNCTION_ADJ_SEL,  SUB_ITEM1_SEL_TX,  SUB_ITEM1_Y,    NULL,   Function3DNRSelectText,         NULL}
};

#if( ENABLE_CC_VCHIP )
DrawSubMenuGroupType code FunctionClosedCaptionSubMenuGroup[]=
{ //  Flags,                UnSelColorType,      SelColorType,            XPos,YPos,  Length, DisplayText,                    GetValue
    { DSI_TEXT,             CT_MENU_FUNCTION,     CT_MENU_FUNCTION_ADJ_SEL, SUB_ITEM2_SEL_X,  SUB_ITEM2_Y,     SUB_SEL_LEN,     BracketLRText,                  NULL},
    { DSI_TEXT|DSI_END,     CT_MENU_FUNCTION,     CT_MENU_FUNCTION_ADJ_SEL, SUB_ITEM2_SEL_TX,  SUB_ITEM2_Y,     NULL,   FunctionClosedCaptionSelectText,NULL}
};

DrawSubMenuGroupType code FunctionParentCtlSubMenuGroup[]=
{ //  Flags,                UnSelColorType,      SelColorType,            XPos,YPos,  Length, DisplayText,                    GetValue
    { DSI_TEXT|DSI_END,     CT_MENU_FUNCTION,     CT_MENU_FUNCTION_ADJ_SEL, SUB_ITEM3_SEL_X,  SUB_ITEM3_Y,    SUB_SEL_LEN,     BracketRText,                   NULL}
};
#endif

MenuItemType code FunctionMenuItems[]=
{
    // 3DNR Item
    {
        SUB_ITEM1_X, SUB_ITEM1_Y, // XPos, YPos;
        CT_MENU_FUNCTION, CT_MENU_FUNCTION_TXT_SEL,  // UnSelColorType, SelColorType;
        NULL,      // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        FunctionDemo3DNRText,// DisplayText;
        NaviExecKeyEvent,
        {
            NULL,   // AdjustFunction
            ExecFunction3DNRAdjust    // ExecFunction
        },
        Function3DNRSubMenuGroup, // DrawSubMenuGroup
        MI_SELECTABLE // Flags
    },
#if( ENABLE_CC_VCHIP )
    // Closed Caption Item
    {
        SUB_ITEM2_X, SUB_ITEM2_Y, // XPos, YPos;
        CT_MENU_FUNCTION, CT_MENU_FUNCTION_TXT_SEL,  // UnSelColorType, SelColorType;
        NULL,      // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        FunctionClosedCaptionText,// DisplayText;
        NaviExecKeyEvent,
        {
            NULL,   // AdjustFunction
            ExecFunctionClosedCaptionAdjust    // ExecFunction
        },
        FunctionClosedCaptionSubMenuGroup, // DrawSubMenuGroup
        MI_SELECTABLE // Flags
    },
    // Parent Control Item
    {
        SUB_ITEM3_X, SUB_ITEM3_Y, // XPos, YPos;
        CT_MENU_FUNCTION, CT_MENU_FUNCTION_TXT_SEL,  // UnSelColorType, SelColorType;
        MENU_PARENTCTLPASSWORD,      // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        FunctionParentCtlText, // DisplayText;
        NaviKeyEvent,
        {
            NULL,   // AdjustFunction
            NULL    // ExecFunction
        },
        FunctionParentCtlSubMenuGroup, // DrawSubMenuGroup
        MI_SELECTABLE // Flags
    },
#endif
};

//===========================================================================
DrawSubMenuGroupType code PcGeometryHPositionSubMenuGroup[]=
{ //  Flags,                UnSelColorType,      SelColorType,            XPos,YPos,  Length, DisplayText,    GetValue
    { DSI_COLORGAUGE|DSI_END,CT_MENU_PCGEOMETRY,          CT_MENU_PCGEOMETRY_BAR_SEL,      SUB_ITEM1_BAR_X,  SUB_ITEM1_Y,     SUB_BAR_LEN,     NULL,           GetPcHPositionValue}
};

DrawSubMenuGroupType code PcGeometryVPositionSubMenuGroup[]=
{ //  Flags,                UnSelColorType,      SelColorType,            XPos,YPos,  Length, DisplayText,    GetValue
    { DSI_COLORGAUGE|DSI_END,CT_MENU_PCGEOMETRY,          CT_MENU_PCGEOMETRY_BAR_SEL,      SUB_ITEM2_BAR_X,  SUB_ITEM2_Y,    SUB_BAR_LEN,     NULL,           GetPcVPositionValue}
};

DrawSubMenuGroupType code PcGeometryClockSubMenuGroup[]=
{ //  Flags,                UnSelColorType,      SelColorType,            XPos,YPos,  Length, DisplayText,    GetValue
    { DSI_COLORGAUGE|DSI_END,CT_MENU_PCGEOMETRY,          CT_MENU_PCGEOMETRY_BAR_SEL,      SUB_ITEM3_BAR_X,  SUB_ITEM3_Y,    SUB_BAR_LEN,     NULL,           GetPcClockValue}
};

DrawSubMenuGroupType code PcGeometryPhaseSubMenuGroup[]=
{ //  Flags,                UnSelColorType,      SelColorType,            XPos,YPos,  Length, DisplayText,    GetValue
    { DSI_COLORGAUGE|DSI_END,CT_MENU_PCGEOMETRY,          CT_MENU_PCGEOMETRY_BAR_SEL,      SUB_ITEM4_BAR_X,  SUB_ITEM4_Y,    SUB_BAR_LEN,     NULL,           GetPcPhaseValue}
};

MenuItemType code PcGeometryMenuItems[]=
{
    // H-Position Item
    {
        SUB_ITEM1_X, SUB_ITEM1_Y, // XPos, YPos;
        CT_MENU_PCGEOMETRY, CT_MENU_PCGEOMETRY_TXT_SEL,  // UnSelColorType, SelColorType;
        MENU_PC_SUB_HPOSITION,   // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        PcHPositionText, // DisplayText;
        NaviKeyEvent,
        {
            NULL,   // AdjustFunction
            NULL    // ExecFunction
        },
        PcGeometryHPositionSubMenuGroup, // DrawSubMenuGroup
        MI_VGA_ONLY // Flags
    },
    // V-Position Item
    {
        SUB_ITEM2_X, SUB_ITEM2_Y, // XPos, YPos;
        CT_MENU_PCGEOMETRY, CT_MENU_PCGEOMETRY_TXT_SEL,  // UnSelColorType, SelColorType;
        MENU_PC_SUB_VPOSITION,    // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        PcVPositionText,  // DisplayText;
        NaviKeyEvent,
        {
            NULL,   // AdjustFunction
            NULL    // ExecFunction
        },
        PcGeometryVPositionSubMenuGroup, // DrawSubMenuGroup
        MI_VGA_ONLY // Flags
    },
    // Clock Item
    {
        SUB_ITEM3_X, SUB_ITEM3_Y, // XPos, YPos;
        CT_MENU_PCGEOMETRY, CT_MENU_PCGEOMETRY_TXT_SEL,  // UnSelColorType, SelColorType;
        MENU_PC_SUB_CLOCK,    // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        PcClockText,  // DisplayText;
        NaviKeyEvent,
        {
            NULL,   // AdjustFunction
            NULL    // ExecFunction
        },
        PcGeometryClockSubMenuGroup, // DrawSubMenuGroup
        MI_VGA_ONLY // Flags
    },
    // Phase Item
    {
        SUB_ITEM4_X, SUB_ITEM4_Y, // XPos, YPos;
        CT_MENU_PCGEOMETRY, CT_MENU_PCGEOMETRY_TXT_SEL,  // UnSelColorType, SelColorType;
        MENU_PC_SUB_PHASE,    // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        PcPhaseText,  // DisplayText;
        NaviKeyEvent,
        {
            NULL,   // AdjustFunction
            NULL    // ExecFunction
        },
        PcGeometryPhaseSubMenuGroup, // DrawSubMenuGroup
        MI_VGA_ONLY // Flags
    },
};

//============================================================================
DrawSubMenuGroupType code OsdSleepTimerSubMenuGroup[]=
{ //  Flags,                UnSelColorType,      SelColorType,            XPos,YPos,  Length, DisplayText,                    GetValue
    { DSI_TEXT,             CT_MENU_OSD,    CT_MENU_OSD_ADJ_SEL,SUB_ITEM1_SEL_X,  SUB_ITEM1_Y,     SUB_SEL_LEN,     BracketLRText,                  NULL},
    { DSI_TEXT|DSI_END,     CT_MENU_OSD,    CT_MENU_OSD_ADJ_SEL,SUB_ITEM1_SEL_TX,  SUB_ITEM1_Y,     NULL,   OsdSleepTimerSelectText,   NULL}
};
DrawSubMenuGroupType code OsdLanguageSubMenuGroup[]=
{ //  Flags,                UnSelColorType,      SelColorType,            XPos,YPos,  Length, DisplayText,             GetValue
    { DSI_TEXT,             CT_MENU_OSD,         CT_MENU_OSD_ADJ_SEL,     SUB_ITEM2_SEL_X,  SUB_ITEM2_Y,     SUB_SEL_LEN,     BracketLRText,           NULL},
    { DSI_TEXT|DSI_END,     CT_MENU_OSD,         CT_MENU_OSD_ADJ_SEL,     SUB_ITEM2_SEL_TX,  SUB_ITEM2_Y,     NULL,   OsdLanguageSelectText,   NULL}
};
DrawSubMenuGroupType code OsdHpositionSubMenuGroup[]=
{ //  Flags,                UnSelColorType,      SelColorType,            XPos,YPos,  Length, DisplayText,             GetValue
    { DSI_COLORGAUGE|DSI_END,CT_MENU_OSD,         CT_MENU_OSD_BAR_SEL,     SUB_ITEM3_BAR_X,  SUB_ITEM3_Y,     SUB_BAR_LEN,     NULL,                    GetOsdHpositionValue}
};
DrawSubMenuGroupType code OsdVpositionSubMenuGroup[]=
{ //  Flags,                UnSelColorType,      SelColorType,            XPos,YPos,  Length, DisplayText,             GetValue
    { DSI_COLORGAUGE|DSI_END,CT_MENU_OSD,         CT_MENU_OSD_BAR_SEL,     SUB_ITEM4_BAR_X,  SUB_ITEM4_Y,    SUB_BAR_LEN,     NULL,                    GetOsdVpositionValue}
};
DrawSubMenuGroupType code OsdDurationSubMenuGroup[]=
{ //  Flags,                UnSelColorType,      SelColorType,            XPos,YPos,  Length, DisplayText,             GetValue
    { DSI_COLORGAUGE|DSI_END,CT_MENU_OSD,         CT_MENU_OSD_BAR_SEL,     SUB_ITEM5_BAR_X,  SUB_ITEM5_Y,    SUB_BAR_LEN,     NULL,                    GetOsdDurationValue}
};
DrawSubMenuGroupType code OsdHalftoneSubMenuGroup[]=
{ //  Flags,                UnSelColorType,      SelColorType,            XPos,YPos,  Length, DisplayText,             GetValue
    { DSI_COLORGAUGE|DSI_END,CT_MENU_OSD,         CT_MENU_OSD_BAR_SEL,     SUB_ITEM6_BAR_X,  SUB_ITEM6_Y,    SUB_BAR_LEN,     NULL,                    GetOsdHalftoneValue}
};
DrawSubMenuGroupType code OsdInformationSubMenuGroup[]=
{ //  Flags,                UnSelColorType,      SelColorType,            XPos,YPos,  Length, DisplayText,             GetValue
    { DSI_TEXT|DSI_END,     CT_MENU_OSD,         CT_MENU_OSD_ADJ_SEL,     SUB_ITEM7_SEL_X,   SUB_ITEM7_Y,    SUB_SEL_LEN,   BracketRText,      NULL}
};
DrawSubMenuGroupType code OsdMemoryRecallSubMenuGroup[]=
{ //  Flags,                UnSelColorType,      SelColorType,            XPos,YPos,  Length, DisplayText,             GetValue
    { DSI_TEXT|DSI_END,     CT_MENU_OSD,         CT_MENU_OSD_ADJ_SEL,     SUB_ITEM8_X,   SUB_ITEM8_Y,    NULL,   OsdMemoryRecallText,     NULL}
};

MenuItemType code OsdMenuItems[]=
{
    // Sleep Time Item
    {
        SUB_ITEM1_X, SUB_ITEM1_Y, // XPos, YPos;
        CT_MENU_OSD, CT_MENU_OSD_TXT_SEL,  // UnSelColorType, SelColorType;
        NULL,      // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        OsdSleepTimerText, // DisplayText;
        NaviAdjustKeyEvent,
        {
            AdjustSleepTimer,   // AdjustFunction
            NULL   // ExecFunction
        },
        OsdSleepTimerSubMenuGroup, // DrawSubMenuGroup
        MI_SELECTABLE // Flags
    },
    // Language Item
    {
        SUB_ITEM2_X, SUB_ITEM2_Y,                       // XPos, YPos;
        CT_MENU_OSD, CT_MENU_OSD_TXT_SEL,  // UnSelColorType, SelColorType;
        NULL,                       // NextMenuPage;
        DWI_TEXT,                   // DrawMenuItemType;
        OsdLanguageText,            // DisplayText;
        NaviAdjustKeyEvent,
        {
            AdjustOsdLanguageAdjust,   // AdjustFunction
            NULL    // ExecFunction
        },
        OsdLanguageSubMenuGroup, // DrawSubMenuGroup
        MI_SELECTABLE // Flags
    },
    // H-Position Item
    {
        SUB_ITEM3_X, SUB_ITEM3_Y, // XPos, YPos;
        CT_MENU_OSD, CT_MENU_OSD_TXT_SEL,  // UnSelColorType, SelColorType;
        NULL,     // NextMenuPage;
        DWI_TEXT,                   // DrawMenuItemType;
        OsdHpositionText,            // DisplayText;
        NaviAdjustRepeatKeyEvent,
        {
            AdjustOsdHPosition,   // AdjustFunction
            NULL    // ExecFunction
        },
        OsdHpositionSubMenuGroup, // DrawSubMenuGroup
        MI_SELECTABLE // Flags
    },
    // V-Position Item
    {
        SUB_ITEM4_X, SUB_ITEM4_Y, // XPos, YPos;
        CT_MENU_OSD, CT_MENU_OSD_TXT_SEL,  // UnSelColorType, SelColorType;
        NULL,     // NextMenuPage;
        DWI_TEXT,                   // DrawMenuItemType;
        OsdVpositionText,            // DisplayText;
        NaviAdjustRepeatKeyEvent,
        {
            AdjustOsdVPosition,   // AdjustFunction
            NULL    // ExecFunction
        },
        OsdVpositionSubMenuGroup, // DrawSubMenuGroup
        MI_SELECTABLE // Flags
    },
    // Duration Item
    {
        SUB_ITEM5_X, SUB_ITEM5_Y, // XPos, YPos;
        CT_MENU_OSD, CT_MENU_OSD_TXT_SEL,  // UnSelColorType, SelColorType;
        MENU_OSD_SUB_DURATION,     // NextMenuPage;
        DWI_TEXT,                   // DrawMenuItemType;
        OsdDurationText,            // DisplayText;
        NaviKeyEvent,
        {
            NULL,   // AdjustFunction
            NULL    // ExecFunction
        },

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -