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

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

?? gui.h

?? UCOS_UCGUI_MDK_LPC2134的移植代碼.rar
?? H
?? 第 1 頁 / 共 3 頁
字號:
/*
*********************************************************************************************************
*                                                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        : GUI.h
Purpose     : Include file for 2DGL incl. character related routines.
---------------------------END-OF-HEADER------------------------------

Attention : Do not modify this file ! If you do, you will not
            be able do update to a later version of emWin !

*/

#ifndef  GUI_H
#define  GUI_H
#define __EMWIN_GSC__   /* Allow "C" to find out that emWin GSC is used */

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

#include "GUIType.h"
#include "GUIConf.h"
#if GUI_WINSUPPORT
  #include "WM.h"
#endif

#include "GUIVersion.h"


/**********************************************************************
*
*                        Defaults for config switches
*
***********************************************************************
*/

#ifndef GUI_SUPPORT_TOUCH
  #define GUI_SUPPORT_TOUCH   0
#endif

#ifndef GUI_SUPPORT_MOUSE
  #define GUI_SUPPORT_MOUSE   0
#endif

#ifndef GUI_SUPPORT_MEMDEV
  #define GUI_SUPPORT_MEMDEV  0
#endif

#ifndef GUI_SUPPORT_AA
  #define GUI_SUPPORT_AA      1
#endif

#ifndef GUI_SUPPORT_CURSOR
  #define GUI_SUPPORT_CURSOR  (GUI_SUPPORT_MOUSE | GUI_SUPPORT_TOUCH)
#endif

#ifndef GUI_OS
  #define GUI_OS              0
#endif

#ifndef GUI_DEFAULT_FONT
  #define GUI_DEFAULT_FONT    &GUI_Font6x8
#endif

#ifndef GUI_DEFAULT_CURSOR
  #define GUI_DEFAULT_CURSOR  &GUI_CursorArrowM
#endif

#ifndef GUI_DEFAULT_BKCOLOR
  #define GUI_DEFAULT_BKCOLOR GUI_BLACK
#endif

#ifndef GUI_DEFAULT_COLOR
  #define GUI_DEFAULT_COLOR   GUI_WHITE
#endif

#ifndef GUI_SUPPORT_UNICODE
  #define GUI_SUPPORT_UNICODE 0
#endif

/* In order to avoid warnings for undefined parameters */
#ifndef GUI_USE_PARA
  #ifdef __BORLANDC__
    #define GUI_USE_PARA(para)
  #else
    #define GUI_USE_PARA(para) para=para;
  #endif
#endif

/* GUI_FLASH allows to put constants into a special memory area
   For most CPUs, this is not necessary hence the default is "".
   (This makes sense for CPUs like ATMEL AT90 or 8051, where
   default pointers are unable to reach ROM/FLASH memory in some
   memory models)
*/
#ifndef GUI_FLASH
  #define GUI_FLASH
#endif

#ifndef GUI_FAR
  #define GUI_FAR
#endif

/* Default for types */
#ifndef GUI_TIMER_TIME
  #define GUI_TIMER_TIME int  /* default is to use 16 bits for 16 bit CPUs,
	                           32 bits on 32 bit CPUs for timing */
#endif

#ifndef GUI_COMPATIBLE_MODE
  #define GUI_COMPATIBLE_MODE 1
#endif

/*********************************************************************
*
*        Limitations for certain C51 Keil  (__C51__)
*
**********************************************************************
*/
#if defined (__C51__) && GUI_SUPPORT_MEMDEV
  #error __C51__ (Keil) can not support function pointers sufficiently !  -> Disable memory devices  -> GUI_SUPPORT_MEMDEV 0
#endif

/*********************************************************************
*
*        macros, function replacement
*
**********************************************************************
*/
#define GUI_COUNTOF(a) (sizeof(a) / sizeof(a[0]))

/************************************************************
*
*                    GUI_KEY_...
*
*************************************************************
These ID values are basically meant to be used with widgets

*/

#define GUI_KEY_BACKSPACE         8         /* ASCII: BACKSPACE Crtl-H */
#define GUI_KEY_TAB               9         /* ASCII: TAB       Crtl-I */
#define GUI_KEY_ENTER             13        /* ASCII: ENTER     Crtl-M */
#define GUI_KEY_LEFT              16
#define GUI_KEY_UP                17
#define GUI_KEY_RIGHT             18
#define GUI_KEY_DOWN              19
#define GUI_KEY_HOME              23
#define GUI_KEY_END               24
#define GUI_KEY_SHIFT             25
#define GUI_KEY_CONTROL           26
#define GUI_KEY_ESCAPE            27        /* ASCII: ESCAPE    0x1b   */
#define GUI_KEY_INSERT            29
#define GUI_KEY_DELETE            30


/*********************************************************************
*
*       Dialog item IDs
*
*  The IDs below are arbitrary values. They just have to be unique
*  within the dialog.
*
*  If you use your own Ids, we recommend to use values above GUI_ID_USER.
*/

#define GUI_ID_OK                1
#define GUI_ID_CANCEL            2
#define GUI_ID_YES               3
#define GUI_ID_NO                4
#define GUI_ID_CLOSE             5
#define GUI_ID_HELP              6

#define GUI_ID_VSCROLL  0xFE
#define GUI_ID_HSCROLL  0xFF

#define GUI_ID_EDIT0    0x100
#define GUI_ID_EDIT1    0x101
#define GUI_ID_EDIT2    0x102
#define GUI_ID_EDIT3    0x103
#define GUI_ID_EDIT4    0x104
#define GUI_ID_EDIT5    0x105
#define GUI_ID_EDIT6    0x106
#define GUI_ID_EDIT7    0x107
#define GUI_ID_EDIT8    0x108
#define GUI_ID_EDIT9    0x109

#define GUI_ID_LISTBOX0 0x110
#define GUI_ID_LISTBOX1 0x111
#define GUI_ID_LISTBOX2 0x112
#define GUI_ID_LISTBOX3 0x113
#define GUI_ID_LISTBOX4 0x114
#define GUI_ID_LISTBOX5 0x115
#define GUI_ID_LISTBOX6 0x116
#define GUI_ID_LISTBOX7 0x117
#define GUI_ID_LISTBOX8 0x118
#define GUI_ID_LISTBOX9 0x119

#define GUI_ID_CHECK0   0x120
#define GUI_ID_CHECK1   0x121
#define GUI_ID_CHECK2   0x122
#define GUI_ID_CHECK3   0x123
#define GUI_ID_CHECK4   0x124
#define GUI_ID_CHECK5   0x125
#define GUI_ID_CHECK6   0x126
#define GUI_ID_CHECK7   0x127
#define GUI_ID_CHECK8   0x128

#define GUI_ID_SLIDER0  0x130
#define GUI_ID_SLIDER1  0x131
#define GUI_ID_SLIDER2  0x132
#define GUI_ID_SLIDER3  0x133
#define GUI_ID_SLIDER4  0x134
#define GUI_ID_SLIDER5  0x135
#define GUI_ID_SLIDER6  0x136
#define GUI_ID_SLIDER7  0x137
#define GUI_ID_SLIDER8  0x138
#define GUI_ID_SLIDER9  0x139

#define GUI_ID_SCROLLBAR0 0x140
#define GUI_ID_SCROLLBAR1 0x141
#define GUI_ID_SCROLLBAR2 0x142
#define GUI_ID_SCROLLBAR3 0x142

#define GUI_ID_RADIO0 0x150
#define GUI_ID_RADIO1 0x151
#define GUI_ID_RADIO2 0x152
#define GUI_ID_RADIO3 0x152

#define GUI_ID_USER     0x800

/*********************************************************************
*
*               Constants  needed for GL
*
**********************************************************************
*/

/*      *********************************
        *
        *      Linestyles
        *
        *********************************
*/

#define GUI_LS_SOLID        (0)
#define GUI_LS_DASH         (1)
#define GUI_LS_DOT          (2)
#define GUI_LS_DASHDOT      (3)
#define GUI_LS_DASHDOTDOT   (4)


/*      *********************************
        *
        *      Pen shapes
        *
        *********************************
*/

#define GUI_PS_ROUND        (0)
#define GUI_PS_FLAT         (1)
#define GUI_PS_SQUARE       (2)



/*      *********************************
        *
        *      Standard colors
        *
        *********************************
*/


#define GUI_BLACK         0x000000
#define GUI_BLUE          0xFF0000
#define GUI_GREEN         0x00ff00
#define GUI_CYAN          0xffff00
#define GUI_RED           0x0000FF
#define GUI_MAGENTA       0x8b008b
#define GUI_BROWN         0x2a2aa5
#define GUI_DARKGRAY      0x404040
#define GUI_GRAY          0x808080
#define GUI_LIGHTGRAY     0xd3d3d3
#define GUI_LIGHTBLUE     0xff8080
#define GUI_LIGHTGREEN    0x80ff80
#define GUI_LIGHTCYAN     0x80ffff
#define GUI_LIGHTRED      0x8080ff
#define GUI_LIGHTMAGENTA  0xff80ff
#define GUI_YELLOW        0x00ffff
#define GUI_WHITE         0xffffff
#define GUI_INVALID_COLOR 0xfffffff      /* Invalid color - more than 24 bits */

/*      *********************************
        *
        *      Coordinates
        *
        *********************************
*/
#define GUI_COORD_X 0
#define GUI_COORD_Y 1

/*      *********************************
        *
        *      UNICODE support macros
        *
        *********************************
*/
#define GUI_UC_STARTCHAR     0x1a
#define GUI_UC_ENDCHAR       0xe2
#define GUI_UC_STARTSTRING   "\x1a"
#define GUI_UC_ENDSTRING     "\xe2"
#define GUI_UC_START         GUI_UC_STARTSTRING
#define GUI_UC_END           GUI_UC_ENDSTRING
#define GUI_UC_NL            "\xe0\x0a"


/*********************************************************************
*
*            Standard Fonts supplied with emWin
*
**********************************************************************

Note: The external declarations for the fonts are now also included in
      this file.
*/


/* Proportional fonts */
extern const GUI_FONT GUI_Font8_ASCII,        GUI_Font8_1;
extern const GUI_FONT GUI_Font10S_ASCII,      GUI_Font10S_1;
extern const GUI_FONT GUI_Font10_ASCII,       GUI_Font10_1;
extern const GUI_FONT GUI_Font13_ASCII,       GUI_Font13_1;
extern const GUI_FONT GUI_Font13B_ASCII,      GUI_Font13B_1;
extern const GUI_FONT GUI_Font13H_ASCII,      GUI_Font13H_1;
extern const GUI_FONT GUI_Font13HB_ASCII,     GUI_Font13HB_1;
extern const GUI_FONT GUI_Font16_ASCII,       GUI_Font16_1,       GUI_Font16_HK,    GUI_Font16_1HK;
extern const GUI_FONT GUI_Font16B_ASCII,      GUI_Font16B_1;
extern const GUI_FONT GUI_Font24_ASCII,       GUI_Font24_1;
extern const GUI_FONT GUI_Font24B_ASCII,      GUI_Font24B_1;
extern const GUI_FONT GUI_Font32_ASCII,       GUI_Font32_1;
extern const GUI_FONT GUI_Font32B_ASCII,      GUI_Font32B_1;

/* Monospaced */
extern const GUI_FONT GUI_Font4x6;
extern const GUI_FONT GUI_Font6x8,            GUI_Font6x9;
extern const GUI_FONT GUI_Font8x8,            GUI_Font8x9;
extern const GUI_FONT GUI_Font8x10_ASCII;
extern const GUI_FONT GUI_Font8x12_ASCII;
extern const GUI_FONT GUI_Font8x13_ASCII,     GUI_Font8x13_1;
extern const GUI_FONT GUI_Font8x15B_ASCII,    GUI_Font8x15B_1;
extern const GUI_FONT GUI_Font8x16,           GUI_Font8x17,       GUI_Font8x18;
extern const GUI_FONT GUI_Font8x16x1x2,       GUI_Font8x16x2x2,   GUI_Font8x16x3x3;

/* Digits */
extern const GUI_FONT GUI_FontD24x32;
extern const GUI_FONT GUI_FontD32;

/* Comic fonts */
extern const GUI_FONT GUI_FontComic18B_ASCII, GUI_FontComic18B_1;
extern const GUI_FONT GUI_FontComic24B_ASCII, GUI_FontComic24B_1;


/*
      *********************************
      *                               *
      * Text and drawing mode defines *
      *                               *
      *********************************

These defines come in two flavors: the long version (.._DRAWMODE_..)
and the short ones (.._DM_..). They are identical, feel free to use
which ever one you like best.

*/

#define GUI_DRAWMODE_NORMAL  LCD_DRAWMODE_NORMAL
#define GUI_DRAWMODE_XOR     LCD_DRAWMODE_XOR
#define GUI_DRAWMODE_TRANS   LCD_DRAWMODE_TRANS
#define GUI_DRAWMODE_REV     LCD_DRAWMODE_REV
#define GUI_DM_NORMAL        LCD_DRAWMODE_NORMAL
#define GUI_DM_XOR           LCD_DRAWMODE_XOR
#define GUI_DM_TRANS         LCD_DRAWMODE_TRANS
#define GUI_DM_REV           LCD_DRAWMODE_REV

#define GUI_TEXTMODE_NORMAL  LCD_DRAWMODE_NORMAL
#define GUI_TEXTMODE_XOR     LCD_DRAWMODE_XOR
#define GUI_TEXTMODE_TRANS   LCD_DRAWMODE_TRANS
#define GUI_TEXTMODE_REV     LCD_DRAWMODE_REV
#define GUI_TM_NORMAL        LCD_DRAWMODE_NORMAL
#define GUI_TM_XOR           LCD_DRAWMODE_XOR
#define GUI_TM_TRANS         LCD_DRAWMODE_TRANS
#define GUI_TM_REV           LCD_DRAWMODE_REV

/* Text alignment flags, horizontal */
#define GUI_TA_HORIZONTAL  (3<<0)
#define GUI_TA_LEFT        (0<<0)
#define GUI_TA_RIGHT	     (1<<0)
#define GUI_TA_CENTER	     (2<<0)
#define GUI_TA_HCENTER	   GUI_TA_CENTER  /* easier to remember :-)  */

/* Text alignment flags, vertical */
#define GUI_TA_VERTICAL   (3<<2)
#define GUI_TA_TOP	      (0<<2)
#define GUI_TA_BOTTOM	    (1<<2)
#define GUI_TA_BASELINE   (2<<2)
#define GUI_TA_VCENTER    (3<<2)

/*    *********************************
      *
      *     Min/Max coordinates
      *
      *********************************
*/
/* Define minimum and maximum coordinates in x and y */
#define GUI_XMIN -4095
#define GUI_XMAX  4095
#define GUI_YMIN -4095
#define GUI_YMAX  4095

/*********************************************************************
*
*             GUI_CONTEXT
*
**********************************************************************

  This structure is public for one reason only:
  To allow the application to save and restore the context.
*/

typedef union {
  U8  aColorIndex8[2];
  U16 aColorIndex16[2];
} LCD_COLORINDEX_UNION;

typedef struct GUI_Context_struct GUI_CONTEXT;

#if !defined (__C51__) /* To bypass Keil-compiler bug */
  typedef struct tLCDDEV_APIList_struct tLCDDEV_APIList;
#endif

struct GUI_Context_struct {
/* Variables in LCD module */
  LCD_COLORINDEX_UNION LCD;
  LCD_RECT       ClipRect;
  const tLCD_HL_APIList* pLCD_HL;
  U8             DrawMode;
/* Variables in GL module */
  GUI_RECT* pClipRect_HL;
  U8        PenSize;
  U8        PenShape;
  U8        LineStyle;
  U8        FillStyle;
/* Variables in GUICHAR module */
  const GUI_FONT* pAFont;
  I16P LBorder;
  I16P DispPosX, DispPosY;
  I16P DrawPosX, DrawPosY;
  I16P TextMode;
  I16P TextAlign;
/* Variables in WM module */

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区在线观看视频| 国产一区91精品张津瑜| 一区二区三区四区高清精品免费观看 | 久久精品国产免费看久久精品| 亚洲成人av福利| 亚洲va在线va天堂| 性久久久久久久久久久久 | 91网站黄www| 91亚洲国产成人精品一区二三 | 日韩欧美黄色影院| 精品久久久久香蕉网| 精品久久国产老人久久综合| 欧美刺激脚交jootjob| 精品国产一区二区三区四区四| 欧美一级搡bbbb搡bbbb| 精品国产电影一区二区| 2021国产精品久久精品| 国产精品欧美经典| 亚洲欧美日韩小说| 视频一区视频二区在线观看| 免费观看久久久4p| 国产久卡久卡久卡久卡视频精品| 福利一区福利二区| 色综合久久久久综合体桃花网| 欧美日韩免费高清一区色橹橹 | 欧美在线播放高清精品| 欧美日韩免费高清一区色橹橹| 日韩视频免费观看高清完整版 | 日韩美女啊v在线免费观看| 亚洲激情校园春色| 日本不卡的三区四区五区| 麻豆国产精品一区二区三区 | 日本一区二区不卡视频| 亚洲精品免费电影| 日韩成人av影视| 国产精品1024| 色香蕉成人二区免费| 欧美一区二区三区男人的天堂| 国产无人区一区二区三区| 一区二区三区在线观看国产 | 日本精品一级二级| 日韩精品一区二区三区在线播放| 国产精品日韩成人| 亚洲成av人片| 国产一区二区免费在线| 色噜噜狠狠色综合中国 | 美女www一区二区| 成人深夜视频在线观看| 欧美美女激情18p| 国产精品免费视频网站| 日韩中文字幕亚洲一区二区va在线 | 国产精品一级片在线观看| 91视频观看免费| 欧美成人女星排行榜| 亚洲美女一区二区三区| 韩国av一区二区三区四区| 色噜噜狠狠成人网p站| 久久麻豆一区二区| 五月婷婷综合激情| 91无套直看片红桃| 久久精品欧美一区二区三区麻豆| 一区二区三区国产精品| 粉嫩高潮美女一区二区三区| 91精品中文字幕一区二区三区| 最新欧美精品一区二区三区| 精品一区二区三区久久久| 在线亚洲+欧美+日本专区| 国产亚洲一区字幕| 免费成人在线视频观看| 在线视频你懂得一区二区三区| 国产视频一区在线播放| 蜜臀精品久久久久久蜜臀 | 最新热久久免费视频| 国产一区二区三区香蕉| 91精品国产一区二区| 一区二区三区国产精华| 97精品超碰一区二区三区| 久久久www成人免费无遮挡大片| 日韩精品1区2区3区| 在线视频亚洲一区| 亚洲女同一区二区| 懂色av一区二区三区免费观看| 日韩精品一区二区三区四区| 日韩高清在线观看| 欧美日韩你懂的| 亚洲第一搞黄网站| 欧美性色欧美a在线播放| 国产精品大尺度| 99久免费精品视频在线观看| 国产亚洲欧洲一区高清在线观看| 久久成人av少妇免费| 欧美一级生活片| 秋霞国产午夜精品免费视频| 国产欧美日韩不卡免费| 蜜臀久久99精品久久久画质超高清| 欧美日韩精品一区二区三区蜜桃| 一级女性全黄久久生活片免费| 成人18视频在线播放| 综合久久久久久| 色婷婷综合久久久久中文 | 在线一区二区三区做爰视频网站| 国产精品视频第一区| 粉嫩绯色av一区二区在线观看| 亚洲国产精品二十页| 成人久久18免费网站麻豆| 国产精品久久毛片| 成人av在线看| 亚洲欧美日韩在线不卡| 色婷婷一区二区| 午夜在线成人av| 欧美一区二区三区日韩视频| 免费日韩伦理电影| 精品国产一区二区三区av性色| 精品一区二区三区香蕉蜜桃| 国产性天天综合网| 97久久精品人人澡人人爽| 一区二区激情小说| 欧美一区二区二区| 韩国精品免费视频| 国产精品美女久久久久久2018| 91影院在线观看| 亚洲国产欧美日韩另类综合| 欧美一级免费观看| 国产精品一品视频| 亚洲视频免费观看| 91精品免费观看| 国产麻豆成人传媒免费观看| 国产精品欧美一区二区三区| 一本到高清视频免费精品| 亚洲一区二区三区激情| 欧美一区三区四区| 国产成人综合在线播放| 亚洲精品中文字幕乱码三区| 欧美精品久久99| 国产成人精品网址| 一区二区不卡在线播放 | 欧美日韩在线精品一区二区三区激情| 日韩国产在线观看一区| 精品国产乱码久久| 91视频91自| 日韩av网站免费在线| 中文字幕乱码日本亚洲一区二区| 在线免费观看日本欧美| 精品一区二区综合| 亚洲视频在线观看三级| 日韩限制级电影在线观看| 波多野洁衣一区| 肉色丝袜一区二区| 国产精品婷婷午夜在线观看| 欧美日韩精品一区二区三区四区| 国产一区二区在线电影| 亚洲国产精品尤物yw在线观看| 精品久久久久久久一区二区蜜臀| www.欧美日韩| 美女精品自拍一二三四| 亚洲美女视频在线| 国产视频不卡一区| 欧美巨大另类极品videosbest| 粉嫩高潮美女一区二区三区| 爽爽淫人综合网网站| 亚洲日本免费电影| 精品对白一区国产伦| 欧美日韩在线精品一区二区三区激情| 欧美色电影在线| 国产91精品露脸国语对白| 日本va欧美va欧美va精品| 亚洲三级久久久| 国产欧美综合色| 欧美成人猛片aaaaaaa| 欧美三级乱人伦电影| 成人网在线免费视频| 久久超级碰视频| 午夜精品久久久久久久久| 亚洲色图制服丝袜| 久久精品视频免费观看| 日韩欧美在线影院| 欧美日韩在线观看一区二区| 97久久精品人人做人人爽| 国产成人精品1024| 激情五月婷婷综合网| 日本伊人精品一区二区三区观看方式| 亚洲乱码国产乱码精品精的特点| 日韩视频在线一区二区| 欧美群妇大交群的观看方式| 日本韩国欧美国产| 99在线精品视频| 国产99精品国产| 国内精品免费**视频| 另类小说视频一区二区| 日韩极品在线观看| 亚洲第一福利视频在线| 一区二区三区四区高清精品免费观看| 国产精品久久久久久久岛一牛影视 | 秋霞av亚洲一区二区三| 天天影视网天天综合色在线播放| 亚洲精品免费播放| 一区二区不卡在线播放| 一区二区成人在线观看| 亚洲综合色噜噜狠狠| 亚洲一区二区三区中文字幕|