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

📄 globl.h

📁 Vx1828点3.5"TFT屏的的源程序
💻 H
字号:
// The globl.h used only VX1828_AU.C // define the charicator's code .referance to the relation of function .#define title		     0x01#define content		0x02#define bottom		     0x03#define highlight 	     0x01#define normal 		0x00#define foreground 	     0x01#define background 	     0x00#define bl		     0x01#define hl		     0x00#define britc		     0x00#define contc		     0x01#define	satr		     0x02#define	hue		     0x03#define sharp		     0x04// Define Color .#define Black				0x00#define Blue				0x01#define Green				0x02#define Cyan				0x03#define Red 				0x04#define Fuchsia			0x05#define Yellow				0x06#define White				0x07#define Transparent			0x08#define RoyalBlue			0x09#define MediumAquamarine	     0x0a#define LightGreen			0x0b#define Orange				0x0c#define HotPink			0x0d#define Silver				0x0e#define Gray				0x0f//*****************************************************************************************// define OSD variable . used for menu .unsigned char data top_sel     = 0x01;	// Top menu selectionunsigned char data brit_sel    = 0x01;	// Brightness menu selectionunsigned char data britc_sel   = 32;	// Combine Brightness selectionunsigned char data cont_sel    = 0x01;	// Contrast menu selectionunsigned char data contc_sel   = 0x80;	// Combine Contrast selectionunsigned char data hue_sel     = 0x20;	// Hue menu selectionunsigned char data satr_sel    = 0x80;	// Saturation menu selectionunsigned char data sharp_sel   = 0x20;	// Sharpness menu selectionunsigned char data volume_sel	= 0;	// Volume selectionunsigned char idata video_format   = 0x03;	// Video format 0:PAL-N 1:PAL  2:PAL-M  3:NTSC//define program single variable . //used for menu .unsigned char idata hposPN_sel	= 0x00;	// PAL-N Horizontal Position selectionunsigned char idata vposPN_sel	= 0x00;	// PAL-N Vertical Position selectionunsigned char idata hposP_sel	     = 0x00;	// PAL Horizontal Position selectionunsigned char idata vposP_sel	     = 0x00;	// PAL Vertical Position selectionunsigned char idata hposPM_sel	= 0x00;	// PAL-M Horizontal Position selectionunsigned char idata vposPM_sel	= 0x00;	// PAL-M Vertical Position selectionunsigned char idata hposNS_sel	= 0x00;	// NTSC Horizontal Position selectionunsigned char idata vposNS_sel	= 0x00;	// NTSC Vertical Position selectionunsigned char idata signal_sel     = 0x00;	// Video selectionunsigned char idata gamma_sel      = 0x01;   // Gamma Table selection    //*****************************************************************************************// define program's flag .bit test_flag  =    0;bit power_flag    = 0;		// Power flag  for menu_board's button or ir Power button// the flag for menu .bit topmenu_flag  = 0; 	// topmenu flagbit britmenu_flag = 0;		// Brightness menu flagbit volshow_flag  = 0;		// Volume menu showed flagbit timemenu_flag=0;	// timer menu flag .bit mute_flag = 0;			// MUTE flagbit exit_flag = 0;bit pcc =0;         //reset vx1828 program //*************************************************************************************

⌨️ 快捷键说明

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