亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
国产精品毛片大码女人| 欧美日韩精品一区二区三区四区| 亚洲成人高清在线| 一区二区三区中文字幕在线观看| 成人免费在线播放视频| 日本一区二区动态图| 国产精品久久久一本精品 | 欧美一区日本一区韩国一区| 91国偷自产一区二区使用方法| 91在线视频18| 在线视频一区二区免费| 色婷婷激情综合| 欧美四级电影在线观看| 欧美日本在线视频| 欧美一区二区在线不卡| 久久午夜老司机| 国产精品毛片无遮挡高清| 亚洲精品中文在线影院| 亚洲国产另类av| 青青草91视频| 国产成人免费高清| 日本韩国欧美国产| 日韩三级视频在线看| 久久精品网站免费观看| 亚洲精品国产视频| 琪琪一区二区三区| 成人免费高清视频在线观看| 一本一道久久a久久精品综合蜜臀| 欧美四级电影网| 国产亚洲一区二区在线观看| 亚洲欧美aⅴ...| 美脚の诱脚舐め脚责91| 波多野结衣在线aⅴ中文字幕不卡 波多野结衣在线一区 | 成人激情电影免费在线观看| 97久久超碰国产精品| 在线成人高清不卡| 国产精品天天看| 日本三级韩国三级欧美三级| 不卡av电影在线播放| 日韩一卡二卡三卡四卡| 亚洲美女偷拍久久| 国产剧情在线观看一区二区| 欧美日韩亚洲国产综合| 国产日韩欧美不卡在线| 日韩一区精品视频| 91在线你懂得| 欧美国产精品专区| 久久99久国产精品黄毛片色诱| 色哟哟一区二区在线观看| 亚洲精品一区二区精华| 日韩高清不卡一区| 色一情一伦一子一伦一区| 国产午夜精品一区二区三区嫩草 | 欧美激情中文字幕一区二区| 亚洲午夜日本在线观看| av电影天堂一区二区在线 | 在线观看国产一区二区| 国产日韩欧美精品在线| 午夜国产不卡在线观看视频| 成人综合日日夜夜| 久久久99精品免费观看不卡| 日韩精品成人一区二区三区| 色女孩综合影院| 亚洲日本电影在线| 成人免费三级在线| 国产午夜精品一区二区三区视频| 麻豆精品久久精品色综合| 欧美精品在线一区二区三区| 亚洲一区二区三区四区五区黄| 色婷婷激情一区二区三区| 综合亚洲深深色噜噜狠狠网站| 国产91精品露脸国语对白| 国产欧美一区二区在线观看| 国产在线不卡视频| 久久久久国产一区二区三区四区 | 成人深夜视频在线观看| 久久久久久亚洲综合影院红桃| 毛片av一区二区三区| 日韩欧美高清一区| 精品一区二区日韩| 国产午夜一区二区三区| 粉嫩一区二区三区在线看 | 91丝袜呻吟高潮美腿白嫩在线观看| 日本一区二区三区国色天香| 岛国精品在线观看| 亚洲国产精品av| 99久久免费精品高清特色大片| 亚洲色图欧美激情| 欧美日韩精品一区二区三区四区 | 美女任你摸久久 | 亚洲一区免费观看| 欧美情侣在线播放| 捆绑变态av一区二区三区| 久久天天做天天爱综合色| 国产盗摄一区二区三区| 亚洲欧洲精品一区二区精品久久久| 91免费版在线| 日韩av午夜在线观看| 久久久久久久久99精品| 99精品一区二区三区| 亚洲成人黄色影院| 久久综合久久99| 一本色道久久综合精品竹菊| 五月综合激情网| 国产欧美一区二区精品性色超碰 | 69堂成人精品免费视频| 国产高清成人在线| 一级女性全黄久久生活片免费| 欧美一级高清片在线观看| 国产福利一区二区三区视频| 一区二区三区日韩欧美| 欧美精品一区二区三区视频| 成人一区二区在线观看| 丝袜美腿亚洲一区二区图片| 2020国产精品自拍| 在线观看亚洲专区| 国内精品伊人久久久久av一坑| 亚洲精品日产精品乱码不卡| 精品国产三级a在线观看| 色噜噜狠狠成人中文综合 | 亚洲欧美经典视频| 2020日本不卡一区二区视频| 色8久久精品久久久久久蜜| 韩国一区二区三区| 亚洲国产精品久久一线不卡| 国产精品私人影院| 欧美成人三级在线| 欧美喷潮久久久xxxxx| 不卡电影一区二区三区| 国产精品影音先锋| 免费在线观看不卡| 五月天久久比比资源色| 国产精品电影一区二区三区| 久久久影视传媒| 日韩一级成人av| 在线播放国产精品二区一二区四区| jizz一区二区| 成人自拍视频在线观看| 国产乱理伦片在线观看夜一区| 日本欧美韩国一区三区| 亚洲国产日韩a在线播放性色| 亚洲欧洲精品一区二区三区 | 懂色av一区二区三区免费观看| 日本aⅴ免费视频一区二区三区| 亚洲精品久久久蜜桃| 1区2区3区欧美| 亚洲天堂精品视频| 中文字幕成人网| 国产欧美日韩精品在线| 久久久久免费观看| 国产网红主播福利一区二区| 久久久不卡网国产精品二区| 日韩精品一区二区三区老鸭窝 | 国产成人av网站| 国产在线精品免费| 国产成人免费在线视频| 国产精品99精品久久免费| 国产成人高清视频| 成人午夜电影久久影院| 99r国产精品| 日本道免费精品一区二区三区| 91激情五月电影| 欧美男人的天堂一二区| 日韩亚洲欧美中文三级| 久久夜色精品国产噜噜av| 久久九九99视频| 成人免费在线播放视频| 亚洲大片一区二区三区| 日本午夜精品一区二区三区电影 | 亚洲丝袜自拍清纯另类| 一二三区精品视频| 日韩国产一区二| 国产一区二区精品久久91| 成人av网在线| 精品视频1区2区| 精品免费日韩av| 中文字幕中文在线不卡住| 亚洲大尺度视频在线观看| 精品一区二区免费视频| 91啪亚洲精品| 欧美一区在线视频| 国产精品视频一二三| 亚洲成人动漫av| 狠狠狠色丁香婷婷综合久久五月| 成人网在线播放| 欧美日韩五月天| 国产色婷婷亚洲99精品小说| 一区二区三区四区国产精品| 久久精品国产精品亚洲红杏| 成人激情av网| 日韩免费看的电影| 亚洲女同ⅹxx女同tv| 狠狠色综合播放一区二区| 91久久香蕉国产日韩欧美9色| 精品久久久久香蕉网| 亚洲激情自拍视频| 国产成人自拍高清视频在线免费播放| 在线免费亚洲电影| 国产亚洲欧美日韩日本| 婷婷夜色潮精品综合在线|