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

📄 menutbl2.h

📁 完整的软件学习--显示器驱动视频软件
💻 H
📖 第 1 页 / 共 4 页
字号:
  {dwiEnd,	CP_BlackColor,	CP_SoftLowGreenColor,CP_RedColor, CP_SoftLowGreenColor,	23,	4,	GetRedColorValue}
};
DrawGuageType code DrawTRedColorIconGuage[]=
{ // Flags,	ForeColor,	BackColor,	Length,	XPos,	YPos,	GetValue
  {dwiEnd,	CP_RedColor,CP_SoftLowGreenColor	,12,	28, 4,	GetRedColorValue}
};
DrawValueType code DisplayValueTRedColorIcon[]=
{
 {dwiEnd, 
  DrawTRedColorIconNumber,	// DrawNumberType
  DrawTRedColorIconGuage,	// DrawGuageType
  DrawPlusIconRadioGroup4	// DrawRadioGroupType
 },
};
DrawNumberType code DrawTGreenColorIconNumber[]=
{ // Flags,	ForeColor,	BackColor,	XPos,	YPos,	GetValue
  {dwiEnd,	CP_BlackColor, CP_SoftLowGreenColor,CP_GreenColor,	CP_SoftLowGreenColor,	23,	6,	GetGreenColorValue}
};
DrawGuageType code DrawTGreenColorIconGuage[]=
{ // Flags,	ForeColor,	BackColor,	Length,	XPos,	YPos,	GetValue
  {dwiEnd,	CP_GreenColor,CP_SoftLowGreenColor,	12,	28, 6,	GetGreenColorValue}
};
DrawValueType code DisplayValueTGreenColorIcon[]=
{
 {dwiEnd, 
  DrawTGreenColorIconNumber,	// DrawNumberType
  DrawTGreenColorIconGuage,	// DrawGuageType
  DrawPlusIconRadioGroup6 	// DrawRadioGroupType
 },
};
DrawNumberType code DrawTBlueColorIconNumber[]=
{ // Flags,	ForeColor,	BackColor,	XPos,	YPos,	GetValue
  {dwiEnd,CP_BlackColor,	CP_SoftLowGreenColor,	CP_BlueColor, CP_SoftLowGreenColor,	23,	8, 	GetBlueColorValue}
};
DrawGuageType code DrawTBlueColorIconGuage[]=
{ // Flags,	ForeColor,	BackColor,	Length,	XPos,	YPos,	GetValue
  {dwiEnd,	CP_BlueColor,CP_SoftLowGreenColor,12,	28, 8,	GetBlueColorValue}
};
DrawValueType code DisplayValueTBlueColorIcon[]=
{
 {dwiEnd, 
  DrawTBlueColorIconNumber,	// DrawNumberType
  DrawTBlueColorIconGuage,	// DrawGuageType
  DrawPlusIconRadioGroup8	// DrawRadioGroupType
 },
};


//========================================
 
DrawNumberType code DrawOsdTimeIconNumber[]=
{ // Flags,	ForeColor,	BackColor,	XPos,	YPos,	GetValue
  {dwiEnd,	CP_BlackColor,	CP_SoftLowGreenColor,	CP_RedColor, CP_SoftLowGreenColor,23,	10,	GetOsdTimeValue1}
};
  
DrawGuageType code DrawOsdTimeIconGuage[]=
{ // Flags,	ForeColor,	BackColor,	Length,	XPos,	YPos,	GetValue
  {dwiEnd,	CP_SoftGrassGreenColor,CP_SoftLowGreenColor,	12,	28, 10,	GetOsdTimeValue1}
};
DrawValueType code DisplayValueOsdTimeIcon[]=
{
 {dwiEnd, 
  DrawOsdTimeIconNumber,	// DrawNumberType
  DrawOsdTimeIconGuage,	// DrawGuageType
  DrawPlusIconRadioGroup10	// DrawRadioGroupType
 },
};

//==========================================================
MenuItemType code OsdTimeMenuItems[]=
{

 { 14, 10, // XPos, YPos;
    CP_BlackColor,	CP_GrayColor, // ForeColor, BackColor;
    CP_BlackColor,	CP_GrayColor,// SelForeColor, SelBackColor;
    OsdTimeSubMenu, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    NULL, // DisplayText; 
    AdjusterOsdTimeKeyEvent,// KeyEvent
    { NULL,	// AdjustFunction
      NULL			// ExecFunction
    },// *DisplayValue;
    DisplayValueNull,
    mibSelectable|mibAdjustItem // Flags
  },

 { 14, 10, // XPos, YPos;
    CP_BlackColor,	CP_GrayColor, // ForeColor, BackColor;
    CP_BlackColor,	CP_GrayColor,// SelForeColor, SelBackColor;
    OsdTimeSubMenu, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    NULL, // DisplayText; 
    AdjusterOsdTimeKeyEvent,// KeyEvent
    { OsdTimeAdjust,	// AdjustFunction
      NULL			// ExecFunction
    },// *DisplayValue;
    DisplayValueNull,
    mibSelectable|mibAdjustItem // Flags
  }
};


MenuItemType code OsdTimeSubMenuItems[]=
{
{ 14, 10, // XPos, YPos;
    CP_BlackColor,	CP_GrayColor, // ForeColor, BackColor;
    CP_BlackColor,	CP_GrayColor,// SelForeColor, SelBackColor;
    OsdTimeMenu, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    NULL, // DisplayText; 
    AdjusterKeyEvent,// KeyEvent
    { NULL,	// AdjustFunction
      NULL			// ExecFunction
    },// *DisplayValue;
    DisplayValueNull,
    mibSelectable|mibAdjustItem // Flags
  },
  
//
  { 14, 10, // XPos, YPos;
    CP_BlackColor,	CP_GrayColor, // ForeColor, BackColor;
    CP_BlackColor,	CP_GrayColor,// SelForeColor, SelBackColor;
    OsdTimeMenu, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    NULL, // DisplayText; 
    SliderSelectKeyEvent,// KeyEvent
    { AdjustOsdTimeValue,	// AdjustFunction
      NULL			// ExecFunction
    },// *DisplayValue;
    DisplayValueOsdTimeIcon,
    mibSelectable|mibAdjustItem // Flags
  }
};




//=========================================



//=============================================




///////////////////////////////////////////////////////////////////////////////////
MenuItemType code ModeSelectMenuItems[]=
{
  { 22, 4, // XPos, YPos;
    CP_BlackColor,	CP_GrayColor, // ForeColor, BackColor;
    CP_BlackColor,	CP_GrayColor,// SelForeColor, SelBackColor;
    MiscellaneousMenu, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    NULL, // DisplayText; 
    AdjusterKeyEvent,// KeyEvent
    { ModeAdjust,	// AdjustFunction
      NULL			// ExecFunction
    },// *DisplayValue;
    DisplayValueDrawMode,
    mibSelectable|mibAdjustItem // Flags
  }
};




//==============================================================================================



//==============================================================================================
//==============================================================================================

RadioTextType code RedColorIconRatioText[]=
{ // Flags,	XPos,	YPos,	DisplayText
  {dwiEnd,		0,	2,	RedColorText}
};

//==============================================================================================

RadioTextType code GreenColorIconRatioText[]=
{ // Flags,	XPos,	YPos,	DisplayText
 {dwiEnd,	0,	2,	GreenColorText}
};

RadioTextType code colrIconRatioText[]=
{
  {0,19,	3,	RedColorText},
  {0,	19,	5,	GreenColorText},
  {dwiEnd,19,	7,	BlueColorText}
};

DrawRadioGroupType code DrawColrIconRadioGroup[]=
	{ //ForeColor,	BackColor,	GetValue	RadioText
		{0,	CP_BlackColor,	CP_SoftLowGreenColor,CP_BlackColor,	CP_SoftLowGreenColor,NULL, colrIconRatioText}
	};

DrawValueType code DisplayValueColrIcon[]=
{
 {dwiEnd, 
  NULL,	// DrawNumberType
  NULL,	// DrawGuageType
  DrawColrIconRadioGroup// DrawRadioGroupType
 },
};
//==============================================================================================

RadioTextType code BlueColorIconRatioText[]=
{ // Flags,	XPos,	YPos,	DisplayText
  {dwiEnd,	0,	2,	BlueColorText}
};


/*
RadioTextType code VersionIconRatioText[]=
	{ // Flags, XPos, YPos, DisplayText
		{0,	2, 9,	PanelNameText},
		{dwiEnd,11, 9,	VersionDateText}
	};
DrawRadioGroupType code DrawVersionIconRadioGroup[]=
	{ //ForeColor,	BackColor,	GetValue	RadioText
		{0,CP_BlackColor,	CP_SoftLowGreenColor,	CP_BlackColor,	CP_SoftLowGreenColor,NULL, VersionIconRatioText}
	};

*/



//==================================================





//++++++++++++++++++++++++++++++++++++++++++++++++++++++++
MenuItemType code FactoryConfigMenuItems[]=
{
// 0
   { 10, 7, // XPos, YPos;
    CP_BlackColor, CP_GrayColor, // ForeColor, BackColor;
    CP_YellowColor,	CP_YellowColor, // SelForeColor, SelBackColor;
    MainMenu, //NextMenuPage;
    DWI_CommentText,// DrawMenuItemType;
    AutoColorTempText, // DisplayText; 
    FactoryExecNaviKeyEvent, //KeyEvent;
    { NULL,	// AdjustFunction
      NULL			// ExecFunction
    },// *DisplayValue;
    DisplayValueNull,
    mibSelectable // Flags
  }, 
//------------------------------------------------------*/
// 1
  { 10, 7, // XPos, YPos;
    CP_BlackColor, CP_GrayColor, // ForeColor, BackColor;
    CP_YellowColor,	CP_YellowColor, // SelForeColor, SelBackColor;
    MainMenu, //NextMenuPage;
    DWI_CommentText,// DrawMenuItemType;
    FacAutoConfigText, // DisplayText; 
    FactoryExecNaviKeyEvent, //KeyEvent;
    { NULL,	// AdjustFunction
      AutoConfig			// ExecFunction
    },// *DisplayValue;
    DisplayValueNull,
    mibSelectable // Flags
  },
//------------------------------------------------------*/
//2
  { 10, 7, // XPos, YPos;
    CP_BlackColor, CP_GrayColor, // ForeColor, BackColor;
    CP_YellowColor,	CP_YellowColor, // SelForeColor, SelBackColor;
    MainMenu, //NextMenuPage;
    DWI_CommentText,// DrawMenuItemType;
    FacAutoColorText, // DisplayText; 
    FactoryExecNaviKeyEvent, //KeyEvent;
    { NULL,	// AdjustFunction
      AutoColor// ExecFunction
    },// DisplayValue;
    DisplayValueNull,
    mibSelectable // Flags
  },    
//------------------------------------------------------*/  
 //3
  { 10, 7, // XPos, YPos;
    CP_BlackColor, CP_GrayColor, // ForeColor, BackColor;
    CP_YellowColor,	CP_YellowColor, // SelForeColor, SelBackColor;
    MainMenu, //NextMenuPage;
    DWI_CommentText,// DrawMenuItemType;
    ExitText, // DisplayText; 
    FactoryExitKeyEvent, //KeyEvent;
    { NULL,	// AdjustFunction
      NULL //SetColorTemperature9300K	// ExecFunction
    }, // DisplayValue;
    DisplayValueNull,
    mibSelectable // Flags
  }    
};


///////////////////////////////////////////////////////////////////////////////


RadioTextType code ColorIconText[]=
{
   {dwiEnd,2,	4,	ColorIcon}
};

DrawRadioGroupType code DrawColorIcon[]=
{ //ForeColor,	BackColor,	GetValue	RadioText
	{dwiIcon,	CP_SoftLowGreenColor,CP_SoftLowGreenColor,CP_SoftLowGreenColor,CP_BlueColor,NULL, ColorIconText}
};
DrawValueType code DisplayValueDrawColorIcon[]=
{
 {dwiEnd,
  NULL,	// DrawNumberType
  NULL,	// DrawGuageType
   DrawColorIcon// DrawRadioGroupType
 },

};

/****************************************************************************/
MenuItemType   code MainMenuItems[]=
{

// 0 contrast
   { 4, 4, // XPos, YPos;
     CP_BlackColor, CP_SoftLowGreenColor,// ForeColor, BackColor;
     CP_BlackColor, CP_GrassGreenColor,// SelForeColor, SelBackColor;
    PictureMenu, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    ColorText, // DisplayText; 
      NaviSUBKeyEvent,//NaviKeyEvent, //KeyEvent;
    { NULL,	// AdjustFunction
      NULL			// ExecFunction
    },// *DisplayValue;
   DisplayValueDrawColorIcon , ///DrawValueType
    mibSelectable|mibNotFactoryItem // Flags
  },


//=========
// 0 contrast
   { 14, 4, // XPos, YPos;
    CP_BlackColor,  CP_SoftLowGreenColor,// ForeColor, BackColor;
     CP_BlackColor, CP_GrassGreenColor,// SelForeColor, SelBackColor;
    100, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    ContrastText, // DisplayText; 
      NaviKeyEvent,//NaviKeyEvent, //KeyEvent;
    { AdjustContrast,	// AdjustFunction	// AdjustFunction
      NULL			// ExecFunction
    },// *DisplayValue;
    DisplayValueDrawContrast,//DisplayValueNull , ///DrawValueType
    mibSelectable|mibNotFactoryItem // Flags
  },

   { 14, 6, // XPos, YPos;
     CP_BlackColor, CP_SoftLowGreenColor, // ForeColor, BackColor;
     CP_BlackColor, CP_GrassGreenColor,// SelForeColor, SelBackColor;
    100, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    BrightnessText, // DisplayText; 
      NaviKeyEvent, //KeyEvent;
    { AdjustBrightness,	// AdjustFunction	// AdjustFunction
      NULL			// ExecFunction
    },// *DisplayValue;
  DisplayValueDrawBrightness,//DisplayValueNull,//DisplayValueNull 
    mibSelectable|mibNotFactoryItem // Flags
  },
  
   { 14, 8, // XPos, YPos;
    CP_BlackColor, CP_SoftLowGreenColor,// ForeColor, BackColor;
    CP_BlackColor, CP_GrassGreenColor,// SelForeColor, SelBackColor;
    100, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    GammaText, // DisplayText; 
      NaviKeyEvent, //KeyEvent;
    { mStar_SetGamma,	// AdjustFunction
      NULL			// ExecFunction
    },// *DisplayValue;
  DisplayValue0123Icon, // DisplayValueNull,
    mibSelectable|mibNotFactoryItem // Flags
  },


  { 14, 10, // XPos, YPos;
     CP_BlackColor, CP_SoftLowGreenColor,// ForeColor, BackColor;
    CP_BlackColor, CP_GrassGreenColor,// SelForeColor, SelBackColor;
    100, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
   ColorTempText, // DisplayText; 
      NaviKeyEvent, //KeyEvent;
    {mStar_SetColorTemp,	// AdjustFunction
      NULL			// ExecFunction
    },// *DisplayValue;
 DisplayValueColorTemp , // DisplayValueNull,   //
    mibSelectable|mibNotFactoryItem // Flags
  },
     { 14, 12, // XPos, YPos;
     CP_BlackColor, CP_SoftLowGreenColor,// ForeColor, BackColor;
    CP_BlackColor, CP_GrassGreenColor, // SelForeColor, SelBackColor;
    100, //NextMenuPage;
    DWI_Text,// DrawMenuItemType;
    ColorAdjustText, // DisplayText; 
    NaviKeyAdjustRGBEvent, //NaviKeyEvent, //KeyEvent;
    { NULL,	// AdjustFunction   do or no ACTION
      NULL			// ExecFunction
    },// *DisplayValue;

⌨️ 快捷键说明

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