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

📄 menutbl_new_pal.c

📁 lcd tv : MST9E19A原代码
💻 C
📖 第 1 页 / 共 5 页
字号:
    {
        SUB_ITEM2_X, SUB_ITEM2_Y, // XPos, YPos;
        CT_MENU_SOUND, CT_MENU_SOUND_TXT_SEL,  // UnSelColorType, SelColorType;
        MENU_SOUND_SUB_TREBLE,       // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        SoundTrebleText,// DisplayText;
        NaviKeyEvent,
        {
            NULL,   // AdjustFunction
            NULL    // ExecFunction
        },
        SoundTrebleSubMenuGroup, // DrawSubMenuGroup
        MI_DYNAMIC1 // Flags
    },
    // Balance Item
    {
        SUB_ITEM3_X, SUB_ITEM3_Y, // XPos, YPos;
        CT_MENU_SOUND, CT_MENU_SOUND_TXT_SEL,  // UnSelColorType, SelColorType;
        MENU_SOUND_SUB_BALANCE,        // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        SoundBalanceText,// DisplayText;
        NaviKeyEvent,
        {
            NULL,   // AdjustFunction
            NULL    // ExecFunction
        },
        SoundBalanceSubMenuGroup, // DrawSubMenuGroup
        MI_SELECTABLE // Flags
    },
    // MTS Item
    {
        SUB_ITEM4_X, SUB_ITEM4_Y, // XPos, YPos;
        CT_MENU_SOUND, CT_MENU_SOUND_TXT_SEL,  // UnSelColorType, SelColorType;
        NULL, // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        SoundMtsText,   // DisplayText;
        NaviAdjustKeyEvent,
        {
            AdjustMTSMode,   // AdjustFunction
            NULL,    // ExecFunction
        },
        SoundMtsSubMenuGroup, // DrawSubMenuGroup
        MI_TV_ONLY   // Flags
    },
    // Sound Mode Item
    {
        SUB_ITEM5_X, SUB_ITEM5_Y, // XPos, YPos;
        CT_MENU_SOUND, CT_MENU_SOUND_TXT_SEL,  // UnSelColorType, SelColorType;
        NULL,       // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        SoundSoundModeText,// DisplayText;
        NaviAdjustKeyEvent,
        {
            AdjustSoundSoundMode,   // AdjustFunction
            NULL,   // ExecFunction
        },
        SoundSoundModeSubMenuGroup, // DrawSubMenuGroup
        MI_SELECTABLE   // Flags
    },
    // Equalizer Item
    {
        SUB_ITEM6_X, SUB_ITEM6_Y, // XPos, YPos;
        CT_MENU_SOUND, CT_MENU_SOUND_TXT_SEL,  // UnSelColorType, SelColorType;
        MENU_SOUND_SUB_EQUALIZER,       // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        SoundEqualizerText,// DisplayText;
        NaviKeyEvent,
        {
            NULL,   // AdjustFunction
            NULL,   // ExecFunction
        },
        SoundEqualizerSubMenuGroup, // DrawSubMenuGroup
        MI_DYNAMIC1   // Flags
    },
    // Sub Woofer
    {
        SUB_ITEM7_X, SUB_ITEM7_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_ITEM8_X, SUB_ITEM8_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_ITEM9_X, SUB_ITEM9_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_ITEM10_X, SUB_ITEM10_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_TTX )
DrawSubMenuGroupType code FunctionTtxLangSubMenuGroup[]=
{ //  Flags,                UnSelColorType,      SelColorType,            XPos,YPos,  Length, DisplayText,                    GetValue
    { DSI_TEXT,             CT_MENU_CHANNEL,     CT_MENU_CHANNEL_ADJ_SEL, SUB_ITEM2_SEL_X,  SUB_ITEM2_Y,     SUB_SEL_LEN,     BracketLRText,                  NULL},
    { DSI_TEXT|DSI_END,     CT_MENU_CHANNEL,     CT_MENU_CHANNEL_ADJ_SEL, SUB_ITEM2_SEL_TX,  SUB_ITEM2_Y,     NULL,   TtxLangSelText,NULL}
};
#endif
#if(USE_SCART_PIN8)
DrawSubMenuGroupType code ScartFunctionAutoFormatSubMenuGroup[]=
{ //  Flags,            UnSelColorType,          SelColorType,            XPos,YPos,  Length, DisplayText,                GetValue
    { DSI_TEXT,             CT_MENU_FUNCTION,     CT_MENU_FUNCTION_ADJ_SEL,         SUB_ITEM3_SEL_X,    SUB_ITEM3_Y,     SUB_SEL_LEN,   BracketLRText,                      NULL},
    { DSI_TEXT|DSI_END,     CT_MENU_FUNCTION,     CT_MENU_FUNCTION_ADJ_SEL,         SUB_ITEM3_SEL_TX,   SUB_ITEM3_Y,     NULL,          ScartFunctionAutoFormatSelectText,  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_TTX )
    // TTX Language Item
    {
        SUB_ITEM2_X, SUB_ITEM2_Y, // XPos, YPos;
        CT_MENU_CHANNEL, CT_MENU_CHANNEL_TXT_SEL,  // UnSelColorType, SelColorType;
        NULL,      // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        TtxLanguageText,// DisplayText;
        NaviAdjustKeyEvent,
        {
            AdjustTtxLanguage,   // AdjustFunction
            NULL    // ExecFunction
        },
        FunctionTtxLangSubMenuGroup, // DrawSubMenuGroup
        MI_SELECTABLE // Flags
    },
#endif
#if(USE_SCART_PIN8)
    // Auto format
    {
        SUB_ITEM3_X, SUB_ITEM3_Y, // XPos, YPos;
        CT_MENU_FUNCTION, CT_MENU_FUNCTION_TXT_SEL,  // UnSelColorType, SelColorType;
        NULL,      // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        ScartFunctionAutoFormat, // DisplayText;
        NaviAdjustKeyEvent,
        {
            AdjustAutoFormat,   // AdjustFunction
            NULL   // ExecFunction
        },
        ScartFunctionAutoFormatSubMenuGroup, // 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;

⌨️ 快捷键说明

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