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

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

?? wm.h

?? 這是我移植到GBA游戲機上的uCGUI3.24 可以通過模擬器仿真
?? H
?? 第 1 頁 / 共 2 頁
字號:
/*
*********************************************************************************************************
*                                                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        : WM.h
Purpose     : Windows manager include
----------------------------------------------------------------------
*/

#ifndef WM_H            /* Make sure we only include it once */
#ifndef GUI_H
  #include "GUI.h"      /* Needed because of typedefs only */
#endif

#ifndef WM_H		        /* Make sure circular reference do not lead
                           to multiple-inclusion problem */
#define WM_H

/* Make sure we actually have configured windows. If we have not,
  there is no point for a windows manager and it will therefor not
  generate any code !
*/

#if GUI_WINSUPPORT

/*
      *************************************************************
      *                                                           *
      *                 Defaults for configuration switches       *
      *                                                           *
      *************************************************************
*/

#ifndef WM_ASSERT
  #define WM_ASSERT(expr) GUI_DEBUG_ASSERT(expr)
#endif

#ifndef WM_RESULT
  #define WM_RESULT void
#endif

#ifndef WM_SUPPORT_TOUCH
  #define WM_SUPPORT_TOUCH        GUI_SUPPORT_TOUCH
#endif

#ifndef WM_SUPPORT_OBSTRUCT
  #define WM_SUPPORT_OBSTRUCT 1
#endif

#ifndef WM_COMPATIBLE_MODE
  #define WM_COMPATIBLE_MODE 1
#endif

/*
      *************************************************************
      *                                                           *
      *               Configuration check                         *
      *                                                           *
      *************************************************************
*/

/*
      *************************************************************
      *                                                           *
      *               Locking macros                              *
      *                                                           *
      *************************************************************
  For performance reasons, the windows manager user the same locking mechanisms
  as the GUI layer. The advantage is that wiht a single call to GUI_LOCK both
  the graphic level and the WM level are covered.
*/

#define WM_LOCK()   GUI_LOCK()
#define WM_UNLOCK() GUI_UNLOCK()

/* Memory allocation locking is seperate from Windows managers in
   order to be able to use different resource semaphores. Per
	 default, the same one is used.
*/

#ifndef WMALLOC_LOCK
  #define WMALLOC_LOCK()   WM_LOCK()
  #define WMALLOC_UNLOCK() WM_UNLOCK()
#endif

/************************************************************
*
*          Public data (just for inline functions
*                       in form of macros)
*
*************************************************************
*/

extern U8 WM_IsActive;


/************************************************************
*
*          Data types
*
*************************************************************
*/

typedef struct {
  int Key, PressedCnt;
} WM_KEY_INFO;

typedef struct {
  int NumItems, v, PageSize;
} WM_SCROLL_STATE;


/*
      *************************************************************
      *                                                           *
      *               Function replacement macros                 *
      *                                                           *
      *************************************************************
*/

#define WM_GetIsActive()          WM_IsActive
#define WM_GetNumWindows()        WM__NumWindows
#define WM_GetNumInvalidWindows() WM__NumInvalidWindows

/*********************************************************************
*
*               Messages Ids

The following is the list of windows messages.
*/

#ifndef _WINUSER_              /* Conflicts with winuser.h ... */

#define WM_PAINT               1 /* Repaint window (because content is (partially) invalid */
#define WM_COVER               2 /* Window has been partially covered. Normally, there is no reaction to this event. */
#define WM_CREATE              3 /* The first message received, right after client has actually been created */
#define WM_DELETE              4 /* Delete (Destroy) command: This tells the client to free its data strutures since the window
                                    it is associates with no longer exists.*/
#define WM_SIZE                6 /* Is sent to a window after its size has changed */
#define WM_MOVE                7 /* window has been moved */
#define WM_SHOW                8 /* windows has just received the show command */
#define WM_HIDE                9 /* windows has just received the hide command */
#define WM_FGND               10 /* window has been made top of window stack */
#define WM_BGND               11 /* window has just been put to bottom of stack */
#define WM_TOUCH              12 /* touch screen message */
#define WM_KEY                13 /* Key has been pressed */

#define WM_GETCLIENTRECT      100      /* get client rectangle in window coordinates*/
#define WM_GET_INSIDE_RECT    102      /* get inside rectangle: client rectangle minus pixels lost to effect */
#define WM_GETORG             104
#define WM_GET_ID             105      /* Get id of widget */
#define WM_GET_CLIENT_WINDOW  106      /* Get window handle of client window. Default is the same as window */
#define WM_CAPTURE_RELEASED   107      /* Let window know that mouse capture is over */


#define WM_INIT_DIALOG              109      /* Inform dialog that it is ready for init */
#define WM_SET_FOCUS                110      /* Inform window that it has gotten or lost the focus */
#define WM_GET_ACCEPT_FOCUS         111      /* Find out if window can accept the focus */
#define WM_GET_FOCUSSED_CHILD       112      /* Which child currently has the focus */
#define WM_GET_HAS_FOCUS            113      /* Does this window have the focus ? */
#define WM_GET_BKCOLOR              114      /* Return back ground color (only frame window and similar) */
#define WM_SET_ENABLE               115      /* Enable or disable widget */
#define WM_GET_SCROLL_STATE         116      /* Query state of scroll bar */

#define WM_SET_SCROLL_STATE         119      /* Set scroll info ... only effective for scrollbars */

#define WM_NOTIFY_CHILD_HAS_FOCUS   120
#define WM_NOTIFY_PARENT            121

#define WM_USER                     200      /* Reserved for user messages */

#endif


/*********************************************************************
*
*               Notification codes

The following is the list of notification codes send
with the WM_NOTIFY_PARENT message
*/
#define WM_NOTIFICATION_CLICKED             1
#define WM_NOTIFICATION_RELEASED            2
#define WM_NOTIFICATION_MOVED_OUT           3
#define WM_NOTIFICATION_SEL_CHANGED         4
#define WM_NOTIFICATION_VALUE_CHANGED       5
#define WM_NOTIFICATION_SCROLLBAR_ADDED     6      /* Scroller added */

/*
        *******************************************************************
        *                                                                 *
        *              Memory management                                  *
        *                                                                 *
        *******************************************************************
*/

#define WM_FREE(h)     GUI_ALLOC_FREE(h)
#define WM_ALLOC(h)    GUI_ALLOC_ALLOC(h)
#define WM_HWIN        GUI_HWIN
#define WM_HWIN_NULL   GUI_HWIN_NULL
#define WM_HMEM        GUI_HMEM
#define WM_HMEM2Ptr    GUI_ALLOC_H2P
#define WM_FREEPTR(ph) GUI_ALLOC_FreePtr(ph)
#define WM_HMEM_NULL   GUI_HMEM_NULL
#define WM_HBKWIN      1                         /* Handle of background window */

/*
        *******************************************************************
        *                                                                 *
        *           Windows manager types                                 *
        *                                                                 *
        *******************************************************************
*/

/* Windows create flags. These flags can be passed to the create window
   function as flag-parameter. The flags are combinable using the
   binary or operator.
*/

#define WM_CF_HASTRANS   (1<<0)  /* Has transparency. Needs to be defined
                                    for windows which do not fill the entire
                                    section of their (client) rectangle. */
#define WM_CF_HIDE       (0<<1)  /* Hide window after creation (default !) */
#define WM_CF_SHOW       (1<<1)  /* Show window after creation */
#define WM_CF_FGND       (0<<2)  /* Put window in foreground after creation
                                    (default !) */
#define WM_CF_BGND       (1<<2)  /* Put window in background after creation */
#define WM_CF_MEMDEV     (1<<3)  /* Use memory device for redraws */
#define WM_CF_STAYONTOP  (1<<4)  /* Stay on top */
#define WM_CF_ACTIVATE   (1<<5)  /* If automatic activation upon creation of
                                    window is desired */

typedef struct {
  int MsgId;            /* type of message */
  WM_HWIN hWin;         /* Destination window */
  WM_HWIN hWinSrc;      /* Source window  */
  union {
    void* p;            /* Some messages need more info ... */
    int v;
    GUI_COLOR Color;
  } Data;
} WM_MESSAGE;

typedef void WM_CALLBACK( WM_MESSAGE* pMsg);

typedef struct WM_OBJ_struct WM_Obj;
struct WM_OBJ_struct {
  GUI_RECT Rect;        /* outer dimensions of window */
  GUI_RECT InvalidRect; /* invalid rectangle */
  WM_CALLBACK* cb;      /* ptr to notification callback */
  WM_HWIN hNextLin;     /* Next window in linear list */
  WM_HWIN hParent, hFirstChild, hNext;
  U16 Status;	          /* Some status flags */
};

typedef void WM_tfPollPID(void);

/*
**********************************************************************
*
*              General control routines
*
**********************************************************************
*/


void WM_Activate  (void);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久夜色精品一区| 欧美日韩国产乱码电影| 国产欧美一区二区精品婷婷 | 亚洲精品日产精品乱码不卡| 91影视在线播放| 亚洲午夜久久久| 日韩视频在线一区二区| 国产成人在线观看免费网站| 亚洲狼人国产精品| 7777精品伊人久久久大香线蕉经典版下载 | 欧美国产激情一区二区三区蜜月| 99综合影院在线| 亚洲夂夂婷婷色拍ww47 | 国产不卡在线视频| 亚洲欧美激情插 | 激情欧美一区二区| 亚洲日本一区二区| 欧美视频在线播放| 精品亚洲国产成人av制服丝袜| 欧美国产激情二区三区| 欧美日韩国产大片| 国产成人在线色| 图片区日韩欧美亚洲| 中文字幕第一页久久| 欧美日韩精品一区二区三区| 国产ts人妖一区二区| 午夜视频一区二区三区| 国产色产综合产在线视频| 欧美三级日韩在线| 成人激情午夜影院| 日韩av一级片| 亚洲精品中文在线| 国产欧美日韩精品一区| 欧美日韩在线免费视频| 国产不卡视频在线播放| 免费观看久久久4p| 夜夜嗨av一区二区三区中文字幕 | 欧美色中文字幕| 国产精品中文字幕欧美| 视频一区免费在线观看| 久久精品一级爱片| 欧美一区二区私人影院日本| 99久久er热在这里只有精品15| 久久精品国产精品亚洲精品| 亚洲国产欧美日韩另类综合| 国产色婷婷亚洲99精品小说| 日韩午夜av一区| 欧美日韩综合在线免费观看| 成人黄色大片在线观看| 国产乱码精品一区二区三区忘忧草| 亚洲一区二区三区四区五区黄| 国产精品久久免费看| 亚洲精品一区二区三区99| 4438x成人网最大色成网站| 欧洲视频一区二区| 91免费视频大全| 国产精品一卡二卡| 国产一区二区精品久久91| 蜜臀av性久久久久av蜜臀妖精| 夜色激情一区二区| 亚洲久草在线视频| 亚洲乱码中文字幕综合| 亚洲欧洲av在线| 国产精品电影一区二区| 国产精品区一区二区三| 久久精品综合网| 国产视频一区二区在线| 久久久激情视频| 国产亚洲成年网址在线观看| 337p日本欧洲亚洲大胆精品| 日韩免费高清电影| 日韩精品一区二区在线| 欧美tickling网站挠脚心| 精品久久久久av影院| 欧美成人bangbros| 亚洲精品一区二区三区香蕉| 久久久国产精品麻豆| 久久久噜噜噜久久中文字幕色伊伊 | 久久综合色鬼综合色| 26uuu国产一区二区三区| 久久久国产精品午夜一区ai换脸| 久久久欧美精品sm网站| 国产精品午夜在线观看| 亚洲色大成网站www久久九九| 亚洲色图另类专区| 亚洲一区二区精品久久av| 亚洲18色成人| 美女任你摸久久| 国产99久久久精品| 色婷婷国产精品综合在线观看| 欧美日韩一区二区三区不卡| 日韩欧美区一区二| 国产色产综合产在线视频| 亚洲视频香蕉人妖| 天天操天天综合网| 国产一区在线观看麻豆| av在线不卡电影| 欧美日韩国产美女| 久久久久久久久免费| 国产精品国产自产拍高清av| 亚洲成人av福利| 国产一区二区免费看| 色婷婷综合久色| 日韩欧美成人激情| 中文字幕一区三区| 午夜精品成人在线视频| 国产成人在线色| 欧美天堂一区二区三区| 久久免费偷拍视频| 亚洲一区二区三区国产| 国产美女在线观看一区| 在线一区二区三区四区| 精品电影一区二区三区| 一区二区不卡在线播放| 国产麻豆一精品一av一免费| 色综合天天视频在线观看| 精品伦理精品一区| 中文字幕一区二区三区精华液| 日本伊人午夜精品| 91年精品国产| 国产夜色精品一区二区av| 一区二区三区国产豹纹内裤在线| 国产在线精品一区二区三区不卡| 在线视频你懂得一区| 国产喷白浆一区二区三区| 五月激情综合婷婷| 色综合天天在线| 久久午夜色播影院免费高清| 五月天久久比比资源色| 99久久精品99国产精品 | 国产精品国产馆在线真实露脸| 日本三级亚洲精品| 91国模大尺度私拍在线视频| 久久综合色鬼综合色| 午夜精品久久久久久久久久久| 不卡一区在线观看| 久久久久亚洲综合| 日韩成人av影视| 日本精品视频一区二区| 国产精品狼人久久影院观看方式| 精品无人区卡一卡二卡三乱码免费卡 | 蜜臀久久99精品久久久久久9| 91麻豆免费观看| 中文字幕二三区不卡| 九九九精品视频| 欧美一级片免费看| 亚洲成人一区二区在线观看| 色综合色综合色综合色综合色综合| 国产三级一区二区三区| 韩国女主播一区| 精品99999| 激情欧美日韩一区二区| 精品欧美一区二区久久| 奇米精品一区二区三区四区 | 67194成人在线观看| 一区二区三区四区高清精品免费观看| 国产成人一级电影| 国产日产亚洲精品系列| 国产乱码精品一区二区三区忘忧草 | 亚洲成av人**亚洲成av**| 91丨porny丨国产入口| 国产精品灌醉下药二区| av网站一区二区三区| 18欧美乱大交hd1984| 99久久精品国产毛片| 亚洲视频电影在线| 在线亚洲一区观看| 亚洲成人黄色影院| 制服视频三区第一页精品| 日韩精品乱码av一区二区| 欧美一区二区视频免费观看| 美女久久久精品| 久久色在线视频| 国产精品2024| 中文字幕一区二区三区不卡| 91同城在线观看| 亚洲在线成人精品| 欧美一区二区三区不卡| 韩国三级在线一区| 国产精品久久免费看| 一本大道久久a久久精二百| 亚洲一区二区三区在线播放| 在线播放日韩导航| 精品在线一区二区| 中文一区一区三区高中清不卡| 色哟哟日韩精品| 五月婷婷久久综合| 久久综合999| 色婷婷亚洲婷婷| 蜜桃一区二区三区在线| 国产精品三级av在线播放| 91福利在线观看| 久久国产精品区| 国产精品久久久久久久久快鸭| 在线观看视频一区二区 | 天天av天天翘天天综合网 | 欧美日韩国产免费一区二区| 麻豆成人在线观看| 中文字幕一区二区三区不卡在线| 欧美日韩一级视频|