📄 menutbldef.h
字号:
{ 1, 1, // XPos, YPos;
CP_GrayColor, CP_BlueColor, // ForeColor, BackColor;
CP_GrayColor, CP_BlueColor, // SelForeColor, SelBackColor;
RootMenu, //NextMenuPage;
DWI_CenterText,// DrawMenuItemType;
NULL, // DisplayText;
NothingKeyEvent, //KeyEvent
{ NULL, // AdjustFunction
NULL // ExecFunction
},// DisplayValue;
DisplayValueNull,
0 // Flags
},
///////////////////
// Input Not
{ 3, 1, // XPos, YPos;
CP_BlackColor,CP_SoftLowGreenColor, // ForeColor, BackColor;
CP_BlackColor,CP_SoftLowGreenColor, // SelForeColor, SelBackColor;
RootMenu, //NextMenuPage;
DWI_CenterText,// DrawMenuItemType;
OutOfRange1Text, // DisplayText;
NothingKeyEvent, //KeyEvent
{ NULL, // AdjustFunction
NULL // ExecFunction
},// DisplayValue;
DisplayValueNull,
0 // Flags
},
// Supported
};
MenuItemType code RootMenuItems[]=
{ // virtual item
{ 0, 1, // XPos, YPos;
0, 1, // ForeColor, BackColor;
0, 1, // SelForeColor, SelBackColor;
MainMenu, //NextMenuPage;
DWI_CenterText,// DrawMenuItemType;
NULL, // DisplayText;
RootKeyEvent,
{ NULL, // AdjustFunction
NULL // ExecFunction
},// DisplayValue;
DisplayValueNull,
0 // Flags
}
};
//==============================================================================================
DrawNumberType code DrawGainRNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiEnd, CP_BlueColor, CP_GrayColor,CP_RedColor, CP_GrayColor, 9, 5, GetRedGainValue}
};
DrawValueType code DisplayValueRNumber[]=
{
{dwiEnd,
DrawGainRNumber, // DrawNumberType
NULL, // DrawGuageType
NULL // DrawRadioGroupType
},
};
DrawNumberType code DrawGainGNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiEnd, CP_BlueColor, CP_GrayColor,CP_RedColor, CP_GrayColor, 15, 5, GetGreenGainValue}
};
DrawValueType code DisplayValueGNumber[]=
{
{dwiEnd,
DrawGainGNumber, // DrawNumberType
NULL, // DrawGuageType
NULL // DrawRadioGroupType
},
};
DrawNumberType code DrawGainBNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiEnd, CP_BlueColor, CP_GrayColor,CP_RedColor, CP_GrayColor, 21, 5, GetBlueGainValue}
};
DrawValueType code DisplayValueBNumber[]=
{
{dwiEnd,
DrawGainBNumber, // DrawNumberType
NULL, // DrawGuageType
NULL // DrawRadioGroupType
},
};
DrawNumberType code DrawOffsetRNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiEnd, CP_BlueColor, CP_GrayColor,CP_RedColor, CP_GrayColor, 9, 6, GetAdcRedOffsetValue}
};
DrawValueType code DisplayValueOffsetRNumber[]=
{
{dwiEnd,
DrawOffsetRNumber, // DrawNumberType
NULL, // DrawGuageType
NULL // DrawRadioGroupType
},
};
DrawNumberType code DrawOffsetGNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiEnd, CP_BlueColor, CP_GrayColor,CP_RedColor, CP_GrayColor, 15, 6, GetAdcGreenOffsetValue}
};
DrawValueType code DisplayValueOffsetGNumber[]=
{
{dwiEnd,
DrawOffsetGNumber, // DrawNumberType
NULL, // DrawGuageType
NULL // DrawRadioGroupType
},
};
DrawNumberType code DrawOffsetBNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiEnd, CP_BlueColor, CP_GrayColor,CP_RedColor, CP_GrayColor, 21, 6, GetAdcBlueOffsetValue}
};
DrawValueType code DisplayValueOffsetBNumber[]=
{
{dwiEnd,
DrawOffsetBNumber, // DrawNumberType
NULL, // DrawGuageType
NULL // DrawRadioGroupType
},
};
//====================================================================================
DrawNumberType code DrawRedColorIconNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiEnd, CP_BlueColor, CP_GrayColor,CP_BlackColor, CP_GrayColor, 20, 2, GetRedColorValue}
};
DrawGuageType code DrawRedColorIconGuage[]=
{ // Flags, ForeColor, BackColor, Length, XPos, YPos, GetValue
{dwiEnd, CP_RedColor,CP_SoftLowGreenColor, 7, 20, 3, GetRedColorValue}
};
DrawValueType code DisplayValueRedColorIcon[]=
{
{dwiEnd,
DrawRedColorIconNumber, // DrawNumberType
DrawRedColorIconGuage, // DrawGuageType
NULL // DrawRadioGroupType
},
};
DrawNumberType code DrawBlueColorIconNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiEnd, CP_BlueColor, CP_GrayColor,CP_BlackColor, CP_GrayColor, 20, 4, GetBlueColorValue}
};
DrawGuageType code DrawBlueColorIconGuage[]=
{ // Flags, ForeColor, BackColor, Length, XPos, YPos, GetValue
{dwiEnd, CP_BlueColor,CP_SoftLowGreenColor,7, 20, 5, GetBlueColorValue}
};
DrawValueType code DisplayValueBlueColorIcon[]=
{
{dwiEnd,
DrawBlueColorIconNumber, // DrawNumberType
DrawBlueColorIconGuage, // DrawGuageType
NULL // DrawRadioGroupType
},
};
DrawNumberType code DrawGreenColorIconNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiEnd, CP_BlueColor, CP_GrayColor,CP_BlackColor, CP_GrayColor, 20, 6, GetGreenColorValue}
};
DrawGuageType code DrawGreenColorIconGuage[]=
{ // Flags, ForeColor, BackColor, Length, XPos, YPos, GetValue
{dwiEnd, CP_GreenColor,CP_SoftLowGreenColor, 7, 20, 7, GetGreenColorValue}
};
DrawValueType code DisplayValueGreenColorIcon[]=
{
{dwiEnd,
DrawGreenColorIconNumber, // DrawNumberType
DrawGreenColorIconGuage, // DrawGuageType
NULL // DrawRadioGroupType
},
};
//====================================================================================
#if 0
RadioTextType code BankNoText[]=
{ // Flags, XPos, YPos, DisplayText
{dwiEnd, 6, 9, BankNameText}
};
DrawRadioGroupType code DrawBankNoRadioGroup[]=
{ //ForeColor, BackColor, GetValue RadioText
{CP_YellowColor, CP_GrayColor, NULL, BankNoText}
};
DrawNumberType code DrawAddrNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiHex|dwiEnd, CP_YellowColor, CP_GrayColor, 6, 10, GetAddrValue}
};
DrawNumberType code DrawAddrRegValueNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiHex|dwiEnd, CP_YellowColor, CP_GrayColor, 17, 10, GetAddrRegValue}
};
DrawNumberType code DrawRegValueNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiHex|dwiEnd, CP_YellowColor, CP_GrayColor, 17, 10, GetRegValue}
};
#endif
#if 0
RadioTextType code BurninRatioText[]=
{ // Flags, XPos, YPos, DisplayText
{dwiEnd, 10, 8, OffText},
{dwiEnd, 10, 8, OnText}
};
DrawRadioGroupType code DrawBurninRadioGroup[]=
{ //ForeColor, BackColor, GetValue RadioText
{CP_YellowColor, CP_GrayColor, GetBurninValue, BurninRatioText}
};
#endif
//====================================================================================
DrawNumberType code DrawFContrastNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiEnd, CP_BlueColor, CP_GrayColor,CP_RedColor, CP_GrayColor, 16, 14, GetContrastValue}
};
DrawValueType code DisplayValueFContrastNumber[]=
{
{dwiEnd,
DrawFContrastNumber, // DrawNumberType
NULL, // DrawGuageType
NULL // DrawRadioGroupType
},
};
DrawNumberType code DrawFBrightnessNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiEnd, CP_BlueColor, CP_GrayColor,CP_RedColor, CP_GrayColor, 16, 15, GetBrightnessValue}
};
DrawValueType code DisplayValueFBrightnessNumber[]=
{
{dwiEnd,
DrawFBrightnessNumber, // DrawNumberType
NULL, // DrawGuageType
NULL // DrawRadioGroupType
},
};
//==============================================================
/*DrawNumberType code DrawF6500KContrastNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiEnd, CP_BlueColor, CP_GrayColor,CP_BlueColor, CP_GrayColor, 18, 13, GetFactory6500KContrastValue}
};
DrawValueType code DisplayValueF6500KContrastNumber[]=
{
{dwiEnd,
DrawF6500KContrastNumber, // DrawNumberType
NULL, // DrawGuageType
NULL // DrawRadioGroupType
},
};
DrawNumberType code DrawF6500KBrightnessNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiEnd, CP_BlueColor, CP_GrayColor,CP_BlueColor, CP_GrayColor, 18, 14, GetFactory6500KBrightnessValue}
};
DrawValueType code DisplayValueF6500KBrightnessNumber[]=
{
{dwiEnd,
DrawF6500KBrightnessNumber, // DrawNumberType
NULL, // DrawGuageType
NULL // DrawRadioGroupType
},
};
DrawNumberType code DrawF9300KContrastNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiEnd, CP_BlueColor, CP_GrayColor,CP_BlueColor, CP_GrayColor, 18, 9, GetFactory9300KContrastValue}
};
DrawValueType code DisplayValueF9300KContrastNumber[]=
{
{dwiEnd,
DrawF9300KContrastNumber, // DrawNumberType
NULL, // DrawGuageType
NULL // DrawRadioGroupType
},
};
DrawNumberType code DrawF9300KBrightnessNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiEnd, CP_BlueColor, CP_GrayColor,CP_BlueColor, CP_GrayColor, 18, 10, GetFactory9300KBrightnessValue}
};
DrawValueType code DisplayValueF9300KBrightnessNumber[]=
{
{dwiEnd,
DrawF9300KBrightnessNumber, // DrawNumberType
NULL, // DrawGuageType
NULL // DrawRadioGroupType
},
};
*/
//====================================================================================
DrawNumberType code DrawRedColor9300KNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiEnd, CP_BlueColor, CP_GrayColor,CP_RedColor, CP_GrayColor, 9, 8, GetRColor9300KValue}
};
DrawValueType code DisplayValueRedColor9300KNumber[]=
{
{dwiEnd,
DrawRedColor9300KNumber, // DrawNumberType
NULL, // DrawGuageType
NULL // DrawRadioGroupType
},
};
DrawNumberType code DrawGreenColor9300KNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiEnd, CP_BlueColor, CP_GrayColor,CP_RedColor, CP_GrayColor, 15, 8, GetGColor9300KValue}
};
DrawValueType code DisplayValueGreenColor9300KNumber[]=
{
{dwiEnd,
DrawGreenColor9300KNumber, // DrawNumberType
NULL, // DrawGuageType
NULL // DrawRadioGroupType
},
};
DrawNumberType code DrawBlueColor9300KNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiEnd, CP_BlueColor, CP_GrayColor,CP_RedColor, CP_GrayColor, 21, 8, GetBColor9300KValue}
};
DrawValueType code DisplayValueBlueColor9300KNumber[]=
{
{dwiEnd,
DrawBlueColor9300KNumber, // DrawNumberType
NULL, // DrawGuageType
NULL // DrawRadioGroupType
},
};
//====================================================================================
DrawNumberType code DrawRedColor6500KNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiEnd, CP_BlueColor, CP_GrayColor,CP_RedColor, CP_GrayColor, 9, 10, GetRColor6500KValue}
};
DrawValueType code DisplayValueRedColor6500KNumber[]=
{
{dwiEnd,
DrawRedColor6500KNumber, // DrawNumberType
NULL, // DrawGuageType
NULL // DrawRadioGroupType
},
};
DrawNumberType code DrawGreenColor6500KNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiEnd, CP_BlueColor, CP_GrayColor,CP_RedColor, CP_GrayColor, 15, 10, GetGColor6500KValue}
};
DrawValueType code DisplayValueGreenColor6500KNumber[]=
{
{dwiEnd,
DrawGreenColor6500KNumber, // DrawNumberType
NULL, // DrawGuageType
NULL // DrawRadioGroupType
},
};
DrawNumberType code DrawBlueColor6500KNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiEnd, CP_BlueColor, CP_GrayColor,CP_RedColor, CP_GrayColor, 21, 10, GetBColor6500KValue}
};
DrawValueType code DisplayValueBlueColor6500KNumber[]=
{
{dwiEnd,
DrawBlueColor6500KNumber, // DrawNumberType
NULL, // DrawGuageType
NULL // DrawRadioGroupType
},
};
//==============================================
DrawNumberType code DrawRedColor5800KNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiEnd, CP_BlueColor, CP_GrayColor,CP_RedColor, CP_GrayColor, 9, 12, GetRColor5800KValue}
};
DrawValueType code DisplayValueRedColor5800KNumber[]=
{
{dwiEnd,
DrawRedColor5800KNumber, // DrawNumberType
NULL, // DrawGuageType
NULL // DrawRadioGroupType
},
};
DrawNumberType code DrawGreenColor5800KNumber[]=
{ // Flags, ForeColor, BackColor, XPos, YPos, GetValue
{dwiEnd, CP_BlueColor, CP_GrayColor,CP_RedColor, CP_GrayColor, 15, 12, GetGColor5800KValue}
};
DrawValueType code DisplayValueGreenColor5800KNumber[]=
{
{dwiEnd,
DrawGreenColor5800KNumber, // DrawNumberType
NULL, // DrawGuageType
NULL // DrawRadioGroupType
},
};
DrawNumberType code DrawBlueColor5800KNumber[]=
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -