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

📄 menutbldef.h

📁 MSTARXX.rar
💻 H
📖 第 1 页 / 共 2 页
字号:
    {INPUT_PRESS , MIA_Power,Input_AllPort},      // key_Power
  #if BD_TYPE==BD_LILIPUT_716A
    {INPUT_PRESS | INPUT_HOLD, MIA_DecValue,Input_AllPort},      //KET_left
  #else
    {INPUT_PRESS, MIA_Source,Input_AllPort},      //KET_left
  #endif
    {INPUT_PRESS | INPUT_HOLD, MIA_IncValue, 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 GameNaviKeyEvent[KEY_NOTHING]=
{
//The order of this data must match the corresponding names in eKEY.
    {INPUT_PRESS , MIA_BlockTurn, Input_AllPort},      //key_UP
    {INPUT_PRESS , MIA_BlockDown, Input_AllPort},      // key_DOWN
    {INPUT_PRESS , MIA_BlockExit, Input_AllPort},      // key_Menu
    {INPUT_PRESS , MIA_GameRestart,	 Input_AllPort},      // key_Power
    {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
  }
};


MenuItemType code FactoryMenuItems[]=
{ // Auto Color
  { 1, 1, // XPos, YPos;
    CP_WhiteColor1, CP_BlueColor, // ForeColor, BackColor;
    CP_RedColor, CP_BlueColor, // SelForeColor, SelBackColor;
    RootMenu, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    NULL, // DisplayText;
    RootKeyEvent,
    { NULL,	// AdjustFunction
      NULL//AutoColor// ExecFunction
    },// DisplayValue;
    DisplayValueNull,
    mibSelectable // Flags
  }
 };

#endif

⌨️ 快捷键说明

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