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

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

?? lcd.h

?? 在純DOS下運行的TurboC3_ucos2_ucgui bug改進版本
?? H
字號:
/***********************************************************************************************************                                                uC/GUI*                        Universal graphic software for embedded applications**                       (c) Copyright 2002, Micrium Inc., Weston, FL*                       (c) Copyright 2002, SEGGER Microcontroller Systeme GmbH**              礐/GUI is protected by international copyright laws. Knowledge of the*              source code may not be used to write a similar product. This file may*              only be used in accordance with a license and should not be redistributed*              in any way. We appreciate your understanding and fairness.*----------------------------------------------------------------------File        : LCD.HPurpose     : Declares LCD interface functions----------------------------------------------------------------------*/#ifndef LCD_H#define LCD_H/*  ********************************************************************  *                                                                  *  *                   Basic type defines                             *  *                                                                  *  ********************************************************************The follwing are defines for types used in the LCD-driver and theemWin layers on top of that. Since "C" does not provide data types offixed length which are identical on all platforms, this is done here.For most 16/32 controllers, the settings will work fine. However, ifyou have similar defines in other sections of your program, you mightwant to change or relocate these defines, e.g. in a TYPE.H file.*/ #define I8    signed char#define U8  unsigned char     /* unsigned 8  bits. */#define I16   signed short    /*   signed 16 bits. */#define U16 unsigned short    /* unsigned 16 bits. */#define I32   signed long   /*   signed 32 bits. */#define U32 unsigned long   /* unsigned 32 bits. */#define I16P I16              /*   signed 16 bits OR MORE ! */#define U16P U16              /* unsigned 16 bits OR MORE ! *//*  ********************************************************************  *                                                                  *  *               Settings for windows simulation                    *  *                                                                  *  ********************************************************************Some settings in the configuration may conflict with the values requiredin the Simulation. This is why we ignore the target settings for datatypes and use the correct settings for the simulation.(U32 could be defined as long, which would yield a 64 bit type onthe PC)*/#ifdef WIN32  #pragma warning( disable : 4244 )  // Disable warning messages in simulation  #pragma warning( disable : 4761 )  // Disable warning "integral size mismatch in argument; conversion supplied"#endif                                      /*      *************************************************************        *                                                           *        *                Constants                                  *        *                                                           *        **************************************************************/#define LCD_ERR0 (0x10)#define LCD_ERR_CONTROLLER_NOT_FOUND (LCD_ERR0+1)#define LCD_ERR_MEMORY               (LCD_ERR0+2)/*      *********************************      *                               *      *      Drawing modes            *      *                               *      **********************************/#define LCD_DRAWMODE_NORMAL (0)#define LCD_DRAWMODE_XOR    (1<<0)#define LCD_DRAWMODE_TRANS  (1<<1)#define LCD_DRAWMODE_REV    (1<<2) /*      *************************************************************        *                                                           *        *                Typedefs                                   *        *                                                           *        **************************************************************/typedef int LCD_DRAWMODE;typedef U32 LCD_COLOR; /**********************************************************     Data structures***********************************************************/typedef struct { I16P x,y; } GUI_POINT;typedef struct { I16 x0,y0,x1,y1; } LCD_RECT;/*typedef struct { GUI_POINT P0, P1; } LCD_RECT; */typedef struct {  int              NumEntries;   char             HasTrans;           const LCD_COLOR* pPalEntries; } LCD_LOGPALETTE; /* This is used for the simulation only ! */typedef struct {  int x,y;  unsigned char KeyStat;} LCD_tMouseState;/**********************************************************     Index2Color**********************************************************  This function needs to be int the public part of the software  since it is needed by the simulation. Most other driver  functions are hidden in the private header file.*/typedef LCD_COLOR    tLCDDEV_Index2Color     (int Index);#if !defined (__C51__) /* To bypass Keil-compiler bug */  tLCDDEV_Index2Color LCD_L0_Index2Color, LCD_L0_1_Index2Color;#else  LCD_COLOR    LCD_L0_Index2Color  (int Index);  LCD_COLOR    LCD_L0_1_Index2Color(int Index);#endif/*      *************************************************************        *                                                           *        *                   Defines                                 *        *                                                           *        *    for device capabilities                                *        *                                                           *        *************************************************************The following is the list of device capabilities which can, but donot have to be implemented in the driver. This way the driver can beenhanced in the future without affecting the driver interface,keeping older drivers compatible.More DevCaps can always be added in the future, as older driversare guaranteed to return 0 for all unimplemented features or queries.The values below define the legal parameters to the LCD_GetDeviceCapsand the LCD_GetpCapFunc routines.*/#define LCD_DEVCAP_NUMCOLORS    0x0     /* Quest number of colors                                           which LCD can display */#define LCD_DEVCAP_XSIZE        0x1     /* Quest horiz. res. of display */#define LCD_DEVCAP_YSIZE        0x2     /* Quest vert. res. of display */#define LCD_DEVCAP_VXSIZE       0x3     /* Quest vert. res. of virtual disp.*/#define LCD_DEVCAP_VYSIZE       0x4     /* Quest vert. res. of virtual disp.*/#define LCD_DEVCAP_XORG         0x5     /* X-origin ... usually 0 */#define LCD_DEVCAP_YORG         0x6     /* Y-origin ... usually 0 */#define LCD_DEVCAP_CONTROLLER   0x7     /* LCD Controller (Numerical) */#define LCD_DEVCAP_BITSPERPIXEL 0x8     /* Bits per pixel ... 1/2/4/8 */#define LCD_DEVCAP_NUMPAGES     0x10    /* Quest number of pages of display */#define LCD_DEVCAP_COLOR        0x1000  /* Quest Color[0]                                0x1001     Quest Color[1]                                0x1002     Quest Color[2]                                         ...                    */ /* The next 4095 entries are reserved so up to 4096 colors    can be queried          ...*/int LCD_GetXSize(void);int LCD_GetYSize(void);int LCD_GetVXSize(void);int LCD_GetVYSize(void);U32 LCD_GetNumColors(void);int LCD_GetBitsPerPixel(void);int LCD_GetFixedPalette(void);int LCD_GetXMag(void);int LCD_GetYMag(void);int LCD_GetNumDisplays(void);int LCD_GetXSize_1(void);int LCD_GetYSize_1(void);int LCD_GetVXSize_1(void);int LCD_GetVYSize_1(void);U32 LCD_GetNumColors_1(void);int LCD_GetBitsPerPixel_1(void);int LCD_GetFixedPalette_1(void);int LCD_GetXMag_1(void);int LCD_GetYMag_1(void);#define LCD_GET_XSIZE()        LCD_GetXSize()#define LCD_GET_YSIZE()        LCD_GetYSize()#define LCD_GET_VXSIZE()       LCD_GetVXSize()#define LCD_GET_VYSIZE()       LCD_GetVYSize()#define LCD_GET_NUMCOLORS()    LCD_GetNumColors()#define LCD_GET_BITSPERPIXEL() LCD_GetBitsPerPixel()/***********************************************************************      LCD_CLIP function table************************************************************************/typedef void         tLCD_HL_DrawHLine    (int x0, int y0,  int x1);typedef void         tLCD_HL_DrawPixel    (int x0, int y0);typedef struct {  tLCD_HL_DrawHLine*          pfDrawHLine;  tLCD_HL_DrawPixel*          pfDrawPixel;} tLCD_HL_APIList;#if defined (__C51__) /* To bypass Keil-compiler bug */  void LCD_DrawHLine(int x0, int y0,  int x1);  void LCD_DrawPixel(int x0, int y0);#else  tLCD_HL_DrawHLine LCD_DrawHLine;  tLCD_HL_DrawPixel LCD_DrawPixel;#endifvoid LCD_DrawVLine  (int x, int y0,  int y1);/***********************************************************************              Declarations for LCD_************************************************************************/void LCD_SetClipRectEx(const LCD_RECT* pRect);void LCD_SetClipRectMax(void);/* Get device capabilities (0 if not supported) */I32  LCD_GetDevCap(int Index);/* Initialize LCD using config-paramters */int LCD_Init(void);void LCD_SetBkColor   (LCD_COLOR Color); /* Set background color */void LCD_SetColor     (LCD_COLOR Color); /* Set foreground color */void LCD_SetPixelIndex(int x, int y, int ColorIndex);/* Palette routines (Not available on all drivers) */void LCD_InitLUT(void);/* Decompressors */typedef void tfDrawSpecialBitmap(int x0,int y0,int xsize, int ysize, const U8*pPixel, const LCD_LOGPALETTE* pLogPal, int xMag, int yMag);#if !defined (__C51__) /* To bypass Keil-compiler bug */  tfDrawSpecialBitmap LCD_DrawBitmap_RLE8, LCD_DrawBitmap_RLE4;#else  void LCD_DrawBitmap_RLE8(int x0,int y0,int xsize, int ysize, const U8*pPixel, const LCD_LOGPALETTE* pLogPal, int xMag, int yMag);  void LCD_DrawBitmap_RLE4(int x0,int y0,int xsize, int ysize, const U8*pPixel, const LCD_LOGPALETTE* pLogPal, int xMag, int yMag);#endifLCD_DRAWMODE LCD_SetDrawMode  (LCD_DRAWMODE dm);void LCD_SetColorIndex(int Index);void LCD_SetBkColorIndex(int Index);void LCD_FillRect(int x0, int y0, int x1, int y1);void LCD_DrawBitmap   (int x0, int y0,                       int xsize, int ysize,                       int xMul, int yMul,                       int BitsPerPixel,                       int BytesPerLine,                       const U8* pPixel,                       const LCD_LOGPALETTE* pLogPal);typedef void tLCD_SetPixelAA(int x, int y, U8 Intens);#if defined (__C51__)  /* To bypass Keil-compiler bug */  void tLCD_SetPixelAA(int x, int y, U8 Intens);  void LCD_SetPixelAA_NoTrans(int x, int y, U8 Intens);#else  tLCD_SetPixelAA LCD_SetPixelAA;  tLCD_SetPixelAA LCD_SetPixelAA_NoTrans;#endifLCD_COLOR LCD_AA_MixColors(LCD_COLOR Color, LCD_COLOR BkColor, U8 Intens);LCD_COLOR    LCD_GetPixelColor(int x, int y);     /* Get RGB color of pixel */unsigned int LCD_GetPixelIndex(int x, int y);int LCD_GetBkColorIndex (void);int LCD_GetColorIndex (void);/*      *************************************************************        *                                                           *        *      LCD  publics not used by GUI                         *        *                                                           *        *************************************************************  The following functions can, but do not have to be defined in the LCD driveras they are not used by the GUI level.*/#define LCD_On          LCD_L0_On#define LCD_Off         LCD_L0_Off#define LCD_ReInit      LCD_L0_ReInit#define LCD_SetLUTEntry LCD_L0_SetLUTEntry#define LCD_CC_UNLOCK (0)    /* Default mode: Cache is transparent */#define LCD_CC_LOCK   (1)    /* Cache is locked, no write operations */#define LCD_CC_FLUSH  (2)    /* Flush cache, do not change mode */U8 LCD_L0_ControlCache(U8 mode);/* Check if controller is still properly initialized */int  LCD_L0_CheckInit(void);        /* returns if init is still O.K.                                      by reading all available registers of                                      Display controller.                                      0: Init O.K.                                    */#define LCD_ControlCache LCD_L0_ControlCache/*        ******************************************        *                                        *        *        Support for paging              *        *                                        *        *******************************************/int LCD_SelPage  (int NewPage);    /* returns formerly sel. page */int LCD_ShowPage (int NewPage);    /* sets / returns visible page */int LCD_GetSelPage (void);         /* returns selected page */int LCD_GetVisPage (void);         /* returns visible page *//*      *************************************************************        *                                                           *        *      LCD  imports                                         *        *                  (for routines in LCDColor)               *        *                                                           *        **************************************************************/  int              LCD_Color2Index     (LCD_COLOR Color);LCD_COLOR        LCD_Index2Color     (int Index);/***********************************************************************       LCD_X_...************************************************************************/void LCD_X_Init(void);void LCD_X_On  (void);void LCD_X_Off (void);#endif /* LCD_H */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区 在线观看视频| 成人性生交大合| 午夜精品久久久久久不卡8050| 久久久不卡网国产精品二区| 91麻豆精品久久久久蜜臀 | 欧美三级一区二区| 不卡的av在线播放| 国产成人高清在线| 国产精品自拍一区| 国产在线不卡一卡二卡三卡四卡| 爽好多水快深点欧美视频| 亚洲国产精品久久不卡毛片 | 日本不卡在线视频| 免费成人av在线播放| 偷窥国产亚洲免费视频| 亚洲国产人成综合网站| 91搞黄在线观看| 欧美三级蜜桃2在线观看| 99久久99久久精品免费观看| 成人黄色电影在线| 99久久久无码国产精品| 日韩美女一区二区三区四区| 欧美日韩精品一二三区| 欧美日韩久久一区| 欧美一区二区三区在线视频| 日韩天堂在线观看| 精品欧美乱码久久久久久| 欧美va亚洲va在线观看蝴蝶网| 精品少妇一区二区三区视频免付费| 欧美一级欧美三级| 久久综合狠狠综合久久综合88 | 日韩免费性生活视频播放| 26uuu久久天堂性欧美| 国产女主播一区| 一区二区三区av电影| 日韩黄色一级片| 成人av午夜电影| 欧美日韩在线不卡| 久久精品在这里| 一区二区三区丝袜| 久久狠狠亚洲综合| av男人天堂一区| 欧美日本一区二区在线观看| 久久久久久亚洲综合影院红桃| 最新国产精品久久精品| 视频一区视频二区中文字幕| 成人永久免费视频| 欧美色大人视频| 久久这里都是精品| 亚洲国产视频在线| 波多野洁衣一区| 欧美zozo另类异族| 成人av综合在线| 欧美日韩一本到| 中文字幕一区在线观看视频| 九九久久精品视频| 欧美性大战久久久| 26uuu国产在线精品一区二区| 亚洲欧美日韩小说| 国产传媒欧美日韩成人| 日韩一区二区三区av| 一区二区三区美女| 99久久精品一区| 国产欧美日韩在线观看| 久88久久88久久久| 制服视频三区第一页精品| 亚洲精品免费视频| 99在线精品免费| 国产亚洲欧美激情| 国产一区二区毛片| 日韩欧美国产一区在线观看| 亚洲国产日韩综合久久精品| 色呦呦国产精品| 亚洲精品亚洲人成人网在线播放| av不卡免费在线观看| 亚洲国产激情av| 成人黄色小视频在线观看| 国产精品毛片高清在线完整版| 国产成人亚洲综合a∨婷婷图片| 欧美精品一区二区三区四区| 麻豆精品一区二区综合av| 91精品国产丝袜白色高跟鞋| 视频一区二区三区中文字幕| 91精品国产乱码| 国产一二三精品| 欧美激情在线免费观看| 成人精品视频一区二区三区尤物| 中文字幕精品三区| 99久久精品一区| 亚洲国产sm捆绑调教视频 | 成人激情免费电影网址| 最新高清无码专区| 欧美日韩电影在线| 久久国产乱子精品免费女| 久久久精品影视| 亚洲精品写真福利| 日韩一区二区中文字幕| 韩国av一区二区| 亚洲欧洲性图库| 91精品久久久久久久久99蜜臂| 久久国产综合精品| 国产精品传媒视频| 日韩一区二区不卡| 丁香另类激情小说| 午夜精品福利视频网站| 久久美女艺术照精彩视频福利播放| www.日韩精品| 麻豆高清免费国产一区| 亚洲品质自拍视频网站| 精品久久一区二区| 色www精品视频在线观看| 日本不卡一区二区三区高清视频| 国产精品色噜噜| 91精品国产麻豆| www.性欧美| 麻豆91免费看| 亚洲欧洲中文日韩久久av乱码| 91女厕偷拍女厕偷拍高清| 视频在线观看一区| 亚洲色图欧美激情| 国产亚洲成aⅴ人片在线观看| 色噜噜夜夜夜综合网| 国产一区在线观看视频| 亚洲色图欧洲色图婷婷| 日本一区二区三区国色天香 | 亚洲一区二区三区四区五区黄 | 亚洲特级片在线| 久久久99精品久久| 884aa四虎影成人精品一区| 成人在线视频一区| 首页综合国产亚洲丝袜| 亚洲与欧洲av电影| 亚洲欧洲国产日韩| 精品国产一区二区三区久久影院| 国产成人午夜精品影院观看视频| 蜜桃精品视频在线| 香蕉成人啪国产精品视频综合网 | 精品久久国产97色综合| 精品视频在线看| 91在线视频官网| 国内成人精品2018免费看| 精品亚洲成a人| 美女网站一区二区| 石原莉奈在线亚洲二区| 亚洲人成网站在线| 亚洲一区二区三区激情| 亚洲欧美另类综合偷拍| 一区在线观看免费| 日韩欧美国产wwwww| 欧美大片在线观看一区| 日韩欧美亚洲一区二区| 欧美一区二区三区电影| 在线日韩国产精品| 欧美日韩视频在线观看一区二区三区 | 一区二区在线观看av| 成人免费在线视频| 日本一区二区三区久久久久久久久不| 日韩精品一区二区三区在线| 欧美少妇性性性| 欧美成人性福生活免费看| 精品久久久久av影院| 国产欧美va欧美不卡在线| 精品国产一二三区| 国产精品国产自产拍在线| 亚洲人成网站在线| 亚洲综合清纯丝袜自拍| 一区二区三区自拍| 天天做天天摸天天爽国产一区| 日韩va亚洲va欧美va久久| 麻豆精品视频在线观看免费| 久久精品久久99精品久久| 国产精品一区一区三区| 色婷婷av一区二区三区之一色屋| 欧美在线free| 国产亚洲一区二区三区在线观看 | 成人一区二区三区在线观看| 成人黄色在线网站| 欧美日韩国产123区| 中文在线资源观看网站视频免费不卡| 国产精品久久久久四虎| 日韩专区在线视频| 激情综合网最新| 欧洲亚洲国产日韩| 久久亚洲二区三区| 一区二区成人在线视频| 国产美女在线精品| 欧美欧美欧美欧美| ...xxx性欧美| 国产一区二区三区蝌蚪| 99久久99久久久精品齐齐| 精品少妇一区二区三区在线视频| 中文字幕免费观看一区| 日韩精品每日更新| www.欧美日韩| 精品成人a区在线观看| 日韩精品91亚洲二区在线观看 | 欧美亚洲国产一区在线观看网站| 久久综合久久综合九色| 天天综合色天天综合| 成人免费看片app下载|