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

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

?? wm.h

?? ucos 移植 stm32 在iar5.2通過運行良好
?? 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 */
#define WM_H


#include "GUI_ConfDefaults.h"
#include "GUIType.h"      /* Needed because of typedefs only */
#include "WM_GUI.h"       /* Some functions needed by GUI routines */

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

/* Support for transparency. Switching it off makes Wm smaller and faster */
#ifndef WM_SUPPORT_TRANSPARENCY
  #define WM_SUPPORT_TRANSPARENCY 1 /* Should be defined outside of GUI_WINSUPPORT because of "#if GUI_WINSUPPORT && WM_SUPPORT_TRANSPARENCY" in some files */
#endif

/* This is for tests only. It will fill the invalid area of a window.
   Can be used for debugging. */
#ifndef WM_SUPPORT_DIAG
  #ifdef WIN32   /* In simulation */
    #define WM_SUPPORT_DIAG GUI_WINSUPPORT
  #else
    #define WM_SUPPORT_DIAG 0
  #endif
#endif

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

/*********************************************************************
*
*              Config defaults
*
**********************************************************************
*/

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

#ifndef WM_SUPPORT_TOUCH
  #define WM_SUPPORT_TOUCH        GUI_SUPPORT_TOUCH
#endif

#ifndef WM_SUPPORT_OBSTRUCT
  #define WM_SUPPORT_OBSTRUCT 1
#endif

/* Allow older API calls */
#ifndef WM_COMPATIBLE_MODE
  #define WM_COMPATIBLE_MODE 1
#endif

/* Send a message if visibility of a window has changed */
#ifndef WM_SUPPORT_NOTIFY_VIS_CHANGED
  #define WM_SUPPORT_NOTIFY_VIS_CHANGED 0
#endif


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

/*
      *************************************************************
      *                                                           *
      *               Locking macros                              *
      *                                                           *
      *************************************************************
  For performance reasons, the windows manager uses 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()

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

typedef struct {
  int Key, PressedCnt;
} WM_KEY_INFO;

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

typedef struct {
  int Done;
  int ReturnValue;
} WM_DIALOG_STATUS;

typedef struct {
  int x,y;
  U8  State;
  U8  StatePrev;
} WM_PID_STATE_CHANGED_INFO;



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

The following is the list of windows messages.
*/


#define WM_CREATE                   0x0001  /* The first message received, right after client has actually been created */
#define WM_MOVE                     0x0003  /* window has been moved (Same as WIN32) */

#define WM_SIZE                     0x0005  /* Is sent to a window after its size has changed (Same as WIN32, do not change !) */

#define WM_DELETE                   11      /* Delete (Destroy) command: This tells the client to free its data strutures since the window
                                               it is associates with no longer exists.*/
#define WM_TOUCH                    12      /* Touch screen message */
#define WM_TOUCH_CHILD              13      /* Touch screen message to ancestors */
#define WM_KEY                      14      /* Key has been pressed */

#define WM_PAINT                    0x000F  /* Repaint window (because content is (partially) invalid */

#if GUI_SUPPORT_MOUSE
#define WM_MOUSEOVER                16      /* Mouse has moved, no key pressed */
#endif

#define WM_PID_STATE_CHANGED        17      /* Pointer input device state has changed */

#define WM_GET_INSIDE_RECT          20      /* get inside rectangle: client rectangle minus pixels lost to effect */
#define WM_GET_ID                   21      /* Get id of widget */
#define WM_SET_ID                   22      /* Set id of widget */
#define WM_GET_CLIENT_WINDOW        23      /* Get window handle of client window. Default is the same as window */
#define WM_CAPTURE_RELEASED         24      /* Let window know that mouse capture is over */

#define WM_INIT_DIALOG              30      /* Inform dialog that it is ready for init */

#define WM_SET_FOCUS                31      /* Inform window that it has gotten or lost the focus */
#define WM_GET_ACCEPT_FOCUS         32      /* Find out if window can accept the focus */
#define WM_NOTIFY_CHILD_HAS_FOCUS   33

#define WM_GET_BKCOLOR              34      /* Return back ground color (only frame window and similar) */
#define WM_GET_SCROLL_STATE         35      /* Query state of scroll bar */

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

#define WM_NOTIFY_CLIENTCHANGE      37      /* Client area may have changed */
#define WM_NOTIFY_PARENT            38      /* Notify parent. Information is detailed as notification code */
#define WM_NOTIFY_PARENT_REFLECTION 39      /* Notify parent reflection. 
                                               Sometimes send back as a result of the WM_NOTIFY_PARENT message
                                               to let child react on behalf of its parent.
                                               Information is detailed as notification code */
#define WM_NOTIFY_ENABLE            40      /* Enable or disable widget */
#define WM_NOTIFY_VIS_CHANGED       41      /* Visibility of a window has or may have changed */

#define WM_HANDLE_DIALOG_STATUS     42      /* Set or get dialog status */
#define WM_GET_RADIOGROUP           43      /* Send to all siblings and children of a radio control when
                                               selection changed */
#define WM_MENU                     44      /* Send to owner window of menu widget */

#define WM_TIMER                    0x0113  /* Timer has expired              (Keep the same as WIN32) */
#define WM_WIDGET                   0x0300  /* 256 messages reserved for Widget messages */
#define WM_USER                     0x0400  /* Reserved for user messages ... (Keep the same as WIN32) */


/*********************************************************************
*
*               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 */
#define WM_NOTIFICATION_CHILD_DELETED       7      /* Inform window that child is about to be deleted */
#define WM_NOTIFICATION_GOT_FOCUS           8
#define WM_NOTIFICATION_LOST_FOCUS          9
#define WM_NOTIFICATION_SCROLL_CHANGED     10

#define WM_NOTIFICATION_WIDGET             11      /* Space for widget defined notifications */
#define WM_NOTIFICATION_USER               16      /* Space for  application (user) defined notifications */
/*********************************************************************
*
*       Memory management
*/

#define WM_HWIN        GUI_HWIN
#define WM_HWIN_NULL   GUI_HMEM_NULL
#define WM_HMEM        GUI_HMEM
#define WM_HMEM_NULL   GUI_HMEM_NULL

/*********************************************************************
*
*       Window defines
*/
#define WM_HBKWIN      WM_GetDesktopWindow()                /* Handle of background window */
#define WM_UNATTACHED  ((WM_HMEM)-1)                        /* Do not attach to a window */


/*********************************************************************
*
*           Window 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_MEMDEV           (1<<2)  /* Use memory device for redraws */
#define WM_CF_STAYONTOP        (1<<3)  /* Stay on top */
#define WM_CF_DISABLED         (1<<4)  /* Disabled: Does not receive PID (mouse & touch) input */
/* Create only flags ... Not available as status flags */
#define WM_CF_ACTIVATE         (1<<5)  /* If automatic activation upon creation of window is desired */
#define WM_CF_FGND             (0<<6)  /* Put window in foreground after creation (default !) */
#define WM_CF_BGND             (1<<6)  /* Put window in background after creation */

/* Anchor flags */
#define WM_CF_ANCHOR_RIGHT     (1<<7)  /* Right anchor ... If parent is resized, distance to right will remain const (left is default) */
#define WM_CF_ANCHOR_BOTTOM    (1<<8)  /* Bottom anchor ... If parent is resized, distance to bottom will remain const (top is default) */
#define WM_CF_ANCHOR_LEFT      (1<<9)  /* Left anchor ... If parent is resized, distance to left will remain const (left is default) */
#define WM_CF_ANCHOR_TOP       (1<<10) /* Top anchor ... If parent is resized, distance to top will remain const (top is default) */

#define WM_CF_CONST_OUTLINE    (1<<11) /* Constant outline. This is relevant for transparent windows only. If a window is transparent
                                       and does not have a constant outline, its background is invalided instead of the window itself.
                                       This causes add. computation time when redrawing. */
#define WM_CF_LATE_CLIP        (1<<12)
#define WM_CF_MEMDEV_ON_REDRAW (1<<13)
#define WM_CF_RESERVED3        (1<<14)
#define WM_CF_RESERVED4        (1<<15)

/*********************************************************************

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲一区二区三区精品在线| 久久久一区二区三区捆绑**| 亚洲综合区在线| 一本到一区二区三区| 亚洲永久免费av| 在线播放中文一区| 美女尤物国产一区| 精品成人一区二区三区四区| 国产成人在线视频播放| 综合久久久久久| 777奇米成人网| 国产精华液一区二区三区| 亚洲欧洲无码一区二区三区| 欧美午夜精品久久久久久超碰| 青青草97国产精品免费观看| 欧美激情一区二区三区不卡| 色哟哟国产精品| 日本成人在线一区| 国产精品久久久久久久久久免费看| 欧美综合一区二区三区| 免费成人av在线播放| 中文欧美字幕免费| 欧美日韩国产高清一区二区| 国产福利一区在线观看| 一级精品视频在线观看宜春院| 欧美一卡二卡三卡| 成人午夜电影小说| 日本午夜精品视频在线观看 | 日本一区免费视频| 91精品办公室少妇高潮对白| 精油按摩中文字幕久久| 亚洲另类中文字| 337p粉嫩大胆噜噜噜噜噜91av | 不卡的av在线播放| 日本强好片久久久久久aaa| 国产亚洲欧美一区在线观看| 欧美日韩国产综合视频在线观看 | 色婷婷综合久久| 国产在线精品一区二区不卡了| 伊人夜夜躁av伊人久久| 久久久久九九视频| 欧美电影影音先锋| 色av成人天堂桃色av| 国产九九视频一区二区三区| 日日摸夜夜添夜夜添精品视频| 欧美激情综合五月色丁香小说| 日韩一区二区电影| 欧美视频日韩视频| 成人18视频在线播放| 免费观看91视频大全| 亚洲一区二区四区蜜桃| 亚洲欧洲日韩在线| 久久久久久久国产精品影院| 欧美一区二区免费观在线| 在线国产电影不卡| 成人av免费在线播放| 国产乱人伦偷精品视频不卡| 麻豆国产一区二区| 视频一区视频二区中文字幕| 一区二区三区不卡视频| 国产精品黄色在线观看| 欧美韩国日本一区| 久久蜜桃av一区精品变态类天堂| 欧美一二三在线| 欧美精品第1页| 欧美精品一二三| 欧美日韩国产精品自在自线| 欧美午夜一区二区三区| 一本高清dvd不卡在线观看| 成人午夜免费视频| 成人av中文字幕| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 欧美色爱综合网| 在线免费av一区| 欧美专区在线观看一区| www.av精品| 91捆绑美女网站| 一本到不卡精品视频在线观看| 91欧美一区二区| 一本色道久久综合亚洲91| 日本韩国欧美一区二区三区| 欧美性受极品xxxx喷水| 欧美日韩色综合| 日韩视频一区在线观看| 精品久久国产字幕高潮| 国产日韩欧美在线一区| 国产精品国产三级国产专播品爱网| 中文成人综合网| 亚洲精品美国一| 三级成人在线视频| 麻豆国产91在线播放| 国内精品国产成人国产三级粉色| 不卡一区在线观看| 97久久精品人人做人人爽| 91激情五月电影| 91精品国产综合久久小美女| xvideos.蜜桃一区二区| 国产精品午夜春色av| 一区二区三区视频在线观看| 天天综合色天天综合色h| 久久99精品国产.久久久久| 丰满岳乱妇一区二区三区| 一本大道av一区二区在线播放| 欧美精品一卡二卡| 欧美精品一区二区在线播放 | 久久久久一区二区三区四区| 国产精品毛片久久久久久| 夜夜操天天操亚洲| 久久66热偷产精品| 色综合久久精品| 日韩一区二区三区免费看 | 国产精品丝袜久久久久久app| 自拍偷拍亚洲综合| 日韩精品高清不卡| 高清不卡一区二区| 4438x亚洲最大成人网| 中文字幕va一区二区三区| 亚洲国产成人精品视频| 国产精品1024久久| 欧美精品视频www在线观看| 久久久久久久精| 亚洲成人精品影院| 粉嫩av亚洲一区二区图片| 欧美天堂一区二区三区| 久久精品一区二区三区不卡牛牛 | 亚洲综合免费观看高清在线观看| 精品系列免费在线观看| zzijzzij亚洲日本少妇熟睡| 337p亚洲精品色噜噜狠狠| 久久久久国色av免费看影院| 亚洲第一精品在线| www.一区二区| 精品奇米国产一区二区三区| 亚洲综合一区在线| www.亚洲精品| 久久婷婷综合激情| 日韩精品五月天| 欧洲亚洲国产日韩| 国产精品萝li| 国产成人精品三级麻豆| 日韩欧美亚洲一区二区| 亚洲高清免费一级二级三级| 99久久精品免费看国产免费软件| 精品1区2区在线观看| 首页国产欧美日韩丝袜| 在线看国产一区二区| 亚洲欧洲日韩女同| 日韩精品一区二区在线观看| 亚洲精品大片www| 欧美亚洲禁片免费| 欧美国产精品中文字幕| 九九国产精品视频| 91精品国产福利| 婷婷中文字幕一区三区| 欧美日韩亚洲国产综合| 一区二区三区成人| 91久久一区二区| 亚洲色图制服诱惑| 99久久er热在这里只有精品66| 久久久久久久性| 国产成人精品午夜视频免费| wwww国产精品欧美| 国精产品一区一区三区mba桃花| 欧美一区二区三区免费在线看 | 精品一区在线看| 欧美成人r级一区二区三区| 麻豆精品国产传媒mv男同| 日韩欧美中文一区| 美女被吸乳得到大胸91| 欧美成人高清电影在线| 经典三级一区二区| 久久久亚洲欧洲日产国码αv| 亚洲高清不卡在线观看| 99热精品一区二区| 日韩美女精品在线| 在线中文字幕一区二区| 夜夜嗨av一区二区三区四季av| 欧美中文字幕一区二区三区亚洲| 亚洲国产一区二区a毛片| 欧美精品免费视频| 久久99久久久久| 久久影院午夜片一区| 风间由美一区二区三区在线观看| 国产精品久久久久久亚洲毛片 | 成人成人成人在线视频| 亚洲色图色小说| 色偷偷成人一区二区三区91| 性做久久久久久久久| 日韩欧美国产综合一区| 大白屁股一区二区视频| 一区二区三区中文在线观看| 欧美精品粉嫩高潮一区二区| 久久99最新地址| 国产精品传媒视频| 欧美午夜精品一区二区三区| 精品一二三四在线| 亚洲欧美日韩国产另类专区| 69精品人人人人| a在线欧美一区| 日本在线播放一区二区三区|