亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? displayl.h

?? 本代碼包為該GUI LIB在PC上的測試移植. PIC_Graphics 為PIC GUI的源代碼目錄 Demo 為PIC GUI 測試代碼目錄 其他的代碼和目錄均是uCGUI
?? H
字號:
#ifndef DISPLAYL_H_#define DISPLAYL_H_//#include "../xinit.h"//#include "../types.h"#include "GenericTypeDefs.h"  // for BYTE, SHORT, WORD,... types#include "GraphicsConfig.h"   // for USE_BITMAP_FLASH#include "Primitive.h"		  // for FLASH_BYTE/********************************************************************** Overview: Additional hardware-accelerated functions can be implemented*           in the driver. These definitions exclude the PutPixel()-based*           functions in the primitives layer (Primitive.c file) from compilation.*********************************************************************/// Define this to implement Font related functions in the driver.//#define USE_DRV_FONT// Define this to implement Line function in the driver.//#define USE_DRV_LINE// Define this to implement Circle function in the driver.//#define USE_DRV_CIRCLE// Define this to implement FillCircle function in the driver.//#define USE_DRV_FILLCIRCLE// Define this to implement Bar function in the driver.//#define USE_DRV_BAR// Define this to implement ClearDevice function in the driver.//#define USE_DRV_CLEARDEVICE// Define this to implement PutImage function in the driver.//#define USE_DRV_PUTIMAGE/********************************************************************** Overview: Horizontal and vertical screen size.*********************************************************************/// Defines the horizontal screen size. Dependent on the display glass used.#define SCREEN_HOR_SIZE    320// Defines the vertical screen size. Dependent on the display glass used.#define SCREEN_VER_SIZE    240// Memory pitch for line#define LINE_MEM_PITCH     320// Video buffer offset#define BUF_MEM_OFFSET    //(DWORD)0x18000 //// Definitions for reset pin//#define RST_TRIS_BIT       TRISCbits.TRISC1//#define RST_LAT_BIT        LATCbits.LATC1////// Definitions for CS pin//#define CS_TRIS_BIT        TRISDbits.TRISD8//#define CS_LAT_BIT         LATDbits.LATD8////// Definitions for wait pin//#define WAIT_TRIS_BIT      TRISCbits.TRISC2//#define WAIT_PORT_BIT      PORTCbits.RC2////// Definitions for FLASH CS pin //#define CS_FLASH_LAT_BIT   LATDbits.LATD9//#define CS_FLASH_TRIS_BIT  TRISDbits.TRISD9////// Clipping region control codes//#define CLIP_DISABLE       0 //#define CLIP_ENABLE        1////// HIT1270 commands//#define SET_DATA_POINTER   0x50//#define SRAM_WRITE         0x51//#define STAMP_ICON         0x52//#define FILL_BLOCK         0x53////#define FLASH_WRITE        0x60//#define FLASH_READ         0x61/********************************************************************** Overview: Clipping region control codes to be used with SetClip(...)*           function. *********************************************************************/#define CLIP_DISABLE       0 	// Disables clipping.#define CLIP_ENABLE        1	// Enables clipping./********************************************************************** Overview: Some basic colors definitions.*********************************************************************///#define RGBA16(a,r,g,b)    (WORD)( ( ((a)&0xF) << 12 ) | ( ((r)&0xF) << 8 ) | ( ((g)&0xF) << 4  ) | ( ((b)&0xF) << 0 ) )//#define RGBA16(a,r,g,b)    (WORD)( ( ((a)&0x1) << 15 ) | ( ((r)&0x1F) << 10 ) | ( ((g)&0x1F) << 5  ) | ( ((b)&0x1F) << 0 ) )#define RGBA16(a,r,g,b)		(WORD)( ((((r)&0xFF)>>3)<<11) | ((((g)&0xFF)>>2)<<5) | ((((b)&0xFF)>>3)<<0) )#define RGB16(r,g,b)       	RGBA16(0,r,g,b)#define RGBA32(a,r,g,b)    	(DWORD)( ( ((a)&0xFF) << 24 ) | ( ((r)&0xFF) << 16 ) | ( ((g)&0xFF) << 8  ) | ( ((b)&0xFF) << 0 ) )#define RGBA16TO32(a,c)		RGBA32(a, ((((c)>>11)&0x1F)<<3)+7, ((((c)>>5)&0x3F)<<2)+3, ((((c)>>0)&0x3F)<<3)+7 )#define RGB16TO32(c)		RGBA16TO32(0,c)#define RGB32(r,g,b)	   	RGBA32(0,r,g,b)      #define RGBA			   	RGBA16#define RED                	RGBA(0,255,0,0)#define GREEN              	RGBA(0,0,255,0)#define BLUE               	RGBA(0,0,0,255)#define BLACK              	RGBA(0,0,0,0)#define WHITE              	RGBA(0,255,255,255)#define YELLOW             	RGBA(0,255,255,255)#define CYAN               	(WORD)0b0000010000010000#define MAGENTA            	(WORD)0b1000000000010000#define BROWN              	(WORD)0b1111110000000000#define BRIGHTBLUE         (WORD)0x001F#define BRIGHTGREEN        (WORD)0x07E0 //0b0000 0111 1110 0000#define BRIGHTCYAN         (WORD)0b0000011111111111#define BRIGHTRED          0xF800 //(WORD)0b1111100000000000#define BRIGHTMAGENTA      (WORD)0b1111100000011111#define BRIGHTYELLOW       0xFFE0 //(WORD)0b1111111111100000#define LIGHTBLUE          0x821F//(WORD)0b1000010000011111#define LIGHTGREEN         (WORD)0b1000011111110000#define LIGHTCYAN          (WORD)0b1000011111111111#define LIGHTRED           (WORD)0b1111110000010000#define LIGHTMAGENTA       (WORD)0b1111110000011111#define LIGHTGRAY          0x8410//(WORD)0b1000010000010000#define DARKGRAY           0x4208//(WORD)0b0100001000001000#define GRAY0       	   RGBA(0,256-(1*(256/8)),256-(1*(256/8)), 256-(1*(256/8)))#define GRAY1         	   RGBA(0,256-(2*(256/8)),256-(2*(256/8)), 256-(2*(256/8)))#define GRAY2              RGBA(0,256-(3*(256/8)),256-(3*(256/8)), 256-(3*(256/8)))#define GRAY3              RGBA(0,256-(4*(256/8)),256-(4*(256/8)), 256-(4*(256/8)))#define GRAY4              RGBA(0,256-(5*(256/8)),256-(5*(256/8)), 256-(5*(256/8)))#define GRAY5              RGBA(0,256-(6*(256/8)),256-(6*(256/8)), 256-(6*(256/8)))#define GRAY6	           RGBA(0,256-(7*(256/8)),256-(7*(256/8)), 256-(7*(256/8)))#define GRAY7	           RGBA(0,256-(8*(256/8))+1,256-(8*(256/8))+1, 256-(8*(256/8))+1)// Colorextern WORD_VAL _color;/********************************************************************** Overview: Clipping region control an//(WORD)0b1000010000010000d border settings.**********************************************************************/// Clipping region enable controlextern SHORT _clipRgn;// Left clipping region borderextern SHORT _clipLeft;// Top clipping region borderextern SHORT _clipTop;// Right clipping region borderextern SHORT _clipRight;// Bottom clipping region borderextern SHORT _clipBottom;/********************************************************************** Function:  void ResetDevice()** Overview: Initializes LCD module.** PreCondition: none** Input: none** Output: none** Side Effects: none*********************************************************************/void initDevice( void );void ResetDevice( void );/********************************************************************** Macros:  GetMaxX()** Overview: Returns maximum horizontal coordinate.** PreCondition: none** Input: none** Output: Maximum horizontal coordinate.** Side Effects: none*********************************************************************/#define GetMaxX() (SCREEN_HOR_SIZE-1)/********************************************************************** Macros:  GetMaxY()** Overview: Returns maximum vertical coordinate.** PreCondition: none** Input: none** Output: Maximum vertical coordinate.** Side Effects: none*********************************************************************/#define GetMaxY() (SCREEN_VER_SIZE-1)/********************************************************************** Macros:  SetColor(color)** Overview: Sets current drawing color.** PreCondition: none** Input: color - Color coded in 5:6:5 RGB format.** Output: none** Side Effects: none*********************************************************************/#define SetColor(color) _color.Val = color;/********************************************************************** Macros:  GetColor()** Overview: Returns current drawing color.** PreCondition: none** Input: none** Output: Color coded in 5:6:5 RGB format.** Side Effects: none*********************************************************************/#define GetColor() _color.Val/********************************************************************** Macros:  SetActivePage(page)** Overview: Sets active graphic page.** PreCondition: none** Input: page - Graphic page number.** Output: none** Side Effects: none*********************************************************************/#define SetActivePage(page)/********************************************************************** Macros: SetVisualPage(page)** Overview: Sets graphic page to display.** PreCondition: none** Input: page - Graphic page number** Output: none** Side Effects: none*********************************************************************/#define SetVisualPage(page)/********************************************************************** Function: void PutPixel(SHORT x, SHORT y)** Overview: Puts pixel with the given x,y coordinate position.** PreCondition: none** Input: x - x position of the pixel.*		 y - y position of the pixel.** Output: none** Side Effects: none*********************************************************************/void PutPixel(SHORT x, SHORT y);/********************************************************************** Function: WORD GetPixel(SHORT x, SHORT y)** Overview: Returns pixel color at the given x,y coordinate position.** PreCondition: none** Input: x - x position of the pixel.*		 y - y position of the pixel.** Output: pixel color** Side Effects: none*********************************************************************/WORD GetPixel(SHORT x, SHORT y);/********************************************************************** Macros: SetClipRgn(left, top, right, bottom)** Overview: Sets clipping region.** PreCondition: none** Input: left - Defines the left clipping region border.*		 top - Defines the top clipping region border.*		 right - Defines the right clipping region border.*	     bottom - Defines the bottom clipping region border.** Output: none** Side Effects: none*********************************************************************/#define SetClipRgn(left,top,right,bottom) _clipLeft=left; _clipTop=top; _clipRight=right; _clipBottom=bottom;/********************************************************************** Macros: GetClipLeft()** Overview: Returns left clipping border.** PreCondition: none** Input: none** Output: Left clipping border.** Side Effects: none*********************************************************************/#define GetClipLeft() _clipLeft/********************************************************************** Macros: GetClipRight()** Overview: Returns right clipping border.** PreCondition: none** Input: none** Output: Right clipping border.** Side Effects: none*********************************************************************/#define GetClipRight() _clipRight/********************************************************************** Macros: GetClipTop()** Overview: Returns top clipping border.** PreCondition: none** Input: none** Output: Top clipping border.** Side Effects: none*********************************************************************/#define GetClipTop() _clipTop/********************************************************************** Macros: GetClipBottom()** Overview: Returns bottom clipping border.** PreCondition: none** Input: none** Output: Bottom clipping border.** Side Effects: none*********************************************************************/#define GetClipBottom() _clipBottom/********************************************************************** Macros: SetClip(control)** Overview: Enables/disables clipping.** PreCondition: none** Input: control - Enables or disables the clipping.*			- 0: Disable clipping*			- 1: Enable clipping** Output: none** Side Effects: none*********************************************************************/#define SetClip(control) _clipRgn=control;/********************************************************************** Macros: IsDeviceBusy()** Overview: Returns non-zero if LCD controller is busy *           (previous drawing operation is not completed).** PreCondition: none** Input: none** Output: Busy status.** Side Effects: none*********************************************************************/#define IsDeviceBusy()  0/********************************************************************** Macros: SetPalette(colorNum, color)** Overview:  Sets palette register.** PreCondition: none** Input: colorNum - Register number.*        color - Color.** Output: none** Side Effects: none*********************************************************************/#define SetPalette(colorNum, color)#endif /*DISPLAYL_H_*/

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
777亚洲妇女| 亚洲视频每日更新| 日韩国产欧美在线视频| 欧美视频中文字幕| 亚洲另类春色校园小说| 91久久线看在观草草青青| 欧美国产一区在线| 成人免费观看av| 亚洲在线观看免费| 欧美伦理视频网站| 日韩精品福利网| 欧美一区二区三区免费| 久久疯狂做爰流白浆xx| 国产亚洲一区二区三区在线观看| 久久激五月天综合精品| 亚洲精品一区二区三区香蕉| 国产老妇另类xxxxx| 亚洲视频免费在线观看| 欧美情侣在线播放| 久久国产精品第一页| 久久精品在线观看| 欧美性做爰猛烈叫床潮| 精品一区二区三区在线播放视频| 国产精品无人区| 91精品国产乱| 91尤物视频在线观看| 全部av―极品视觉盛宴亚洲| 国产欧美日韩在线观看| 欧美三级视频在线观看| 国产99精品国产| 日韩激情中文字幕| 亚洲人成伊人成综合网小说| 精品久久久久久久一区二区蜜臀| av不卡免费电影| 国内精品在线播放| 日韩成人av影视| 国产精品一二二区| 五月激情综合网| 成人免费在线视频| 国产精品―色哟哟| 久久久国际精品| 欧美一级免费观看| 欧美狂野另类xxxxoooo| 在线观看中文字幕不卡| 99re这里只有精品视频首页| 国产白丝精品91爽爽久久| 狠狠色综合日日| 精品一区二区三区免费| 精品一二三四区| 日本色综合中文字幕| 日韩黄色小视频| 免费在线观看视频一区| 久久不见久久见免费视频1| 奇米在线7777在线精品| 蜜臀国产一区二区三区在线播放| 日本中文字幕不卡| 久久精品国产第一区二区三区| 免费在线观看精品| 国产成人亚洲综合a∨猫咪| 国产成人一区在线| 91香蕉视频黄| 欧美三级中文字幕| 亚洲精品一线二线三线无人区| 日韩女同互慰一区二区| 国产拍揄自揄精品视频麻豆| 国产精品女上位| 亚洲精品久久久久久国产精华液| 五月开心婷婷久久| 国产一区二区三区四| 高潮精品一区videoshd| 欧美成人精品1314www| 久久久国产精华| 亚洲黄色免费电影| 精品一区二区三区不卡| 色噜噜狠狠色综合中国| 日韩午夜中文字幕| 亚洲精品视频在线观看网站| 美女脱光内衣内裤视频久久网站| 国产91高潮流白浆在线麻豆 | 国产婷婷精品av在线| 亚洲欧美日韩国产手机在线| 亚洲国产综合人成综合网站| 黄页网站大全一区二区| 欧洲亚洲国产日韩| 国产精品视频九色porn| 精品写真视频在线观看| 欧美在线观看你懂的| 国产精品动漫网站| 国内成人精品2018免费看| 欧美日免费三级在线| 亚洲天堂网中文字| 国产精品一区二区久激情瑜伽| 欧美乱妇20p| 亚洲va韩国va欧美va| 在线视频综合导航| 伊人性伊人情综合网| 成a人片国产精品| 中文一区一区三区高中清不卡| 日本亚洲电影天堂| 精品粉嫩超白一线天av| 麻豆成人91精品二区三区| 日韩欧美一级片| 国产美女久久久久| 国产嫩草影院久久久久| 成人毛片在线观看| 日韩精品91亚洲二区在线观看| 97se亚洲国产综合自在线观| 亚洲天堂精品在线观看| 欧美婷婷六月丁香综合色| 亚洲成a人片在线不卡一二三区| 91福利国产精品| 天堂久久久久va久久久久| 精品日产卡一卡二卡麻豆| 国产麻豆成人精品| 亚洲愉拍自拍另类高清精品| 欧美肥妇毛茸茸| 国产成人av资源| 一区二区三区免费看视频| 8x8x8国产精品| av一二三不卡影片| 日本亚洲最大的色成网站www| 亚洲国产成人一区二区三区| 色综合天天狠狠| 精品一区二区三区在线播放| 最新久久zyz资源站| 欧美一区二区三区男人的天堂 | 亚洲另类中文字| 精品国产区一区| 一本到不卡精品视频在线观看| 丝袜亚洲精品中文字幕一区| 国产精品丝袜91| 久久在线观看免费| 欧美日韩激情一区二区三区| 国产精品1区2区| 97久久精品人人澡人人爽| 日韩综合小视频| 一区二区三区四区不卡在线| 久久久青草青青国产亚洲免观| 欧美日韩在线播放三区四区| 99精品视频一区| 丁香啪啪综合成人亚洲小说| 久久精品国产亚洲aⅴ| 亚洲一区在线播放| 亚洲精品久久久蜜桃| 成人欧美一区二区三区| 亚洲欧洲国产日本综合| 久久久精品免费免费| 国产亚洲精品7777| 久久亚洲精华国产精华液| 精品久久久久久久久久久久久久久久久| 91视频com| 欧美日韩一区二区三区四区五区| 色av成人天堂桃色av| 色婷婷综合在线| 欧美日韩一本到| 91精品麻豆日日躁夜夜躁| 日韩女优av电影| 国产日韩欧美精品一区| 亚洲婷婷综合色高清在线| 亚洲免费观看在线观看| 亚洲夂夂婷婷色拍ww47| 日韩av一级片| 国产91精品在线观看| 欧美视频在线观看一区| 欧美电影在线免费观看| 精品国产亚洲一区二区三区在线观看| 2021中文字幕一区亚洲| 国产精品理论片在线观看| 亚洲午夜免费视频| 国产99精品在线观看| 欧美日韩一区三区四区| 久久久久久久久久久99999| 亚洲免费观看高清完整版在线观看熊| 亚洲国产欧美在线| 国内外成人在线视频| 欧美色国产精品| 欧美经典一区二区三区| 成人99免费视频| 欧美亚洲国产一区二区三区| 国产亚洲欧洲997久久综合| 亚洲国产另类av| 91蝌蚪porny九色| 欧美成人艳星乳罩| 日韩黄色免费电影| 在线中文字幕一区| 综合色天天鬼久久鬼色| 国产精品自拍在线| 久久婷婷成人综合色| 日韩国产成人精品| 欧美天堂亚洲电影院在线播放| 国产精品久久久久久久久动漫| 精品在线你懂的| 欧美一级精品大片| 久久精品久久综合| 日韩限制级电影在线观看| 日本成人在线网站| 欧美日韩不卡视频| 2021中文字幕一区亚洲| 蜜臀精品久久久久久蜜臀| 欧美三电影在线|