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

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

?? wm.h

?? 嵌入式系統設計與開發實例詳解--基于ARM的應用(采用ARM7TDMI內核的、三星公司推出的S3C44B0X) 第二部分:guiHZK,guiMemDev,guiScale,guiWM
?? 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_GETCLIENTRECT_ABS  101      /* get client rectangle in absolute 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_ADD_SCROLLBAR      118      /* Scroller added */
#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 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

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

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

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久久99精品免费观看不卡| 日韩一级二级三级| 精品福利在线导航| 国产精品一区二区无线| 制服丝袜亚洲色图| 国产在线播放一区| 136国产福利精品导航| 亚洲一区二区五区| 国产成人精品免费| 91国产精品成人| 久久先锋影音av| 午夜av一区二区三区| 丰满岳乱妇一区二区三区| 欧美日韩国产首页在线观看| 中文字幕不卡在线| 国产九九视频一区二区三区| 欧美日韩视频在线一区二区| 国产精品污网站| 国产精品一二三| 精品黑人一区二区三区久久| 午夜久久久久久| 欧美亚洲日本一区| 樱桃国产成人精品视频| 成人精品一区二区三区四区| 精品国产一区二区三区av性色| 亚洲成a人v欧美综合天堂下载| 99re热这里只有精品免费视频 | 成人激情黄色小说| 精品国产91乱码一区二区三区 | 日韩av不卡在线观看| 91麻豆高清视频| 亚洲天堂成人在线观看| 丰满少妇久久久久久久| 2023国产一二三区日本精品2022| 美女视频黄频大全不卡视频在线播放| 欧美日韩视频不卡| 日韩精品午夜视频| 欧美一级夜夜爽| 蜜臀av性久久久久av蜜臀妖精| 欧美一区二区三区婷婷月色| 日韩影院在线观看| 日韩一区二区在线观看视频播放| 午夜视频一区二区| 91精品国产高清一区二区三区 | 欧美一区二区久久| 日韩精品福利网| 福利一区福利二区| 成人免费视频视频在线观看免费| 国产成人精品1024| 91片在线免费观看| 国产福利一区在线观看| 精品一区免费av| 国产精品一色哟哟哟| 成人app在线| 色综合天天综合| 欧美三级蜜桃2在线观看| 一区二区三区.www| 视频精品一区二区| 精品欧美黑人一区二区三区| 看电影不卡的网站| 中文字幕欧美国产| 欧美图区在线视频| 国产一区二区三区精品欧美日韩一区二区三区 | 韩国理伦片一区二区三区在线播放| 欧美精品一区二区三区视频| 国产成人啪免费观看软件| 中文字幕亚洲不卡| 91精品国产91热久久久做人人 | 精品盗摄一区二区三区| 国产福利91精品| 亚洲一区二区偷拍精品| 精品久久久久久最新网址| 国产91精品在线观看| 亚洲午夜羞羞片| 欧美国产一区二区在线观看| 一本一道综合狠狠老| 看电影不卡的网站| 一区二区三区在线播放| 欧美大胆一级视频| 91黄视频在线观看| 成人黄页在线观看| 蜜臀久久99精品久久久久宅男| 中文字幕在线不卡一区二区三区 | 三级久久三级久久久| 久久久电影一区二区三区| 欧美三级欧美一级| 91日韩精品一区| 国产精品一级片在线观看| 亚洲高清视频中文字幕| 国产精品久久久久毛片软件| 日韩欧美一级二级三级| 91国产丝袜在线播放| 国v精品久久久网| 4438x成人网最大色成网站| 国产精品久久久久久久第一福利| 色菇凉天天综合网| 亚洲第一综合色| 在线观看欧美日本| 人人狠狠综合久久亚洲| 91超碰这里只有精品国产| 亚洲国产aⅴ天堂久久| 日韩视频在线永久播放| 奇米影视一区二区三区| 久久久久国色av免费看影院| 欧美日韩中文另类| 国产电影一区在线| 韩国成人福利片在线播放| 亚洲444eee在线观看| 亚洲视频一区二区在线观看| 久久久久久电影| 26uuu久久天堂性欧美| 91精品在线观看入口| 欧美美女一区二区在线观看| 91精品91久久久中77777| 99re热视频这里只精品| 97aⅴ精品视频一二三区| 不卡的电视剧免费网站有什么| 成人永久看片免费视频天堂| 国产麻豆成人精品| 丁香另类激情小说| 成人动漫一区二区三区| 盗摄精品av一区二区三区| 国产成人超碰人人澡人人澡| 国产成人免费视| 成人av一区二区三区| 成人污视频在线观看| 99视频精品全部免费在线| 一本久久精品一区二区| 欧美影视一区二区三区| 欧美日韩在线播放一区| 3d动漫精品啪啪一区二区竹菊| 欧美巨大另类极品videosbest | 一区二区三区免费在线观看| 最新国产精品久久精品| 亚洲女人的天堂| 亚洲成人动漫精品| 久久99精品国产91久久来源| 久88久久88久久久| 成人午夜av影视| 在线影院国内精品| 欧美一区二区免费观在线| 久久精品一区四区| 亚洲欧美日韩一区二区| 日本伊人午夜精品| 成人午夜大片免费观看| 欧美日韩一区二区三区四区五区 | 国产日韩欧美一区二区三区乱码| 欧美国产乱子伦 | 亚洲超碰精品一区二区| 激情综合网最新| 99精品久久只有精品| 成人免费视频一区二区| 在线亚洲一区二区| 日韩精品专区在线影院重磅| 久久色在线视频| 《视频一区视频二区| 午夜国产精品一区| 国产99久久久久久免费看农村| 99久久伊人久久99| 日韩午夜在线播放| av在线不卡网| 91精品国产综合久久精品性色| 国产丝袜欧美中文另类| 亚洲一区二区精品久久av| 国产一区二区视频在线播放| 在线精品视频一区二区三四| 久久久久高清精品| 午夜精品久久久久久久久久久 | 首页综合国产亚洲丝袜| 国产一区二区视频在线| 欧美日韩精品高清| 中文字幕日韩av资源站| 精品一区二区免费| 欧美三级电影网| 亚洲理论在线观看| 国产a区久久久| 精品福利一二区| 日本成人在线网站| 欧洲人成人精品| 18成人在线观看| 国产精品主播直播| 欧美xingq一区二区| 一区二区三区免费观看| www.激情成人| 国产免费成人在线视频| 男男成人高潮片免费网站| 色综合久久综合网欧美综合网| 欧美精品一区二| 久久激五月天综合精品| 欧美日韩亚洲综合| 一级做a爱片久久| 91麻豆国产在线观看| 国产精品欧美久久久久一区二区| 激情综合亚洲精品| 精品粉嫩超白一线天av| 日本不卡123| 欧美一区二区三区视频免费| 亚洲国产综合色| 欧美日韩aaaaaa| 日韩精品成人一区二区在线|