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

📄 menutbl.h

📁 LCD OSD 程序用於8051 開發lcd
💻 H
📖 第 1 页 / 共 4 页
字号:
    Adjuster2KeyEvent,// KeyEvent
    { AdjustBrightnessContrast,	// AdjustFunction
      NULL			// ExecFunction
    },// *DisplayValue;
    { DrawBriConNumber,	// DrawNumberType
      NULL,	// DrawGaugeType
      NULL	// DrawRadioGroupType
    },
    mibSelectable // Flags
  },
 // Contrast Icon // for draw 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;
    Adjuster2KeyEvent,// KeyEvent
    { NULL,	// AdjustFunction
      NULL			// ExecFunction
    },// *DisplayValue;
    { NULL,	// DrawNumberType
      NULL,	// DrawGaugeType
      DrawBriConRadioGroup	// DrawRadioGroupType
    },
    mibDrawValue// Flags
  }
};

NumberType code BriteNumber[]=
{ // Flags,	XPos,	YPos,	GetValue
  {0,		OSDStartPos+7,	OSDStartPos+1,	GetBrightnessValue},
  {dwiEnd,	OSDStartPos+11,	OSDStartPos+3,	GetContrastValue}
};
DrawNumberType code DrawBriteNumber[]=
{// ForeColor,		BackColor,	NumberType
  CP_RedColor,	CP_GrayColor, BriteNumber
};

RadioTextType code BriteRatioText[]=
{ // Flags,	XPos,	YPos,	DisplayText
  {	0,	OSDStartPos+6,	OSDStartPos+2,	UArrowIcon},
  {	0,	OSDStartPos+6,	OSDStartPos+4,	DArrowIcon},
  {	0,	OSDStartPos+4,	OSDStartPos+3,	LArrowIcon},
  {	0,	OSDStartPos+9,	OSDStartPos+3,	RArrowIcon},
  {	0,	OSDStartPos+6,	OSDStartPos+1,	BrightnessIcon},
  {	0,	OSDStartPos+6,	OSDStartPos+5,	DBrightnessIcon},
  {	0,	OSDStartPos+2,	OSDStartPos+3,	DContrastIcon},
  {dwiEnd,	OSDStartPos+10,	OSDStartPos+3,	ContrastIcon}
};
DrawRadioGroupType code DrawBriteRadioGroup[]=
{ //ForeColor,		BackColor,	GetValue	RadioText
  {CP_BlueColor,	CP_GrayColor,	NULL,		BriteRatioText}
};

MenuItemType code BriteMenuItems[]=
{// 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;
    Adjuster2KeyEvent,// KeyEvent
    { AdjustBrightnessContrast,	// AdjustFunction
      NULL			// ExecFunction
    },// *DisplayValue;
    { DrawBriteNumber,	// DrawNumberType
      NULL,	// DrawGaugeType
      NULL	// DrawRadioGroupType
    },
    mibSelectable // Flags
  },
 // Contrast Icon // for draw 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;
    Adjuster2KeyEvent,// KeyEvent
    { NULL,	// AdjustFunction
      NULL			// ExecFunction
    },// *DisplayValue;
    { NULL,	// DrawNumberType
      NULL,	// DrawGaugeType
      DrawBriteRadioGroup	// DrawRadioGroupType
    },
    mibDrawValue// Flags
  }
};

RadioTextType code ColorRatioText[]=
{ // Flags,		XPos,	YPos,	DisplayText
  {	0,		OSDStartPos+14,	OSDStartPos+4,	C9300KText},
  {dwiEnd,		OSDStartPos+22,	OSDStartPos+4,	C6500KText}
};
DrawRadioGroupType code DrawColorRadioGroup[]=
{ //ForeColor,		BackColor,	GetValue	RadioText
  {CP_BlackColor,	CP_GrayColor,	GetColorTemp,	ColorRatioText}
};

NumberType code RedColorNumber[]=
{ // Flags,	XPos,	YPos,	GetValue
  {dwiEnd,	OSDStartPos+23,	OSDStartPos+6,	GetUserRedColorValue}
};
DrawNumberType code DrawRedColorNumber[]=
{// ForeColor,		BackColor,	NumberType
  CP_RedColor,	CP_GrayColor, RedColorNumber
};
GaugeType code RedColorGauge[]=
{ // Flags,	XPos,	YPos,	GetValue
  {dwiEnd,	OSDStartPos+12,	OSDStartPos+6,	GetUserRedColorValue}
};
DrawGaugeType code DrawRedColorGauge[]=
{// ForeColor,		BackColor, 	Length,		GuageType
  {CP_BlackColor,	CP_GrayColor,	12,		RedColorGauge}
};

NumberType code GreenColorNumber[]=
{ // Flags,	XPos,	YPos,	GetValue
  {dwiEnd,	OSDStartPos+23,	OSDStartPos+7,	GetUserGreenColorValue}
};
DrawNumberType code DrawGreenColorNumber[]=
{// ForeColor,		BackColor,	NumberType
  CP_RedColor,	CP_GrayColor, GreenColorNumber
};
GaugeType code GreenColorGauge[]=
{ // Flags,	XPos,	YPos,	GetValue
  {dwiEnd,	OSDStartPos+12,	OSDStartPos+7,	GetUserGreenColorValue}
};
DrawGaugeType code DrawGreenColorGauge[]=
{// ForeColor,		BackColor, 	Length,		GuageType
  {CP_BlackColor,	CP_GrayColor,	12,		GreenColorGauge}
};

NumberType code BlueColorNumber[]=
{ // Flags,	XPos,	YPos,	GetValue
  {dwiEnd,	OSDStartPos+23,	OSDStartPos+8,	GetUserBlueColorValue}
};
DrawNumberType code DrawBlueColorNumber[]=
{// ForeColor,		BackColor,	NumberType
  CP_RedColor,	CP_GrayColor, BlueColorNumber
};
GaugeType code BlueColorGauge[]=
{ // Flags,	XPos,	YPos,	GetValue
  {dwiEnd,	OSDStartPos+12,	OSDStartPos+8,	GetUserBlueColorValue}
};
DrawGaugeType code DrawBlueColorGauge[]=
{// ForeColor,		BackColor, 	Length,		GuageType
  {CP_BlackColor,	CP_GrayColor,	12,		BlueColorGauge}
};


MenuItemType code ColorMenuItems[]=
{// 9300K
  { OSDStartPos+4, OSDStartPos+4, // XPos, YPos;
    CP_BlackColor, CP_GrayColor, // ForeColor, BackColor;
    CP_WhiteColor, CP_BlueColor, // SelForeColor, SelBackColor;
    MainMenu, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    PresetText, // DisplayText;
    Adjuster1KeyEvent,// KeyEvent
    { AdjustColorTemp,	// AdjustFunction
      NULL			// ExecFunction
    },// *DisplayValue;
    { NULL,	// DrawNumberType
      NULL,	// DrawGaugeType
      DrawColorRadioGroup// DrawRadioGroupType
    },
    mibSelectable|mibDrawValue // Flags
  },
 // Red
  { OSDStartPos+4, OSDStartPos+6, // XPos, YPos;
    CP_BlackColor, CP_GrayColor, // ForeColor, BackColor;
    CP_BlackColor, CP_GrayColor, // SelForeColor, SelBackColor;
    MainMenu, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    RedText, // DisplayText;
    Adjuster1KeyEvent,// KeyEvent
    { AdjustRedColor,	// AdjustFunction
      NULL			// ExecFunction
    },// *DisplayValue;
    { DrawRedColorNumber,	// DrawNumberType
      DrawRedColorGauge,	// DrawGaugeType
      NULL	// DrawRadioGroupType
    },
    mibSelectable|mibUseSubW1|mibDrawValue// Flags
  },
 // Green
  { OSDStartPos+4, OSDStartPos+7, // XPos, YPos;
    CP_BlackColor, CP_GrayColor, // ForeColor, BackColor;
    CP_BlackColor, CP_GrayColor, // SelForeColor, SelBackColor;
    MainMenu, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    GreenText, // DisplayText;
    Adjuster1KeyEvent,// KeyEvent
    { AdjustGreenColor,	// AdjustFunction
      NULL			// ExecFunction
    },// *DisplayValue;
    { DrawGreenColorNumber,	// DrawNumberType
      DrawGreenColorGauge,	// DrawGaugeType
      NULL	// DrawRadioGroupType
    },
    mibSelectable|mibUseSubW1|mibDrawValue// Flags
  },
 // Blue
  { OSDStartPos+4, OSDStartPos+8, // XPos, YPos;
    CP_BlackColor, CP_GrayColor, // ForeColor, BackColor;
    CP_BlackColor, CP_GrayColor, // SelForeColor, SelBackColor;
    MainMenu, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    BlueText, // DisplayText;
    Adjuster1KeyEvent,// KeyEvent
    { AdjustBlueColor,	// AdjustFunction
      NULL			// ExecFunction
    },// *DisplayValue;
    { DrawBlueColorNumber,	// DrawNumberType
      DrawBlueColorGauge,	// DrawGaugeType
      NULL	// DrawRadioGroupType
    },
    mibSelectable|mibUseSubW1|mibDrawValue// Flags
  }
};

//========================================================================
DrawNumberType code DrawPositionNumber[]=
{// ForeColor,		BackColor,	NumberType
  CP_RedColor,	CP_GrayColor, PositionIconNumber
};
RadioTextType code PositionRatioText[]=
{ // 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,	VUPositionIcon},
  {	0,	OSDStartPos+14,	OSDStartPos+8,	VDPositionIcon},
  {	0,	OSDStartPos+10,	OSDStartPos+6,	HLPositionIcon},
  {dwiEnd,	OSDStartPos+18,	OSDStartPos+6,	HRPositionIcon}
};
DrawRadioGroupType code DrawPositionRadioGroup[]=
{ //ForeColor,		BackColor,	GetValue	RadioText
  {CP_BlueColor,	CP_GrayColor,	NULL,		PositionRatioText}
};
MenuItemType code PositionMenuItems[]=
{// Position
  { 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;
    Adjuster2KeyEvent,// KeyEvent
    { AdjustHVPosition,	// AdjustFunction
      NULL			// ExecFunction
    },// *DisplayValue;
    { DrawPositionNumber,	// DrawNumberType
      NULL,	// DrawGaugeType
      NULL	// DrawRadioGroupType
    },
    mibSelectable // Flags
  },
 // Position
  { 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;
    Adjuster2KeyEvent,// KeyEvent
    { NULL,	// AdjustFunction
      NULL			// ExecFunction
    },// *DisplayValue;
    { NULL,	// DrawNumberType
      NULL,	// DrawGaugeType
      DrawPositionRadioGroup	// DrawRadioGroupType
    },
    mibDrawValue// Flags
  }
};

NumberType code ClockNumber[]=
{ // Flags,	XPos,	YPos,	GetValue
  {dwiEnd,	OSDStartPos+24,	OSDStartPos+4,	GetClockValue}
};
DrawNumberType code DrawClockNumber[]=
{// ForeColor,		BackColor,	NumberType
  CP_RedColor,	CP_GrayColor, ClockNumber
};
GaugeType code ClockGauge[]=
{ // Flags,	XPos,	YPos,	GetValue
  {dwiEnd,	OSDStartPos+13,	OSDStartPos+4,	GetClockValue}
};
DrawGaugeType code DrawClockGauge[]=
{// ForeColor,		BackColor, 	Length,		GuageType
  {CP_BlackColor,	CP_GrayColor,	12,		ClockGauge}
};

NumberType code PhaseNumber[]=
{ // Flags,	XPos,	YPos,	GetValue
  {dwiEnd,	OSDStartPos+24,	OSDStartPos+6,	GetPhaseValue}
};
DrawNumberType code DrawPhaseNumber[]=
{// ForeColor,		BackColor,	NumberType
  CP_RedColor,	CP_GrayColor, PhaseNumber
};

GaugeType code PhaseGauge[]=
{ // Flags,	XPos,	YPos,	GetValue
  {dwiEnd,	OSDStartPos+13,	OSDStartPos+6,	GetPhaseValue}
};
DrawGaugeType code DrawPhaseGauge[]=
{// ForeColor,		BackColor, 	Length,		GuageType
  {CP_BlackColor,	CP_GrayColor,	12,		PhaseGauge}
};

MenuItemType code TrackingMenuItems[]=
{// Clock
  { OSDStartPos+4, OSDStartPos+4, // XPos, YPos;
    CP_BlackColor, CP_GrayColor, // ForeColor, BackColor;
    CP_BlackColor, CP_GrayColor, // SelForeColor, SelBackColor;
    MainMenu, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    ClockText, // DisplayText;
    Adjuster1KeyEvent,// KeyEvent
    { AdjustClock,	// AdjustFunction
      NULL			// ExecFunction
    },// *DisplayValue;
    { DrawClockNumber,	// DrawNumberType
      DrawClockGauge,	// DrawGaugeType
      NULL	// DrawRadioGroupType
    },
    mibSelectable|mibUseSubW1|mibDrawValue// Flags
  },
  // Phase
  { OSDStartPos+4, OSDStartPos+6, // XPos, YPos;
    CP_BlackColor, CP_GrayColor, // ForeColor, BackColor;
    CP_BlackColor, CP_GrayColor, // SelForeColor, SelBackColor;
    MainMenu, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    PhaseText, // DisplayText;
    Adjuster1KeyEvent,// KeyEvent
    { AdjustPhase,	// AdjustFunction
      NULL			// ExecFunction
    },// *DisplayValue;
    { DrawPhaseNumber,	// DrawNumberType
      DrawPhaseGauge,	// DrawGaugeType
      NULL	// DrawRadioGroupType
    },
    mibSelectable|mibUseSubW1|mibDrawValue // Flags
  }
};

RadioTextType code LanguageRatioText[]=
{ // Flags,		XPos,	YPos,	DisplayText
  {dwiTittle,		OSDStartPos+0,	OSDStartPos+1,	OtherText},
  {	0,		OSDStartPos+4,	OSDStartPos+3,	LanguageText},

//*****olivia1219
  {	0,		OSDStartPos+17,	OSDStartPos+3,	MultiLanguageText},
  //{	0,		OSDStartPos+17,	OSDStartPos+3,	MultiLanguageText},

  {	0,		OSDStartPos+4,	OSDStartPos+4,	OSDPositionText},
#if 0//QuantaGateway
  {   0,		OSDStartPos+4,	OSDStartPos+4,	InputSelectText},
  {   0,		OSDStartPos+17,OSDStartPos+  4,	AnalogDigitalText},
#endif

  {   0,		OSDStartPos+4,	OSDStartPos+5,	InformationText},

//*****olivia1219
  {   0,		OSDStartPos+17,    OSDStartPos+ 5,	ModeInfoOnOffText},
  {   0,		OSDStartPos+4,	OSDStartPos+6,	ResetText},
//*****olivia1219
{   0,		OSDStartPos+17,     OSDStartPos+6,	RunText},


  {dwiEnd,		OSDStartPos+8,	OSDStartPos+10,	PresetUserModeText},
};
DrawRadioGroupType code DrawLanguageRadioGroup[]=
{ //ForeColor,		BackColor,	GetValue	RadioText
  {CP_BlackColor,	CP_GrayColor,	NULL,		LanguageRatioText}
};

RadioTextType code OSDPositionRatioText[]=
{ // Flags,		XPos,	YPos,	DisplayText

//******olivia1219
  {dwiEnd,		OSDStartPos+17,	OSDStartPos+4,	OSDPositionIcon}
};
DrawRadioGroupType code DrawOSDPositionRadioGroup[]=
{ //ForeColor,		BackColor,	GetValue	RadioText
  {CP_BlackColor,	CP_GrayColor,	NULL,		OSDPositionRatioText}
};
#if 0//QuantaGateway
RadioTextType code InputSelectRatioText[]=
{ // Flags, 	XPos,	YPos,	DisplayText
  {dwiEnd,		OSDStartPos+17, OSDStartPos+4,	AnalogDigitalText}
};
DrawRadioGroupType code DrawInputSelectRadioGroup[]=
{ //ForeColor,		BackColor,	GetValue	RadioText
  {CP_BlackColor,	CP_GrayColor,	NULL,		InputSelectRatioText}
};
#endif

RadioTextType code InFormationRatioText[]=
{ // Flags, 	XPos,	YPos,	DisplayText
//****olivia1219
  {dwiEnd,		OSDStartPos+17, OSDStartPos+5,	ModeInfoOnOffText}
};
DrawRadioGroupType code DrawInformationRadioGroup[]=
{ //ForeColor,		BackColor,	GetValue	RadioText
  {CP_BlackColor,	CP_GrayColor,	NULL,		InFormationRatioText}
};
RadioTextType code ResetRatioText[]=
{ // Flags, 	XPos,	YPos,	DisplayText
//****olivia1219
  {dwiEnd,		OSDStartPos+17, OSDStartPos+6,	RunText}
};
DrawRadioGroupType code DrawResetRadioGroup[]=
{ //ForeColor,		BackColor,	GetValue	RadioText
  {CP_BlackColor,	CP_GrayColor,	NULL,		ResetRatioText}
};

MenuItemType code OtherMenuItems[]=
{ // Language
  { OSDStartPos+4, OSDStartPos+3, // XPos, YPos;
    CP_BlackColor, CP_GrayColor, // ForeColor, BackColor;
    CP_BlackColor, CP_GrayColor, // SelForeColor, SelBackColor;
    RootMenu, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    LanguageText, // DisplayText;
    Adjuster1KeyEvent,// KeyEvent
    { AdjustLanguage,	// AdjustFunction
      NULL			// ExecFunction
    },// DisplayValue;
    { NULL,	// DrawNumberType
      NULL,	// DrawGaugeType

⌨️ 快捷键说明

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