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

📄 menutbl.h

📁 LCD OSD 程序用於8051 開發lcd
💻 H
📖 第 1 页 / 共 4 页
字号:
      DrawLanguageRadioGroup	// DrawRadioGroupType
    },
    mibSelectable|mibUseSubW2 // Flags
  },
  // OSD Position
  { OSDStartPos+4, OSDStartPos+4, // XPos, YPos;
    CP_BlackColor, CP_GrayColor, // ForeColor, BackColor;
    CP_BlackColor, CP_GrayColor, // SelForeColor, SelBackColor;
    RootMenu, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    OSDPositionText, // DisplayText;
    Adjuster1KeyEvent,// KeyEvent
    { AdjustOSDPosition,	// AdjustFunction
      NULL			// ExecFunction
    },// DisplayValue;
    { NULL,	// DrawNumberType
      NULL,	// DrawGaugeType
      DrawOSDPositionRadioGroup	// DrawRadioGroupType
    },
    mibSelectable|mibUseSubW2// Flags
  },
#if 0//QuantaGateway
  // Input
  { OSDStartPos+4, OSDStartPos+4, // XPos, YPos;
	CP_BlackColor, CP_GrayColor, // ForeColor, BackColor;
	CP_BlackColor, CP_GrayColor, // SelForeColor, SelBackColor;
	RootMenu, //NextMenuPage;
	DWI_Text,// DrawMenuItemType;
	InputSelectText, // DisplayText;
	Adjuster1KeyEvent,// KeyEvent
	{ AdjustInputSelect,	// AdjustFunction
	  NULL			// ExecFunction
	},// DisplayValue;
	{ NULL, // DrawNumberType
	  NULL, // DrawGaugeType
	  DrawInputSelectRadioGroup // DrawRadioGroupType
	},
	mibSelectable|mibUseSubW2// Flags
  },
#endif

// Information
  { OSDStartPos+4, OSDStartPos+5, // XPos, YPos;
	CP_BlackColor, CP_GrayColor, // ForeColor, BackColor;
	CP_BlackColor, CP_GrayColor, // SelForeColor, SelBackColor;
	RootMenu, //NextMenuPage;
	DWI_Text,// DrawMenuItemType;
	InformationText, // DisplayText;
	Adjuster1KeyEvent,// KeyEvent
	{ ModeInfoOnOff,	// AdjustFunction
	  NULL			// ExecFunction
	},// DisplayValue;
	{ NULL, // DrawNumberType
	  NULL, // DrawGaugeType
	  DrawInformationRadioGroup // DrawRadioGroupType
	},
	mibSelectable|mibUseSubW2// Flags
  },

// Reset
  { OSDStartPos+4, OSDStartPos+6, // XPos, YPos;
	CP_BlackColor, CP_GrayColor, // ForeColor, BackColor;
	CP_BlackColor, CP_GrayColor, // SelForeColor, SelBackColor;
	RootMenu, //NextMenuPage;
	DWI_Text,// DrawMenuItemType;
	ResetText, // DisplayText;
	NaviExecKeyEvent,// KeyEvent
	{ NULL,	// AdjustFunction
	  Reset			// ExecFunction
	},// DisplayValue;
	{ NULL, // DrawNumberType
	  NULL, // DrawGaugeType
	  DrawResetRadioGroup // DrawRadioGroupType
	},
	mibSelectable|mibUseSubW2// Flags
  }


};


RadioTextType code AutoRatioText[]=
{ // Flags,		XPos,	YPos,	DisplayText
  {dwiCenter,		OSDStartPos+0,      3,	AutoConfiguration1Text},
  
  {dwiCenter|dwiEnd,	OSDStartPos+0,	4,	AutoConfiguration2Text}
};


DrawRadioGroupType code DrawAutoRadioGroup[]=
{ //ForeColor,		BackColor,	GetValue	RadioText
  {CP_BlackColor,	CP_GrayColor,	NULL,		AutoRatioText}
};


MenuItemType code AutoMenuItems[]=
{ // Auto Setup1
  { 1, 2, // XPos, YPos;
    CP_BlackColor, CP_GrayColor, // ForeColor, BackColor;
    CP_BlackColor, CP_GrayColor, // SelForeColor, SelBackColor;
    RootMenu, //NextMenuPage;
    DWI_CenterText,// DrawMenuItemType;
    ProcessingText, // DisplayText;
    NothingKeyEvent,// KeyEvent
    { NULL,	// AdjustFunction
      NULL			// ExecFunction
    },// DisplayValue;
    { NULL,	// DrawNumberType
      NULL,	// DrawGaugeType
      DrawAutoRadioGroup	// DrawRadioGroupType
    },
    mibSelectable // Flags
  }
};

NumberType code VolumeNumber[]=
{ // Flags,	XPos,	YPos,	GetValue
  {dwiEnd,	OSDStartPos+12,	OSDStartPos+4,	GetVolumeValue}
};
DrawNumberType code DrawvolumeNumber[]=
{// ForeColor,		BackColor,	NumberType
  CP_RedColor,	CP_GrayColor, VolumeNumber
};
GaugeType code VolumeGauge[]=
{ // Flags,	XPos,	YPos,	GetValue
  {dwiEnd,	OSDStartPos+1,OSDStartPos+4,	GetVolumeValue}
};
DrawGaugeType code DrawvolumeGauge[]=
{// ForeColor,		BackColor, 	Length,		GuageType
  {CP_BlueColor,	CP_GrayColor,	12,		VolumeGauge}
};

MenuItemType code AudioMenuItems[]=
{ // 
  { OSDStartPos+6, OSDStartPos+2, // XPos, YPos;
    CP_BlueColor, CP_GrayColor, // ForeColor, BackColor;
    CP_BlueColor, CP_GrayColor, // SelForeColor, SelBackColor;
    MuteMenu, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;

  //****olivia1219
  VolumeText,
  //AudioIcon, // DisplayText;

  Adjuster3KeyEvent,// KeyEvent
    { AdjustVolume,	// AdjustFunction
      NULL			// ExecFunction
    },// DisplayValue;
    { DrawvolumeNumber,	// DrawNumberType
      DrawvolumeGauge,	// DrawGaugeType
      NULL	// DrawRadioGroupType
    },
    mibSelectable // Flags
  }
};
MenuItemType code MuteMenuItems[]=
{ // 
  { OSDStartPos+6,OSDStartPos+2, // XPos, YPos;
    CP_BlueColor, CP_GrayColor, // ForeColor, BackColor;
    CP_BlueColor, CP_GrayColor, // SelForeColor, SelBackColor;
    VolumeMenu, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;

  //*****OLIVIA1219
  MuteText,
  //MuteIcon, // DisplayText;


  Adjuster3KeyEvent,// KeyEvent
    { NULL,	// AdjustFunction
      NULL			// ExecFunction
    },// DisplayValue;
    { DrawvolumeNumber,	// DrawNumberType
      DrawvolumeGauge,	// DrawGaugeType
      NULL	// DrawRadioGroupType
    },
    mibSelectable // Flags
  }
};

MenuItemType code ModeInfoMenuItems[]=
{ // ModeInfo
  { 1, 0, // XPos, YPos;
    CP_WhiteColor, CP_BlueColor, // ForeColor, BackColor;
    CP_WhiteColor, CP_BlueColor, // SelForeColor, SelBackColor;
    RootMenu, //NextMenuPage;
    DWI_CenterText,// DrawMenuItemType;
    ModeInfoText, // DisplayText; 
    ModeInfoKeyEvent,  //KeyEvent
    { NULL,	// AdjustFunction
      NULL	// ExecFunction
    },// DisplayValue;
    { NULL,	// DrawNumberType
      NULL,	// DrawGaugeType
      NULL	// DrawRadioGroupType
    },
    mibSelectable // Flags
  },
  
};

MenuItemType code BurninMenuItems[]=
{// Contrast Icon
  { 2, 0, // XPos, YPos;
    CP_WhiteColor, CP_BlueColor, // ForeColor, BackColor;
    CP_WhiteColor, CP_BlueColor, // SelForeColor, SelBackColor;
    RootMenu, //NextMenuPage;
    DWI_CenterText,// DrawMenuItemType;
    AutoBurnText, // DisplayText; 
    NothingKeyEvent,// KeyEvent
    { NULL,	// AdjustFunction
      NULL			// ExecFunction
    },// *DisplayValue;
    { NULL,	// DrawNumberType
      NULL,	// DrawGuageType
      NULL	// DrawRadioGroupType
    },
    mibSelectable// Flags
  }
};

//==============================================================================================
MenuPageType code tblMenus[]=
{ // 0 PowerOffMenu
  { 16, 3, // 	XSize, YSize;
    PowerOnMenu,// PrevMenuPage;
    PowerOffMenuItems, // MenuItems;
    sizeof(PowerOffMenuItems)/sizeof(MenuItemType), // MenuItemCount;
    PowerOffSystem,// ExecFunction;
    mpbInvisible|mpbStay //     Flags;
  },
  // 1 PowerOnMenu
  { 16, 3, // 	XSize, YSize;
    RootMenu,// PrevMenuPage;
    NULL, // MenuItems;
    NULL, // MenuItemCount;
    PowerOnSystem,// ExecFunction;
    mpbInvisible //     Flags;
  },
  // 2 StandbyOnMenu
  { 27, 9, // 	XSize, YSize;
    RootMenu,// PrevMenuPage;
    Standby1MenuItems, // MenuItems;
    sizeof(Standby1MenuItems)/sizeof(MenuItemType), // MenuItemCount;
    EnablePowerDownCounter, // ExecFunction;
    mpbStay|mpbCenter|mpbMoving //   Flags;
  },
  // 3 SuspendOnMenu
  { 27, 9, // 	XSize, YSize;
    RootMenu,// PrevMenuPage;
    StandbyMenuItems, // MenuItems;
    sizeof(StandbyMenuItems)/sizeof(MenuItemType), // MenuItemCount;
    EnablePowerDownCounter, // ExecFunction;
    mpbStay|mpbCenter|mpbMoving//   Flags;
  },
  // 4 CableNotConnectMenu
  { 27, 9, // 	XSize, YSize;
    RootMenu,// PrevMenuPage;
    //CableNotConnectedMenuItems, // MenuItems;
    //sizeof(CableNotConnectedMenuItems)/sizeof(MenuItemType), // MenuItemCount;
    StandbyMenuItems, // MenuItems;
    sizeof(StandbyMenuItems)/sizeof(MenuItemType), // MenuItemCount;
    EnablePowerDownCounter, // ExecFunction;
    mpbStay|mpbMoving|mpbCenter//   Flags;
  },

  //5 UnsupportedModeMenu
  { 30, 8, // 	XSize, YSize;
    RootMenu,// PrevMenuPage;
    UnsupportedModeMenuItems, // MenuItems;
    sizeof(UnsupportedModeMenuItems)/sizeof(MenuItemType), // MenuItemCount;
    EnablePowerDownCounter1, // ExecFunction;
    mpbStay|mpbCenter //   Flags;
  },

  // 6 RootMenu
  { 16, 3, // 	XSize, YSize;
    RootMenu,// PrevMenuPage;
    RootMenuItems, // MenuItems;
    sizeof(RootMenuItems)/sizeof(MenuItemType), // MenuItemCount;
    NULL, // ExecFunction;
    mpbInvisible|mpbStay //   Flags;
  },

  //============================================================
  // 7 MainMenu
  { OSDStartPos*2+29, OSDStartPos*2+12, // 	XSize, YSize;
    RootMenu,// PrevMenuPage;
    MainMenuItems, // MenuItems;
    sizeof(MainMenuItems)/sizeof(MenuItemType), // MenuItemCount;
    NULL, // ExecFunction;
    mpbStay //   Flags;
  },
  // BriConMenu
  { OSDStartPos*2+29, OSDStartPos*2+12, // 	XSize, YSize;
    MainMenu,// PrevMenuPage;
    BriConMenuItems, // MenuItems;
    sizeof(BriConMenuItems)/sizeof(MenuItemType), // MenuItemCount;
    NULL, // ExecFunction;
    mpbStay //   Flags;
  },

/*
  // TrackingMenu
  { 30, 10, // 	XSize, YSize;
    MainMenu,// PrevMenuPage;
    TrackingMenuItems, // MenuItems;
    sizeof(TrackingMenuItems)/sizeof(MenuItemType), // MenuItemCount;
    NULL, // ExecFunction;
    mpbStay//   Flags;
  },
*/

  // ColorMenu
  { OSDStartPos*2+29, OSDStartPos*2+12, // 	XSize, YSize;
    MainMenu,// PrevMenuPage;
    ColorMenuItems, // MenuItems;
    sizeof(ColorMenuItems)/sizeof(MenuItemType), // MenuItemCount;
    NULL, // ExecFunction;
    mpbStay //   Flags;
  },


  // PositionMenu
  { OSDStartPos*2+29, OSDStartPos*2+12, // 	XSize, YSize;
    MainMenu,// PrevMenuPage;
    PositionMenuItems, // MenuItems;
    sizeof(PositionMenuItems)/sizeof(MenuItemType), // MenuItemCount;
    NULL, // ExecFunction;
    mpbStay //   Flags;
  },

/*
  // ColorMenu
  { 30, 10, // 	XSize, YSize;
    MainMenu,// PrevMenuPage;
    ColorMenuItems, // MenuItems;
    sizeof(ColorMenuItems)/sizeof(MenuItemType), // MenuItemCount;
    NULL, // ExecFunction;
    mpbStay //   Flags;
  },
*/

  // TrackingMenu
  { OSDStartPos*2+29, OSDStartPos*2+12, // 	XSize, YSize;
    MainMenu,// PrevMenuPage;
    TrackingMenuItems, // MenuItems;
    sizeof(TrackingMenuItems)/sizeof(MenuItemType), // MenuItemCount;
    NULL, // ExecFunction;
    mpbStay //   Flags;
  },


  // OtherMenu
  { OSDStartPos*2+29, OSDStartPos*2+12, // 	XSize, YSize;
    MainMenu,// PrevMenuPage;
    OtherMenuItems, // MenuItems;
    sizeof(OtherMenuItems)/sizeof(MenuItemType), // MenuItemCount;
    NULL, // ExecFunction;
    mpbStay //   Flags;
  },
  // 7 FactoryMainMenu
  { OSDStartPos*2+29, OSDStartPos*2+12, // 	XSize, YSize;
    RootMenu,// PrevMenuPage;
    FactoryMainMenuItems, // MenuItems;
    sizeof(FactoryMainMenuItems)/sizeof(MenuItemType), // MenuItemCount;
    NULL, // ExecFunction;
    mpbStay //   Flags;
  },
  // 7 Factory2Menu
  { OSDStartPos*2+29, OSDStartPos*2+12, // 	XSize, YSize;
    FactoryMainMenu,// PrevMenuPage;
    Factory1MenuItems, // MenuItems;
    sizeof(Factory1MenuItems)/sizeof(MenuItemType), // MenuItemCount;
    NULL, // ExecFunction;
    mpbStay //   Flags;
  },
  // 7 Factory1Menu
  { OSDStartPos*2+29, OSDStartPos*2+12, // 	XSize, YSize;
    FactoryMainMenu,// PrevMenuPage;
    Factory2MenuItems, // MenuItems;
    sizeof(Factory2MenuItems)/sizeof(MenuItemType), // MenuItemCount;
    NULL, // ExecFunction;
    mpbStay //   Flags;
  },
  // BriteMenu
  { OSDStartPos*2+16, OSDStartPos*2+7, // 	XSize, YSize;
    RootMenu,// PrevMenuPage;
    BriteMenuItems, // MenuItems;
    sizeof(BriteMenuItems)/sizeof(MenuItemType), // MenuItemCount;
    NULL, // ExecFunction;
    mpbStay //   Flags;
  },
  // VolumeMenu
  { OSDStartPos*2+16, OSDStartPos*2+7,//OSDStartPos*2+24, OSDStartPos*2+5, // 	XSize, YSize;
    RootMenu,// PrevMenuPage;
    AudioMenuItems, // MenuItems;
    sizeof(AudioMenuItems)/sizeof(MenuItemType), // MenuItemCount;
    MuteOff, // ExecFunction;
    mpbStay //   Flags;
  },
  // MuteMenu
  { OSDStartPos*2+16, OSDStartPos*2+7,//OSDStartPos*2+24, OSDStartPos*2+5, // 	XSize, YSize;
    RootMenu,// PrevMenuPage;
    MuteMenuItems, // MenuItems;
    sizeof(MuteMenuItems)/sizeof(MenuItemType), // MenuItemCount;
    MuteOn, // ExecFunction;
    mpbStay //   Flags;
  },
  // AutoMenu
  { 28, 7, // 	XSize, YSize;
    RootMenu,// PrevMenuPage;
    AutoMenuItems, // MenuItems;
    sizeof(AutoMenuItems)/sizeof(MenuItemType), // MenuItemCount;
    AutoConfig, // ExecFunction;
    0 //   Flags;
  },
  //ModeInfoMenu
  { 28, 8, // 	XSize, YSize;
    RootMenu,// PrevMenuPage;
    ModeInfoMenuItems, // MenuItems;
    sizeof(ModeInfoMenuItems)/sizeof(MenuItemType), // MenuItemCount;
    NULL, // ExecFunction;
    mpbStay //   Flags;
  },
  // BurninMenu
  { 28, 3, // 	XSize, YSize;
    RootMenu,// PrevMenuPage;  
    BurninMenuItems, // MenuItems;    
    sizeof(BurninMenuItems)/sizeof(MenuItemType), // MenuItemCount;
    NULL,//EnableBurninMode, // ExecFunction;
    mpbStay//|mpbInvisible//   Flags;
  },

};

⌨️ 快捷键说明

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