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

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? lcd.h

?? UC_GUI開(kāi)發(fā)源代碼,里面含有范例,源文件
?? H
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
/*
*********************************************************************************************************
*                                             uC/GUI V3.98
*                        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.h
Purpose     : Declares LCD interface functions
----------------------------------------------------------------------
*/

#ifndef LCD_H
#define LCD_H

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

#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 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 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);
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_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);


/*********************************************************************
*
*     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;

#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

/*********************************************************************
*
*      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_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);

/*********************************************************************
*
*     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;

  #define GUI_MEMDEV_APILIST_1  &GUI_MEMDEV__APIList1
  #define GUI_MEMDEV_APILIST_8  &GUI_MEMDEV__APIList8
  #define GUI_MEMDEV_APILIST_16 &GUI_MEMDEV__APIList16
#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

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产麻豆日韩欧美久久| 欧美激情资源网| eeuss鲁片一区二区三区在线观看| 国产最新精品免费| 99免费精品视频| 欧美乱妇15p| 国产亚洲精品7777| 亚洲男人的天堂av| 国产精品一二三| 精品欧美久久久| 欧美韩国日本综合| 国产午夜精品久久久久久免费视| 亚洲亚洲精品在线观看| 成人中文字幕电影| 精品国产第一区二区三区观看体验| 玉足女爽爽91| 99国产精品国产精品久久| 精品国产网站在线观看| 日产精品久久久久久久性色| 91福利小视频| 亚洲精选免费视频| 97aⅴ精品视频一二三区| 国产农村妇女精品| 国产美女精品人人做人人爽| 欧美一级专区免费大片| 男人的j进女人的j一区| 欧美日韩激情一区二区| 亚洲成在人线在线播放| 欧美日韩美少妇| 日韩精品三区四区| 91精品一区二区三区在线观看| 亚洲成人动漫av| 欧美日韩成人一区二区| 图片区小说区国产精品视频| 91视频精品在这里| 一区二区视频在线| 欧美日韩色一区| 奇米影视7777精品一区二区| 欧美精品日韩精品| 麻豆精品一区二区综合av| 欧美一区二区三区日韩视频| 蜜臀av性久久久久蜜臀aⅴ四虎 | 亚洲欧美综合另类在线卡通| 国产不卡免费视频| 国产精品无码永久免费888| 国产成人自拍在线| 中文字幕亚洲电影| 欧美色区777第一页| 日韩精品福利网| 久久精品一区二区三区四区| 成人精品电影在线观看| 亚洲一卡二卡三卡四卡| 欧美一区二区三级| 国产乱国产乱300精品| 国产精品福利一区| 欧美日韩一区三区| 久久99精品国产麻豆婷婷 | 欧美高清精品3d| 精品一区二区三区免费播放 | 国产一区二区在线影院| 久久九九久久九九| 91视频在线观看免费| 日韩电影免费在线观看网站| 国产亚洲女人久久久久毛片| 色综合咪咪久久| 伦理电影国产精品| 国产精品久久影院| 91精品国产综合久久精品图片| 极品尤物av久久免费看| 一区二区三区四区视频精品免费| 欧美一区二区三区在线观看| 粉嫩av一区二区三区粉嫩 | 国产一区二区免费视频| 亚洲理论在线观看| 精品少妇一区二区三区日产乱码 | 在线观看av一区二区| 久久不见久久见免费视频7| 亚洲另类一区二区| 久久精品亚洲乱码伦伦中文| 在线视频中文字幕一区二区| 国产一区二区按摩在线观看| 亚洲女与黑人做爰| 久久久www成人免费无遮挡大片| 91黄色免费版| 国产成人福利片| 日韩国产精品久久| 亚洲黄色小视频| 国产日产欧美一区二区视频| 在线综合视频播放| 色综合久久久久网| 成人爱爱电影网址| 国产在线精品国自产拍免费| 天涯成人国产亚洲精品一区av| 国产精品护士白丝一区av| 精品区一区二区| 欧美精品三级在线观看| 91福利区一区二区三区| 成人精品鲁一区一区二区| 看片的网站亚洲| 五月婷婷色综合| 亚洲自拍偷拍欧美| 亚洲欧洲av另类| 欧美激情一二三区| 国产日韩av一区| 久久久精品蜜桃| 26uuu精品一区二区在线观看| 欧美日韩高清不卡| 在线观看视频一区二区| 99久久精品情趣| 99久久久国产精品免费蜜臀| av亚洲产国偷v产偷v自拍| 国产成人超碰人人澡人人澡| 丰满放荡岳乱妇91ww| 成人精品在线视频观看| 不卡免费追剧大全电视剧网站| 国产成人免费视| 国产成人福利片| 成人精品免费网站| 色婷婷av一区二区三区之一色屋| 91免费看片在线观看| 在线视频观看一区| 欧美日韩在线播放一区| 欧美亚洲免费在线一区| 欧美视频在线一区| 欧美一级欧美三级在线观看| 欧美精品 国产精品| 欧美成人一区二区| 国产色综合久久| 中文字幕亚洲在| 亚洲第一福利一区| 国内精品视频666| 成人开心网精品视频| 欧美在线视频全部完| 欧美日韩一本到| 日韩欧美国产三级| 国产人伦精品一区二区| 亚洲色图欧洲色图| 青青青伊人色综合久久| 国产馆精品极品| 欧美在线免费观看视频| 日韩女同互慰一区二区| 亚洲国产精品成人久久综合一区| 亚洲色图清纯唯美| 日本视频在线一区| 国产高清亚洲一区| 欧美性色综合网| 久久色.com| 亚洲在线观看免费| 精品无人码麻豆乱码1区2区 | 一色桃子久久精品亚洲| 亚洲风情在线资源站| 精品亚洲porn| 91成人免费在线| 久久综合色婷婷| 一区二区三区欧美在线观看| 美国三级日本三级久久99| hitomi一区二区三区精品| 91精品国产色综合久久不卡蜜臀 | 久久综合色鬼综合色| 亚洲精品福利视频网站| 激情综合网av| 欧美影院午夜播放| 中文字幕免费观看一区| 全国精品久久少妇| 色综合久久88色综合天天| 精品国产凹凸成av人网站| 亚洲激情图片小说视频| 国产suv精品一区二区883| 欧美精品高清视频| 亚洲狼人国产精品| 成人一区二区三区视频在线观看| 欧美日韩国产综合久久 | 91片在线免费观看| 久久人人97超碰com| 日本成人在线一区| 91福利社在线观看| 国产精品超碰97尤物18| 国产一区在线观看视频| 欧美一区欧美二区| 亚洲成人av一区二区三区| eeuss影院一区二区三区| 久久久精品国产免大香伊| 蜜乳av一区二区| 欧美日韩综合不卡| 亚洲人一二三区| 99久久免费精品高清特色大片| 国产夜色精品一区二区av| 美女视频网站久久| 欧美一级爆毛片| 日本成人在线电影网| 91麻豆精品国产无毒不卡在线观看| 一区二区三区四区高清精品免费观看| 国产91在线|亚洲| 国产精品系列在线| 高清shemale亚洲人妖| 久久久久久久久伊人| 韩国理伦片一区二区三区在线播放| 日韩一区二区三区在线视频| 免费av成人在线| 精品国产一区二区三区久久影院|