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

📄 menutbl_new_pal.c

📁 lcd tv : MST9E19A原代码
💻 C
📖 第 1 页 / 共 5 页
字号:
        },
        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},
};

MenuItemType code PictureMenuItems[]=
{
    // Contrast Item
    {
        SUB_ITEM1_X, SUB_ITEM1_Y, // XPos, YPos;
        CT_MENU_PICTURE, CT_MENU_PICTURE_TXT_SEL,  // UnSelColorType, SelColorType;
        MENU_PICTURE_SUB_CONTRAST,      // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        PictureContrastText,   // DisplayText;
        NaviKeyEvent,
        {
            NULL,   // AdjustFunction
            NULL    // ExecFunction
        },
        PictureContrastSubMenuGroup, // DrawSubMenuGroup
        MI_DYNAMIC0 // Flags
    },
    // Brightness Item
    {
        SUB_ITEM2_X, SUB_ITEM2_Y, // XPos, YPos;
        CT_MENU_PICTURE, CT_MENU_PICTURE_TXT_SEL,  // UnSelColorType, SelColorType;
        MENU_PICTURE_SUB_BRIGHTNESS,        // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        PictureBrightnessText,// DisplayText;
        NaviKeyEvent,
        {
            NULL,   // AdjustFunction
            NULL    // ExecFunction
        },
        PictureBrightnessSubMenuGroup, // DrawSubMenuGroup
        MI_DYNAMIC0 // Flags
    },
    // Hue Item
    {
        SUB_ITEM3_X, SUB_ITEM3_Y, // XPos, YPos;
        CT_MENU_PICTURE, CT_MENU_PICTURE_TXT_SEL,  // UnSelColorType, SelColorType;
        MENU_PICTURE_SUB_HUE,       // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        PictureHueText,// DisplayText;
        NaviKeyEvent,
        {
            NULL,   // AdjustFunction
            NULL    // ExecFunction
        },
        PictureHueSubMenuGroup, // DrawSubMenuGroup
        MI_NTSC_ONLY // Flags
    },
    // Saturation Item
    {
        SUB_ITEM4_X, SUB_ITEM4_Y, // XPos, YPos;
        CT_MENU_PICTURE, CT_MENU_PICTURE_TXT_SEL,  // UnSelColorType, SelColorType;
        MENU_PICTURE_SUB_SATURATION,        // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        PictureSaturationText,// DisplayText;
        NaviKeyEvent,
        {
            NULL,   // AdjustFunction
            NULL    // ExecFunction
        },
        PictureSaturationSubMenuGroup, // DrawSubMenuGroup
        MI_DYNAMIC0 // Flags
    },
    // Sharpness Item
    {
        SUB_ITEM5_X, SUB_ITEM5_Y, // XPos, YPos;
        CT_MENU_PICTURE, CT_MENU_PICTURE_TXT_SEL,  // UnSelColorType, SelColorType;
        MENU_PICTURE_SUB_SHARPNESS, // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        PictureSharpnessText,   // DisplayText;
        NaviKeyEvent,
        {
            NULL,   // AdjustFunction
            NULL    // ExecFunction
        },
        PictureSharpnesseSubMenuGroup, // DrawSubMenuGroup
        MI_DYNAMIC0   // Flags
    },
    // Color Item
    {
        SUB_ITEM6_X, SUB_ITEM6_Y, // XPos, YPos;
        CT_MENU_PICTURE, CT_MENU_PICTURE_TXT_SEL,  // UnSelColorType, SelColorType;
        NULL,      // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        PictureColorToneText,// DisplayText;
        NaviAdjustKeyEvent,
        {
            AdjustColorTone,   // AdjustFunction
            NULL   // ExecFunction
        },
        PictureColorSubMenuGroup, // DrawSubMenuGroup
        MI_SELECTABLE // Flags
    },
    // Scale Item
    {
        SUB_ITEM7_X, SUB_ITEM7_Y, // XPos, YPos;
        CT_MENU_PICTURE, CT_MENU_PICTURE_TXT_SEL,  // UnSelColorType, SelColorType;
        NULL,       // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        PictureScaleText,// DisplayText;
        NaviAdjustKeyEvent,
        {
            AdjustPictureScale,   // AdjustFunction
            NULL    // ExecFunction
        },
        PictureScaleSubMenuGroup, // DrawSubMenuGroup
        MI_SELECTABLE   // Flags
    },
    // Picture Mode Item
    {
        SUB_ITEM8_X, SUB_ITEM8_Y, // XPos, YPos;
        CT_MENU_PICTURE, CT_MENU_PICTURE_TXT_SEL,  // UnSelColorType, SelColorType;
        NULL,       // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        PicturePictureModeText,// DisplayText;
        NaviAdjustKeyEvent,
        {
            AdjustPicturePictureMode,   // AdjustFunction
            NULL,   // ExecFunction
        },
        PicturePictureModeSubMenuGroup, // DrawSubMenuGroup
        MI_SELECTABLE   // Flags
    },
};
//============================================================================
DrawSubMenuGroupType code PcContrastSubMenuGroup[]=
{ //  Flags,                UnSelColorType,      SelColorType,            XPos,YPos,  Length, DisplayText,    GetValue
    { DSI_COLORGAUGE|DSI_END,CT_MENU_PC,          CT_MENU_PC_BAR_SEL,      SUB_ITEM1_BAR_X,  SUB_ITEM1_Y,     SUB_BAR_LEN,     NULL,           GetPcContrastValue}
};

DrawSubMenuGroupType code PcBrightnessSubMenuGroup[]=
{ //  Flags,                UnSelColorType,      SelColorType,            XPos,YPos,  Length, DisplayText,    GetValue
    { DSI_COLORGAUGE|DSI_END,CT_MENU_PC,          CT_MENU_PC_BAR_SEL,      SUB_ITEM2_BAR_X,  SUB_ITEM2_Y,     SUB_BAR_LEN,     NULL,           GetPcBrightnessValue}
};

DrawSubMenuGroupType code PcColorModeSubMenuGroup[]=
{ //  Flags,                UnSelColorType,      SelColorType,            XPos,YPos,  Length, DisplayText,    GetValue
    { DSI_TEXT|DSI_END,     CT_MENU_PC,          CT_MENU_PC_ADJ_SEL,      SUB_ITEM3_SEL_X,  SUB_ITEM3_Y,    SUB_SEL_LEN,     BracketRText,   NULL}
};

DrawSubMenuGroupType code PcScaleModeSubMenuGroup[]=
{ //  Flags,                UnSelColorType,      SelColorType,            XPos,YPos,  Length, DisplayText,                    GetValue
    { DSI_TEXT,             CT_MENU_PC,         CT_MENU_PC_ADJ_SEL,       SUB_ITEM4_SEL_X,  SUB_ITEM4_Y,    SUB_SEL_LEN,     BracketLRText,                  NULL},
    { DSI_TEXT|DSI_END,     CT_MENU_PC,         CT_MENU_PC_ADJ_SEL,       SUB_ITEM4_SEL_TX,  SUB_ITEM4_Y,    NULL,   PcScaleSelectText,              NULL}
};
MenuItemType code PcMenuItems[]=
{
    // Contrast Item
    {
        SUB_ITEM1_X, SUB_ITEM1_Y, // XPos, YPos;
        CT_MENU_PC, CT_MENU_PC_TXT_SEL,  // UnSelColorType, SelColorType;
        MENU_PC_SUB_CONTRAST,  // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        PcContrastText,    // DisplayText;
        NaviKeyEvent,
        {
            NULL,   // AdjustFunction
            NULL    // ExecFunction
        },
        PcContrastSubMenuGroup, // DrawSubMenuGroup
        MI_SELECTABLE // Flags
    },
    // Brightness Item
    {
        SUB_ITEM2_X, SUB_ITEM2_Y, // XPos, YPos;
        CT_MENU_PC, CT_MENU_PC_TXT_SEL,  // UnSelColorType, SelColorType;
        MENU_PC_SUB_BRIGHTNESS, // NextMenuPage;
        DWI_TEXT,           // DrawMenuItemType;
        PcBrightnessText,   // DisplayText;
        NaviKeyEvent,
        {
            NULL,   // AdjustFunction
            NULL    // ExecFunction
        },
        PcBrightnessSubMenuGroup, // DrawSubMenuGroup
        MI_SELECTABLE // Flags
    },
    // Color Mode Item
    {
        SUB_ITEM3_X, SUB_ITEM3_Y, // XPos, YPos;
        CT_MENU_PC, CT_MENU_PC_TXT_SEL,  // UnSelColorType, SelColorType;
        MENU_PC_COLORMODE,    // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        PcColorModeText,  // DisplayText;
        NaviKeyEvent,
        {
            NULL,   // AdjustFunction
            NULL    // ExecFunction
        },
        PcColorModeSubMenuGroup, // DrawSubMenuGroup
        MI_SELECTABLE // Flags
    },
    // Scale Item
    {
        SUB_ITEM4_X, SUB_ITEM4_Y, // XPos, YPos;
        CT_MENU_PC, CT_MENU_PC_TXT_SEL,  // UnSelColorType, SelColorType;
        NULL,    // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        PcScaleText,  // DisplayText;
        NaviAdjustKeyEvent,
        {
            AdjustPcScale,   // AdjustFunction
            NULL    // ExecFunction
        },
        PcScaleModeSubMenuGroup, // DrawSubMenuGroup
        MI_SELECTABLE // Flags
    },
    // Auto Item
    {
        SUB_ITEM5_X, SUB_ITEM5_Y, // XPos, YPos;
        CT_MENU_PC, CT_MENU_PC_TXT_SEL,  // UnSelColorType, SelColorType;
        NULL,    // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        PcAutoText,  // DisplayText;
        NaviExecKeyEvent,
        {
            NULL,   // AdjustFunction
            ExecPcAuto    // ExecFunction
        },
        NULL, // DrawSubMenuGroup
        MI_VGA_ONLY // Flags
    }
};
//============================================================================
DrawSubMenuGroupType code SoundBassSubMenuGroup[]=
{ //  Flags,                UnSelColorType,      SelColorType,            XPos,YPos,  Length, DisplayText,                GetValue
    { DSI_COLORGAUGE|DSI_END,CT_MENU_SOUND,       CT_MENU_SOUND_BAR_SEL,   SUB_ITEM1_BAR_X,  SUB_ITEM1_Y,     SUB_BAR_LEN,     NULL,                       GetSoundBassValue}
};

DrawSubMenuGroupType code SoundTrebleSubMenuGroup[]=
{ //  Flags,                UnSelColorType,      SelColorType,            XPos,YPos,  Length, DisplayText,                GetValue
    { DSI_COLORGAUGE|DSI_END,CT_MENU_SOUND,       CT_MENU_SOUND_BAR_SEL,   SUB_ITEM2_BAR_X,  SUB_ITEM2_Y,    SUB_BAR_LEN,     NULL,                       GetSoundTrebleValue}
};

DrawSubMenuGroupType code SoundBalanceSubMenuGroup[]=
{ //  Flags,                UnSelColorType,      SelColorType,            XPos,YPos,  Length, DisplayText,                GetValue
    { DSI_COLORGAUGE|DSI_END,CT_MENU_SOUND,       CT_MENU_SOUND_BAR_SEL,   SUB_ITEM3_BAR_X,  SUB_ITEM3_Y,    SUB_BAR_LEN,     NULL,                       GetSoundBalanceValue}
};
DrawSubMenuGroupType code SoundMtsSubMenuGroup[]=
{ //  Flags,                UnSelColorType,      SelColorType,            XPos,YPos,  Length, DisplayText,                GetValue
    { DSI_TEXT,             CT_MENU_SOUND,       CT_MENU_SOUND_ADJ_SEL,   SUB_ITEM4_SEL_X,  SUB_ITEM4_Y,     SUB_SEL_LEN,    BracketLRText,              NULL},
    { DSI_TEXT|DSI_END,     CT_MENU_SOUND,       CT_MENU_SOUND_ADJ_SEL,   SUB_ITEM4_SEL_TX,  SUB_ITEM4_Y,    NULL,   SoundMtsSelectText,         NULL}
};
DrawSubMenuGroupType code SoundSoundModeSubMenuGroup[]=
{ //  Flags,                UnSelColorType,      SelColorType,            XPos,YPos,  Length, DisplayText,                GetValue
    { DSI_TEXT,                 CT_MENU_SOUND,     CT_MENU_SOUND_ADJ_SEL, SUB_ITEM5_SEL_X,  SUB_ITEM5_Y,        SUB_SEL_LEN,       BracketLRText,              NULL},
    { DSI_TEXT|DSI_END,     		    CT_MENU_SOUND,     CT_MENU_SOUND_ADJ_SEL, SUB_ITEM5_SEL_TX,  SUB_ITEM5_Y,       NULL,              SoundSoundModeSelectText,   NULL},
};
DrawSubMenuGroupType code SoundEqualizerSubMenuGroup[]=
{ //  Flags,            UnSelColorType,          SelColorType,            XPos,YPos,  Length, DisplayText,                GetValue
    { DSI_TEXT|DSI_END,     CT_MENU_SOUND,     CT_MENU_SOUND_ADJ_SEL,         SUB_ITEM6_SEL_X,    SUB_ITEM6_Y,     NULL,          BracketRText,                       NULL},
};
DrawSubMenuGroupType code SubWooferSubMenuGroup[]=
{ //  Flags,                UnSelColorType,      SelColorType,            XPos,YPos,  Length, DisplayText,                GetValue
    { DSI_TEXT,             CT_MENU_SOUND,       CT_MENU_SOUND_ADJ_SEL,   SUB_ITEM7_SEL_X,  SUB_ITEM7_Y,     SUB_SEL_LEN,    BracketLRText,              NULL},
    { DSI_TEXT|DSI_END,     CT_MENU_SOUND,       CT_MENU_SOUND_ADJ_SEL,   SUB_ITEM7_SEL_TX,  SUB_ITEM7_Y,    NULL,   SubWooferSelectText,         NULL}
};
DrawSubMenuGroupType code AVCSubMenuGroup[]=
{ //  Flags,                UnSelColorType,      SelColorType,            XPos,YPos,  Length, DisplayText,                GetValue
    { DSI_TEXT,             CT_MENU_SOUND,       CT_MENU_SOUND_ADJ_SEL,   SUB_ITEM8_SEL_X,  SUB_ITEM8_Y,     SUB_SEL_LEN,    BracketLRText,              NULL},
    { DSI_TEXT|DSI_END,     CT_MENU_SOUND,       CT_MENU_SOUND_ADJ_SEL,   SUB_ITEM8_SEL_TX,  SUB_ITEM8_Y,    NULL,   AVCSelectText,         NULL}
};
DrawSubMenuGroupType code LoudnessSubMenuGroup[]=
{ //  Flags,                UnSelColorType,      SelColorType,            XPos,YPos,  Length, DisplayText,                GetValue
    { DSI_TEXT,             CT_MENU_SOUND,       CT_MENU_SOUND_ADJ_SEL,   SUB_ITEM9_SEL_X,  SUB_ITEM9_Y,     SUB_SEL_LEN,    BracketLRText,              NULL},
    { DSI_TEXT|DSI_END,     CT_MENU_SOUND,       CT_MENU_SOUND_ADJ_SEL,   SUB_ITEM9_SEL_TX,  SUB_ITEM9_Y,    NULL,   LoudnessSelectText,         NULL}
};
DrawSubMenuGroupType code SuperBassSubMenuGroup[]=
{ //  Flags,                UnSelColorType,      SelColorType,            XPos,YPos,  Length, DisplayText,                GetValue
    { DSI_TEXT,             CT_MENU_SOUND,       CT_MENU_SOUND_ADJ_SEL,   SUB_ITEM10_SEL_X,  SUB_ITEM10_Y,     SUB_SEL_LEN,    BracketLRText,              NULL},
    { DSI_TEXT|DSI_END,     CT_MENU_SOUND,       CT_MENU_SOUND_ADJ_SEL,   SUB_ITEM10_SEL_TX,  SUB_ITEM10_Y,    NULL,   SuperBassSelectText,         NULL}
};

MenuItemType code SoundMenuItems[]=
{
    // Bass Item
    {
        SUB_ITEM1_X, SUB_ITEM1_Y, // XPos, YPos;
        CT_MENU_SOUND, CT_MENU_SOUND_TXT_SEL,  // UnSelColorType, SelColorType;
        MENU_SOUND_SUB_BASS,        // NextMenuPage;
        DWI_TEXT,       // DrawMenuItemType;
        SoundBassText,// DisplayText;
        NaviKeyEvent,
        {
            NULL,   // AdjustFunction
            NULL    // ExecFunction
        },
        SoundBassSubMenuGroup, // DrawSubMenuGroup
        MI_DYNAMIC1 // Flags
    },
    // Treble Item

⌨️ 快捷键说明

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