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

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

?? lcd.h

?? ucgu最新版本 4.14
?? H
?? 第 1 頁 / 共 2 頁
字號:
/*********************************************************************
*                SEGGER MICROCONTROLLER SYSTEME GmbH                 *
*        Solutions for real time microcontroller applications        *
**********************************************************************
*                                                                    *
*        (c) 1996 - 2007  SEGGER Microcontroller Systeme GmbH        *
*                                                                    *
*        Internet: www.segger.com    Support:  support@segger.com    *
*                                                                    *
**********************************************************************

** emWin V4.14 - Graphical user interface for embedded applications **
emWin 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 re-
distributed in any way. We appreciate your understanding and fairness.
----------------------------------------------------------------------
File        : LCD.h
Purpose     : Declares LCD interface functions
----------------------------------------------------------------------
*/

#ifndef LCD_H
#define LCD_H

#include "GUI_ConfDefaults.h" /* Used for GUI_UNI_PTR */
#include "Global.h"

#if defined(__cplusplus)
extern "C" {     /* Make sure we have C-declarations in C++ programs */
#endif

/*
  ********************************************************************
  *                                                                  *
  *                   Basic type defines                             *
  *                                                                  *
  ********************************************************************

The follwing are defines for types used in the LCD-driver and the
GUI layers on top of that. Since "C" does not provide data types of
fixed length which are identical on all platforms, this is done here.
For most 16/32 controllers, the settings will work fine. However, if
you have similar defines in other sections of your program, you might
want to change or relocate these defines, e.g. in a TYPE.h file.
*/
 
#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 required
in the Simulation. This is why we ignore the target settings for data
types and use the correct settings for the simulation.
(U32 could be defined as long, which would yield a 64 bit type on
the 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 GUI_UNI_PTR * 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);
typedef unsigned int   tLCDDEV_Color2Index  (LCD_COLOR Color);
typedef unsigned int   tLCDDEV_GetIndexMask (void);
LCD_COLOR      LCD_L0_Index2Color  (int Index);
LCD_COLOR      LCD_L0_1_Index2Color(int Index);
LCD_COLOR      LCD_L0_2_Index2Color(int Index);
LCD_COLOR      LCD_L0_3_Index2Color(int Index);
LCD_COLOR      LCD_L0_4_Index2Color(int Index);
LCD_COLOR      LCD_L0_5_Index2Color(int Index);
unsigned int   LCD_L0_Color2Index  (LCD_COLOR Color);
unsigned int   LCD_L0_1_Color2Index(LCD_COLOR Color);
unsigned int   LCD_L0_2_Color2Index(LCD_COLOR Color);
unsigned int   LCD_L0_3_Color2Index(LCD_COLOR Color);
unsigned int   LCD_L0_4_Color2Index(LCD_COLOR Color);
unsigned int   LCD_L0_5_Color2Index(LCD_COLOR Color);
unsigned int   LCD_L0_GetIndexMask  (void);
unsigned int   LCD_L0_1_GetIndexMask(void);
unsigned int   LCD_L0_2_GetIndexMask(void);
unsigned int   LCD_L0_3_GetIndexMask(void);
unsigned int   LCD_L0_4_GetIndexMask(void);
unsigned int   LCD_L0_5_GetIndexMask(void);


/*********************************************************************
*
*     Color conversion API tables
*/

typedef struct {
  tLCDDEV_Color2Index*  pfColor2Index;
  tLCDDEV_Index2Color*  pfIndex2Color;
  tLCDDEV_GetIndexMask* pfGetIndexMask;
} LCD_API_COLOR_CONV;

extern const LCD_API_COLOR_CONV LCD_API_ColorConv_1;
extern const LCD_API_COLOR_CONV LCD_API_ColorConv_2;
extern const LCD_API_COLOR_CONV LCD_API_ColorConv_4;
extern const LCD_API_COLOR_CONV LCD_API_ColorConv_8666;
extern const LCD_API_COLOR_CONV LCD_API_ColorConv_888;

#define GUI_COLOR_CONV_1    &LCD_API_ColorConv_1
#define GUI_COLOR_CONV_2    &LCD_API_ColorConv_2
#define GUI_COLOR_CONV_4    &LCD_API_ColorConv_4
#define GUI_COLOR_CONV_8666 &LCD_API_ColorConv_8666
#define GUI_COLOR_CONV_888  &LCD_API_ColorConv_888

/*********************************************************************
*
*      LCDDEV function table
*
**********************************************************************

  Below the routines which need to in an LCDDEV routine table are
  defined. All of these routines have to be in the low-level driver
  (LCD_L0) or in the memory device which can be used to replace the
  driver.
  The one exception to this is the SetClipRect routine, which would
  be identical for all drivers and is therefor contained in the
  level above (LCD).
*/
typedef void         tLCDDEV_DrawPixel    (int x, int y);
typedef void         tLCDDEV_DrawHLine    (int x0, int y0,  int x1);
typedef void         tLCDDEV_DrawVLine    (int x , int y0,  int y1);
typedef void         tLCDDEV_FillRect     (int x0, int y0, int x1, int y1);
typedef unsigned int tLCDDEV_GetPixelIndex(int x, int y);
typedef void         tLCDDEV_SetPixelIndex(int x, int y, int ColorIndex);
typedef void         tLCDDEV_XorPixel     (int x, int y);
typedef void         tLCDDEV_FillPolygon  (const GUI_POINT* pPoints, int NumPoints, int x0, int y0);
typedef void         tLCDDEV_FillPolygonAA(const GUI_POINT* pPoints, int NumPoints, int x0, int y0);
typedef void         tLCDDEV_GetRect      (LCD_RECT*pRect);
typedef int          tLCDDEV_Init         (void);
typedef void         tLCDDEV_On           (void);
typedef void         tLCDDEV_Off          (void);
typedef void         tLCDDEV_SetLUTEntry  (U8 Pos, LCD_COLOR color);
typedef void *       tLCDDEV_GetDevFunc   (int Index);
typedef void         tLCDDEV_SetOrg       (int x, int y);

/*********************************************************************
*
*     Memory device API tables
*/
#if GUI_COMPILER_SUPPORTS_FP
  typedef struct tLCDDEV_APIList_struct tLCDDEV_APIList;
#endif

typedef void tLCDDEV_DrawBitmap   (int x0, int y0, int xsize, int ysize,
                       int BitsPerPixel, int BytesPerLine,
                       const U8 GUI_UNI_PTR * pData, int Diff,
                       const void* pTrans);   /* Really LCD_PIXELINDEX, but is void to avoid compiler warnings*/

struct tLCDDEV_APIList_struct {
  tLCDDEV_Color2Index*        pfColor2Index;
  tLCDDEV_Index2Color*        pfIndex2Color;
  tLCDDEV_GetIndexMask*       pfGetIndexMask;
  tLCDDEV_DrawBitmap*         pfDrawBitmap;
  tLCDDEV_DrawHLine*          pfDrawHLine;
  tLCDDEV_DrawVLine*          pfDrawVLine;
  tLCDDEV_FillRect*           pfFillRect;
  tLCDDEV_GetPixelIndex*      pfGetPixelIndex;
  tLCDDEV_GetRect*            pfGetRect;
  tLCDDEV_SetPixelIndex*      pfSetPixelIndex;
  tLCDDEV_XorPixel*           pfXorPixel;
  tLCDDEV_SetLUTEntry*        pfSetLUTEntry;
  tLCDDEV_GetDevFunc*         pfGetDevFunc;
  #if GUI_SUPPORT_MEMDEV
    tLCDDEV_FillPolygon*      pfFillPolygon;
    tLCDDEV_FillPolygonAA*    pfFillPolygonAA;
    const tLCDDEV_APIList*    pMemDevAPI;
    unsigned                  BitsPerPixel;
  #endif
};
#if GUI_COMPILER_SUPPORTS_FP
  extern const struct tLCDDEV_APIList_struct GUI_MEMDEV__APIList1;
  extern const struct tLCDDEV_APIList_struct GUI_MEMDEV__APIList8;
  extern const struct tLCDDEV_APIList_struct GUI_MEMDEV__APIList16;
  extern const struct tLCDDEV_APIList_struct GUI_MEMDEV__APIList32;

  #define GUI_MEMDEV_APILIST_1  &GUI_MEMDEV__APIList1
  #define GUI_MEMDEV_APILIST_8  &GUI_MEMDEV__APIList8
  #define GUI_MEMDEV_APILIST_16 &GUI_MEMDEV__APIList16
  #define GUI_MEMDEV_APILIST_32 &GUI_MEMDEV__APIList32
#endif

/*      *************************************************************
        *                                                           *
        *                   Defines                                 *
        *                                                           *
        *    for device capabilities                                *
        *                                                           *
        *************************************************************

The following is the list of device capabilities which can, but do
not have to be implemented in the driver. This way the driver can be
enhanced in the future without affecting the driver interface,
keeping older drivers compatible.
More DevCaps can always be added in the future, as older drivers
are guaranteed to return 0 for all unimplemented features or queries.

The values below define the legal parameters to the LCD_GetDeviceCaps
and 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 */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲天堂2016| 国产天堂亚洲国产碰碰| 色综合久久中文字幕| 国产成人精品www牛牛影视| 激情久久久久久久久久久久久久久久| 亚洲第一二三四区| 亚洲 欧美综合在线网络| 老司机免费视频一区二区| 欧美精品丝袜久久久中文字幕| 亚洲另类在线视频| 国产精品剧情在线亚洲| 久久久久9999亚洲精品| 国产日韩亚洲欧美综合| 亚洲国产精品久久人人爱| 自拍偷拍欧美激情| 亚洲小少妇裸体bbw| 日韩高清不卡一区| 久久精品99国产精品| 韩国一区二区在线观看| 国产精品996| 97精品国产露脸对白| 日本高清成人免费播放| 欧美日本韩国一区| 日韩欧美国产小视频| 国产午夜亚洲精品不卡| 亚洲手机成人高清视频| 午夜精品福利在线| 精品在线观看免费| 国产不卡在线一区| 欧日韩精品视频| 欧美tickle裸体挠脚心vk| 亚洲成a人片在线不卡一二三区 | 久久久久久久综合日本| 国产亚洲视频系列| 亚洲欧美日韩国产成人精品影院| 亚洲黄网站在线观看| 三级在线观看一区二区 | 一本大道久久a久久精二百 | 国产精品天美传媒| 一区二区三区欧美日| 免费视频最近日韩| 高清国产午夜精品久久久久久| 色哟哟在线观看一区二区三区| 欧美丰满少妇xxxxx高潮对白| 久久久不卡网国产精品二区| 亚洲欧美一区二区三区久本道91| 午夜影院久久久| 国产精品综合久久| 欧亚洲嫩模精品一区三区| 久久色.com| 亚洲一区在线电影| 国产精品一区久久久久| 国产嫩草影院久久久久| 性感美女久久精品| 精品国产三级a在线观看| 国产日韩三级在线| 精品动漫一区二区三区在线观看| 国产精品久久一级| 日韩国产成人精品| 成人18精品视频| 欧美一区二区三区思思人| 国产精品不卡一区二区三区| 免费视频一区二区| 色一情一伦一子一伦一区| 久久久久久久国产精品影院| 亚洲国产精品久久一线不卡| 成人午夜视频免费看| 欧美一区午夜精品| 玉米视频成人免费看| 国产老肥熟一区二区三区| 欧美三日本三级三级在线播放| 国产日韩欧美不卡在线| 五月激情六月综合| 91久久精品一区二区| 国产精品伦一区二区三级视频| 免费观看成人av| 欧美丝袜丝交足nylons| 国产精品初高中害羞小美女文| 久久精品国产一区二区| 欧美日韩中文国产| 亚洲免费观看高清完整版在线观看熊| 经典三级视频一区| 国产婷婷色一区二区三区在线| 亚洲午夜国产一区99re久久| 国产盗摄精品一区二区三区在线| 欧美一区二区三区影视| 欧美videos大乳护士334| 亚洲国产裸拍裸体视频在线观看乱了| 国产成人自拍在线| 久久影院视频免费| 午夜成人免费视频| 中文字幕乱码日本亚洲一区二区| 婷婷一区二区三区| 欧美日韩国产精品自在自线| 自拍偷拍欧美激情| 色综合久久88色综合天天免费| 国产精品久久久久永久免费观看| 美女www一区二区| 欧美一区二区久久| 奇米777欧美一区二区| 91麻豆精品国产91久久久资源速度 | 日韩一区中文字幕| 国产成人精品午夜视频免费| 久久视频一区二区| 国产成人在线看| 一区二区三区四区精品在线视频 | 中文字幕在线播放不卡一区| 国产一区视频导航| 欧美mv和日韩mv国产网站| 日本不卡一二三区黄网| 欧美一区二区三区男人的天堂| 日韩不卡一二三区| 欧美成人精品二区三区99精品| 五月天激情小说综合| 日韩欧美一区在线| 精品写真视频在线观看| 久久影院午夜片一区| 成人午夜电影小说| 亚洲色大成网站www久久九九| 色婷婷久久一区二区三区麻豆| 亚洲国产精品欧美一二99| 欧美一区二区视频在线观看2022| 日本欧美一区二区三区乱码| 2023国产精品| 成人久久18免费网站麻豆| 国产精品夜夜嗨| 国产精品美女久久久久久2018 | 欧美日本免费一区二区三区| 日日摸夜夜添夜夜添国产精品| 欧美一级二级在线观看| 精品一区二区三区免费观看| 麻豆成人久久精品二区三区红 | 波多野结衣中文一区| 国产精品国产三级国产aⅴ无密码| av在线一区二区三区| 一区二区三区日韩精品视频| 欧美日韩国产123区| 精品一区二区三区的国产在线播放| 久久精品一区二区三区不卡牛牛| 不卡的电影网站| 亚洲成人免费在线| 久久人人97超碰com| caoporn国产一区二区| 亚洲成a人片在线观看中文| 精品999久久久| 色综合天天综合色综合av| 日韩专区中文字幕一区二区| 久久精品亚洲一区二区三区浴池| 99久久综合狠狠综合久久| 午夜久久久影院| 国产亚洲人成网站| 欧美日韩一区二区三区四区五区 | 国产成人亚洲精品狼色在线| 亚洲午夜久久久久| 久久在线观看免费| 欧美日韩午夜在线| 国产成人自拍网| 日韩黄色小视频| 日韩和欧美的一区| 欧美日韩一区久久| 石原莉奈在线亚洲二区| 五月激情六月综合| 亚洲欧美日本在线| 精品日韩99亚洲| 欧美午夜电影在线播放| 大白屁股一区二区视频| 日韩黄色免费网站| 亚洲精品国产无天堂网2021| 久久众筹精品私拍模特| 欧美老人xxxx18| 91久久久免费一区二区| 岛国一区二区三区| 久久福利资源站| 亚洲va欧美va国产va天堂影院| 欧美激情一区二区三区四区| 欧美一个色资源| 欧美亚洲综合久久| 不卡的看片网站| 国产91精品露脸国语对白| 久久99久久精品| 天堂va蜜桃一区二区三区| 亚洲卡通动漫在线| 国产精品毛片a∨一区二区三区| 欧美va亚洲va香蕉在线| 欧美精品第1页| 色88888久久久久久影院野外| 国产.精品.日韩.另类.中文.在线.播放| 日韩中文字幕区一区有砖一区| 亚洲激情第一区| 亚洲色图第一区| ...av二区三区久久精品| 国产亚洲精品超碰| xnxx国产精品| 久久天堂av综合合色蜜桃网| 成人免费高清在线观看| 一区二区三区四区蜜桃| 日韩一二在线观看| 国产91露脸合集magnet| 中文字幕第一区综合| 91网站在线播放|