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

📄 menutbl.h

📁 LCD OSD 程序用於8051 開發lcd
💻 H
📖 第 1 页 / 共 4 页
字号:
      DrawColorIconGauge,	// DrawGaugeType
      DrawColorIconRadioGroup	// DrawRadioGroupType
    },
    mibSelectable // Flags
  },
*/
// Color
  { OSDStartPos+0, OSDStartPos+6, // XPos, YPos;
    CP_WhiteColor, CP_BlueColor, // ForeColor, BackColor;
    CP_RedColor, CP_GrayColor, // SelForeColor, SelBackColor;
    ColorMenu, //NextMenuPage;
    DWI_2x2Icon,// DrawMenuItemType;
    ColorIcon, // DisplayText;
    NaviKeyEvent, //KeyEvent;
    { NULL,	// AdjustFunction
      NULL			// ExecFunction
    },// *DisplayValue;
    { DrawColorIconNumber,	// DrawNumberType
      DrawColorIconGauge,	// DrawGaugeType
      DrawColorIconRadioGroup	// DrawRadioGroupType
    },
    mibSelectable // Flags
  },
  

 // Other
  { OSDStartPos+0, OSDStartPos+8, // XPos, YPos;
    CP_WhiteColor, CP_BlueColor, // ForeColor, BackColor;
    CP_RedColor, CP_GrayColor, // SelForeColor, SelBackColor;
    OtherMenu, //NextMenuPage;
    DWI_2x2Icon,// DrawMenuItemType;
    OtherIcon, // DisplayText;
    NaviKeyEvent, //KeyEvent;
    { NULL,	// AdjustFunction
      NULL			// ExecFunction
    },// *DisplayValue;
    { NULL,	// DrawNumberType
      NULL,	// DrawGaugeType
      DrawOtherIconRadioGroup	// DrawRadioGroupType
    },
    mibSelectable // Flags
  },
 // Factory1
  { OSDStartPos+0, OSDStartPos+10, // XPos, YPos;
    CP_WhiteColor, CP_BlueColor, // ForeColor, BackColor;
    CP_RedColor, CP_GrayColor, // SelForeColor, SelBackColor;
    Factory1Menu, //NextMenuPage;
    DWI_Icon,// DrawMenuItemType;
    FactoryIcon, // DisplayText;
    NaviKeyEvent, //KeyEvent;
    { NULL,	// AdjustFunction
      NULL			// ExecFunction
    },// *DisplayValue;
    { DrawFactory1IconNumber,	// DrawNumberType
      DrawFactory1IconGuage,	// DrawGaugeType
      DrawFactory1IconRadioGroup	// DrawRadioGroupType
    },
    mibSelectable // Flags
  },
 // Factory2
  { OSDStartPos+0, OSDStartPos+11, // XPos, YPos;
    CP_WhiteColor, CP_BlueColor, // ForeColor, BackColor;
    CP_RedColor, CP_GrayColor, // SelForeColor, SelBackColor;
    Factory2Menu, //NextMenuPage;
    DWI_Icon,// DrawMenuItemType;
    FactoryIcon, // DisplayText;
    NaviKeyEvent, //KeyEvent;
    { NULL,	// AdjustFunction
      NULL			// ExecFunction
    },// *DisplayValue;
    { NULL,	// DrawNumberType
      NULL,	// DrawGaugeType
      DrawFactory2IconRadioGroup	// DrawRadioGroupType
    },
    mibSelectable // Flags
  }
};

NumberType code RedOffsetNumber[]=
{ // Flags,	XPos,	YPos,	GetValue
  {dwiEnd, 		OSDStartPos+25,OSDStartPos+3,	GetRedColorOffsetValue},
};
NumberType code GreenOffsetNumber[]=
{ // Flags,	XPos,	YPos,	GetValue
  {dwiEnd, 		OSDStartPos+25,	OSDStartPos+4,	GetGreenColorOffsetValue},
};
NumberType code BlueOffsetNumber[]=
{ // Flags,	XPos,	YPos,	GetValue
  {dwiEnd, 		OSDStartPos+25,	OSDStartPos+5,	GetBlueColorOffsetValue},
};
NumberType code RedGainNumber[]=
{ // Flags,	XPos,	YPos,	GetValue
  {dwiEnd, 		OSDStartPos+25,	OSDStartPos+6,	GetRealRedColorValue},
};
NumberType code GreenGainNumber[]=
{ // Flags,	XPos,	YPos,	GetValue
  {dwiEnd, 		OSDStartPos+25,	OSDStartPos+7,	GetRealGreenColorValue},
};
NumberType code BlueGainNumber[]=
{ // Flags,	XPos,	YPos,	GetValue
  {dwiEnd, 		OSDStartPos+25,	OSDStartPos+8,	GetRealBlueColorValue},
};
NumberType code SpreadNumber[]=
{ // Flags,	XPos,	YPos,	GetValue
  {dwiEnd,		OSDStartPos+25,	OSDStartPos+9,	GetSpreadValue}
};

DrawNumberType code DrawRedOffsetNumber[]=
{ CP_BlackColor, CP_GrayColor, RedOffsetNumber
};
DrawNumberType code DrawGreenOffsetNumber[]=
{ CP_BlackColor, CP_GrayColor, GreenOffsetNumber
};
DrawNumberType code DrawBlueOffsetNumber[]=
{ CP_BlackColor, CP_GrayColor, BlueOffsetNumber
};
DrawNumberType code DrawRedGainNumber[]=
{ CP_BlackColor, CP_GrayColor, RedGainNumber
};
DrawNumberType code DrawGreenGainNumber[]=
{ CP_BlackColor, CP_GrayColor, GreenGainNumber
};
DrawNumberType code DrawBlueGainNumber[]=
{ CP_BlackColor, CP_GrayColor, BlueGainNumber
};
DrawNumberType code DrawSpreadNumber[]=
{ CP_BlackColor, CP_GrayColor, SpreadNumber
};

GaugeType code RedOffsetGuage[]=
{ // Flags,	XPos,	YPos,	GetValue
  {dwiEnd, 	OSDStartPos+13,OSDStartPos+3,	GetRedColorOffsetValue100}
};
GaugeType code GreenOffsetGuage[]=
{ // Flags,	XPos,	YPos,	GetValue
  {dwiEnd, 	OSDStartPos+13,	OSDStartPos+4,	GetGreenColorOffsetValue100},
};
GaugeType code BlueOffsetGuage[]=
{ // Flags,	XPos,	YPos,	GetValue
  {dwiEnd, 	OSDStartPos+13,	OSDStartPos+5,	GetBlueColorOffsetValue100},
};
GaugeType code RedGainGuage[]=
{ // Flags,	XPos,	YPos,	GetValue
  {dwiEnd, 	OSDStartPos+13,	OSDStartPos+6,	GetRedColorValue},
};
GaugeType code GreenGainGuage[]=
{ // Flags,	XPos,	YPos,	GetValue
  {dwiEnd, 	OSDStartPos+13,	OSDStartPos+7,	GetGreenColorValue},
};
GaugeType code BlueGainGuage[]=
{ // Flags,	XPos,	YPos,	GetValue
  {dwiEnd, 	OSDStartPos+13,	OSDStartPos+8,	GetBlueColorValue},
};
GaugeType code SpreadGuage[]=
{ // Flags,	XPos,	YPos,	GetValue
  {dwiEnd,	OSDStartPos+13,	OSDStartPos+9,	GetSpreadValue100}
};
DrawGaugeType code DrawRedOffsetGuage[]=
{ // ForeColor		BackColor	Length,		GuageType
  CP_BlackColor,	CP_GrayColor, 	12,		RedOffsetGuage
};
DrawGaugeType code DrawGreenOffsetGuage[]=
{ // ForeColor		BackColor	Length,		GuageType
  CP_BlackColor,	CP_GrayColor, 	12,		GreenOffsetGuage
};
DrawGaugeType code DrawBlueOffsetGuage[]=
{ // ForeColor		BackColor	Length,		GuageType
  CP_BlackColor,	CP_GrayColor, 	12,		BlueOffsetGuage
};
DrawGaugeType code DrawRedGainGuage[]=
{ // ForeColor		BackColor	Length,		GuageType
  CP_BlackColor,	CP_GrayColor, 	12,		RedGainGuage
};
DrawGaugeType code DrawGreenGainGuage[]=
{ // ForeColor		BackColor	Length,		GuageType
  CP_BlackColor,	CP_GrayColor, 	12,		GreenGainGuage
};
DrawGaugeType code DrawBlueGainGuage[]=
{ // ForeColor		BackColor	Length,		GuageType
  CP_BlackColor,	CP_GrayColor, 	12,		BlueGainGuage
};
DrawGaugeType code DrawSpreadGuage[]=
{ // ForeColor		BackColor	Length,		GuageType
  CP_BlackColor,	CP_GrayColor, 	12,		SpreadGuage
};

MenuItemType code Factory1MenuItems[]=
{ // Red Offset
  { OSDStartPos+4, OSDStartPos+3, // XPos, YPos;
    CP_BlackColor, CP_GrayColor, // ForeColor, BackColor;
    CP_BlackColor, CP_GrayColor, // SelForeColor, SelBackColor;
    MainMenu, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    RedOffsetText, // DisplayText;
    Adjuster1KeyEvent, //KeyEvent;
    { AdjustRedColorOffset,	// AdjustFunction
      NULL			// ExecFunction
    },// DisplayValue;
    { DrawRedOffsetNumber,	// DrawNumberType
      DrawRedOffsetGuage,	// DrawGuageType
      NULL	// DrawRadioGroupType
    },
    mibSelectable|mibDrawValue|mibUseSubW1 // Flags
  },
  // Green Offset
  { OSDStartPos+4, OSDStartPos+4, // XPos, YPos;
    CP_BlackColor, CP_GrayColor, // ForeColor, BackColor;
    CP_BlackColor, CP_GrayColor, // SelForeColor, SelBackColor;
    MainMenu, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    GreenOffsetText, // DisplayText;
    Adjuster1KeyEvent, //KeyEvent;
    { AdjustGreenColorOffset,	// AdjustFunction
      NULL			// ExecFunction
    },// DisplayValue;
    { DrawGreenOffsetNumber,	// DrawNumberType
      DrawGreenOffsetGuage,	// DrawGuageType
      NULL	// DrawRadioGroupType
    },
    mibSelectable|mibDrawValue|mibUseSubW1 // Flags
  },
  // Blue Offset
  { OSDStartPos+4, OSDStartPos+5, // XPos, YPos;
    CP_BlackColor, CP_GrayColor, // ForeColor, BackColor;
    CP_BlackColor, CP_GrayColor, // SelForeColor, SelBackColor;
    MainMenu, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    BlueOffsetText, // DisplayText;
    Adjuster1KeyEvent, //KeyEvent;
    { AdjustBlueColorOffset,	// AdjustFunction
      NULL			// ExecFunction
    },// DisplayValue;
    { DrawBlueOffsetNumber,	// DrawNumberType
      DrawBlueOffsetGuage,	// DrawGuageType
      NULL	// DrawRadioGroupType
    },
    mibSelectable|mibDrawValue|mibUseSubW1 // Flags
  },
  // Red Gain
  { OSDStartPos+4, OSDStartPos+6, // XPos, YPos;
    CP_BlackColor, CP_GrayColor, // ForeColor, BackColor;
    CP_BlackColor, CP_GrayColor, // SelForeColor, SelBackColor;
    MainMenu, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    RedGainText, // DisplayText;
    Adjuster1KeyEvent, //KeyEvent;
    { 
    AdjustRedColor,	// AdjustFunction
      NULL			// ExecFunction
    },// DisplayValue;
    { DrawRedGainNumber,	// DrawNumberType
      DrawRedGainGuage,	// DrawGuageType
      NULL	// DrawRadioGroupType
    },
    mibSelectable|mibDrawValue|mibUseSubW1 // Flags
  },
  // Green Gain
  { OSDStartPos+4, OSDStartPos+7, // XPos, YPos;
    CP_BlackColor, CP_GrayColor, // ForeColor, BackColor;
    CP_BlackColor, CP_GrayColor, // SelForeColor, SelBackColor;
    MainMenu, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    GreenGainText, // DisplayText;
    Adjuster1KeyEvent, //KeyEvent;
    { 
    AdjustGreenColor,	// AdjustFunction
      NULL			// ExecFunction
    },// DisplayValue;
    { DrawGreenGainNumber,	// DrawNumberType
      DrawGreenGainGuage,	// DrawGuageType
      NULL	// DrawRadioGroupType
    },
    mibSelectable|mibDrawValue|mibUseSubW1 // Flags
  },
  // Blue Gain
  { OSDStartPos+4, OSDStartPos+8, // XPos, YPos;
    CP_BlackColor, CP_GrayColor, // ForeColor, BackColor;
    CP_BlackColor, CP_GrayColor, // SelForeColor, SelBackColor;
    MainMenu, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    BlueGainText, // DisplayText;
    Adjuster1KeyEvent, //KeyEvent;
    { 
    AdjustBlueColor,	// AdjustFunction
      NULL			// ExecFunction
    },// DisplayValue;
    { DrawBlueGainNumber,	// DrawNumberType
      DrawBlueGainGuage,	// DrawGuageType
      NULL	// DrawRadioGroupType
    },
    mibSelectable|mibDrawValue|mibUseSubW1 // Flags
  },
  // Spread
  { OSDStartPos+4, OSDStartPos+9, // XPos, YPos;
    CP_BlackColor, CP_GrayColor, // ForeColor, BackColor;
    CP_BlackColor, CP_GrayColor, // SelForeColor, SelBackColor;
    MainMenu, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    SpreadText, // DisplayText;
    Adjuster1KeyEvent, //KeyEvent;
    { AdjustSpread,	// AdjustFunction
      NULL			// ExecFunction
    },// DisplayValue;
    { DrawSpreadNumber,	// DrawNumberType
      DrawSpreadGuage,	// DrawGuageType
      NULL	// DrawRadioGroupType
    },
    mibSelectable|mibDrawValue|mibUseSubW1// Flags
  }
};


RadioTextType code BurnRadio[]=
{ // Flags,		XPos,	YPos,	DisplayText
  {dwiEnd,		OSDStartPos+18,	OSDStartPos+3,	BurnStatusText},
};
DrawRadioGroupType code DrawBurnRadioGroup[]=
{ // ForeColor		BackColor		GetValue,		RadioText
  CP_BlackColor,	CP_GrayColor, 	NULL,	BurnRadio
};


MenuItemType code Factory2MenuItems[]=
{ // Burnin
  { OSDStartPos+4, OSDStartPos+3, // XPos, YPos;
    CP_BlackColor, CP_GrayColor, // ForeColor, BackColor;
    CP_BlackColor, CP_GrayColor, // SelForeColor, SelBackColor;
    MainMenu, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    AutoBurnText, // DisplayText;
    Adjuster1KeyEvent, //KeyEvent;
    { AdjustBurnin,	// AdjustFunction
      NULL// ExecFunction
    },// DisplayValue;
    { NULL,	// DrawNumberType
      NULL,	// DrawGuageType
      DrawBurnRadioGroup	// DrawRadioGroupType
    },
    mibSelectable|mibDrawValue|mibUseSubW1 // Flags
  },
  // AutoColor
  { OSDStartPos+4, OSDStartPos+4, // XPos, YPos;
    CP_BlackColor, CP_GrayColor, // ForeColor, BackColor;
    CP_BlackColor, CP_GrayColor, // SelForeColor, SelBackColor;
    MainMenu, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    AutoColorText, // DisplayText;
    NaviExecKeyEvent, //KeyEvent;
    { NULL,	// AdjustFunction
      AutoColor// ExecFunction
    },// DisplayValue;
    { NULL,	// DrawNumberType
      NULL,	// DrawGuageType
      NULL	// DrawRadioGroupType
    },
    mibSelectable|mibUseSubW1 // Flags
  },
  // AutoColor1
  { OSDStartPos+4, OSDStartPos+5, // XPos, YPos;
    CP_BlackColor, CP_GrayColor, // ForeColor, BackColor;
    CP_BlackColor, CP_GrayColor, // SelForeColor, SelBackColor;
    MainMenu, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    AutoColor1Text, // DisplayText;
    NaviExecKeyEvent, //KeyEvent;
    { NULL,	// AdjustFunction
      AutoColor1			// ExecFunction
    },// DisplayValue;
    { NULL,	// DrawNumberType
      NULL,	// DrawGuageType
      NULL	// DrawRadioGroupType
    },
    mibSelectable|mibUseSubW1 // Flags
  },
  // ColorUpdate
  { OSDStartPos+4, OSDStartPos+6, // XPos, YPos;
    CP_BlackColor, CP_GrayColor, // ForeColor, BackColor;
    CP_BlackColor, CP_GrayColor, // SelForeColor, SelBackColor;
    MainMenu, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    ColorUpdateText, // DisplayText;
    NaviExecKeyEvent, //KeyEvent;
    { NULL,	// AdjustFunction
      ColorUpdate// ExecFunction
    },// DisplayValue;
    { NULL,	// DrawNumberType
      NULL,	// DrawGuageType
      NULL	// DrawRadioGroupType
    },
    mibSelectable|mibUseSubW1 // Flags
  },
  // FactoryReset
  { OSDStartPos+4,OSDStartPos+7, // XPos, YPos;
    CP_BlackColor, CP_GrayColor, // ForeColor, BackColor;
    CP_BlackColor, CP_GrayColor, // SelForeColor, SelBackColor;
    MainMenu, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    FactoryResetText, // DisplayText;
    NaviExecKeyEvent, //KeyEvent;
    { NULL,	// AdjustFunction
      FactoryReset// ExecFunction
    },// DisplayValue;
    { NULL,	// DrawNumberType
      NULL,	// DrawGuageType
      NULL	// DrawRadioGroupType
    },
    mibSelectable|mibUseSubW1 // Flags
  }
};

//==========================================================
DrawNumberType code DrawBriConNumber[]=
{// ForeColor,		BackColor,	NumberType
  CP_RedColor,	CP_GrayColor, BriConIconNumber
};
RadioTextType code BriConRatioText[]=
{ // Flags,	XPos,	YPos,	DisplayText
  {	0,	OSDStartPos+14,	OSDStartPos+5,	UArrowIcon},
  {	0,	OSDStartPos+14,	OSDStartPos+7,	DArrowIcon},
  {	0,	OSDStartPos+12,	OSDStartPos+6,	LArrowIcon},
  {	0,	OSDStartPos+17,	OSDStartPos+6,	RArrowIcon},
  {	0,	OSDStartPos+14,	OSDStartPos+4,	BrightnessIcon},
  {	0,	OSDStartPos+14,	OSDStartPos+8,	DBrightnessIcon},
  {	0,	OSDStartPos+10,	OSDStartPos+6,	DContrastIcon},
  {dwiEnd,	OSDStartPos+18,	OSDStartPos+6,	ContrastIcon}
};
DrawRadioGroupType code DrawBriConRadioGroup[]=
{ //ForeColor,		BackColor,	GetValue	RadioText
  {CP_BlueColor,	CP_GrayColor,	NULL,		BriConRatioText}
};

MenuItemType code BriConMenuItems[]=
{// Contrast Icon
  { OSDStartPos+2, OSDStartPos+3, // XPos, YPos;
    CP_RedColor, CP_WhiteColor, // ForeColor, BackColor;
    CP_RedColor, CP_WhiteColor, // SelForeColor, SelBackColor;
    MainMenu, //NextMenuPage;
    DWI_CenterText,// DrawMenuItemType;
    NULL, // DisplayText;

⌨️ 快捷键说明

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