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

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

?? wm.h

?? ucCos移植到廣州友善nano2410
?? 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一区二区三区免费野_久草精品视频
亚洲日本一区二区| 日本麻豆一区二区三区视频| 亚洲v中文字幕| 国产精品一二三| 91精品国产全国免费观看| 国产精品久久久一本精品| 精品写真视频在线观看| 欧美亚洲禁片免费| 亚洲三级电影网站| 成人精品鲁一区一区二区| 欧美成人bangbros| 亚洲6080在线| 91福利社在线观看| 国产精品国产馆在线真实露脸 | 日韩一区中文字幕| 国内外精品视频| 3751色影院一区二区三区| 亚洲精品国产一区二区精华液| 国产精品伊人色| 欧美精品一区二区三区蜜桃| 日本中文字幕一区| 欧美狂野另类xxxxoooo| 亚洲国产欧美一区二区三区丁香婷| 成人国产精品免费观看| 国产精品美女视频| 国产精品亚洲第一区在线暖暖韩国 | 中文av一区二区| 国产一区二区91| 日韩一区二区三| 美女在线观看视频一区二区| 欧美一区二区三区在线观看| 日韩影视精彩在线| 欧美午夜精品久久久久久孕妇 | 日本视频在线一区| 日韩美女在线视频| 国模无码大尺度一区二区三区| 欧美大胆人体bbbb| 精品一二线国产| 国产色综合一区| 99久久99久久综合| 一区二区三区国产精品| 欧美日韩三级视频| 日本在线不卡视频| 精品久久久三级丝袜| 国产一区二区不卡| 国产精品无遮挡| 色综合天天综合狠狠| 午夜电影一区二区三区| 日韩欧美一级在线播放| 国产激情91久久精品导航| 中文字幕国产精品一区二区| 91亚洲精品久久久蜜桃| 午夜精品久久久久| 欧美精品一区二区高清在线观看| 国产成a人亚洲精| 亚洲免费大片在线观看| 欧美精品乱码久久久久久| 国产一区二区三区免费在线观看| 国产婷婷一区二区| 欧美调教femdomvk| 国产精品羞羞答答xxdd| 一区二区激情视频| 国产亚洲欧美日韩俺去了| 91美女在线看| 国内精品不卡在线| 亚洲人成网站在线| 日韩一区二区精品在线观看| 粉嫩蜜臀av国产精品网站| 亚洲国产日韩在线一区模特| 久久久国际精品| 欧美丝袜丝nylons| 成人性视频网站| 亚洲一二三四在线| 国产丝袜美腿一区二区三区| 欧美日韩你懂得| 不卡视频一二三| 久久se精品一区精品二区| 一区二区三区中文字幕精品精品| 精品国产一区a| 欧美日韩在线三级| 99久久综合狠狠综合久久| 另类的小说在线视频另类成人小视频在线| 成人欧美一区二区三区小说| 精品国产一区二区在线观看| 欧美少妇bbb| 成人免费视频播放| 国产一区二区女| 久热成人在线视频| 亚洲国产精品久久不卡毛片| 欧美激情中文不卡| www国产成人| 欧美一区二区三区影视| 欧美午夜精品一区| 91美女片黄在线观看91美女| 国产盗摄精品一区二区三区在线| 舔着乳尖日韩一区| 亚洲一卡二卡三卡四卡| 亚洲精品成人悠悠色影视| 欧美国产精品久久| 2023国产一二三区日本精品2022| 欧美一级夜夜爽| 欧美人与z0zoxxxx视频| 在线观看91精品国产入口| 99热国产精品| 91免费观看在线| 色婷婷av一区| 91久久精品一区二区三| 91精彩视频在线| 日本韩国精品一区二区在线观看| 99久久99久久精品国产片果冻| 粉嫩在线一区二区三区视频| 国产成人av自拍| av一二三不卡影片| 91色乱码一区二区三区| 色婷婷激情综合| 欧美亚洲高清一区| 制服丝袜在线91| 欧美一区二区视频观看视频| 日韩一区二区免费高清| 欧美大肚乱孕交hd孕妇| 久久香蕉国产线看观看99| 国产欧美精品区一区二区三区| 久久综合九色综合97_久久久| 2021中文字幕一区亚洲| 日本一区二区动态图| 亚洲手机成人高清视频| 一区二区三区鲁丝不卡| 日韩av午夜在线观看| 精品亚洲成a人| www.日韩在线| 欧美性受极品xxxx喷水| 91 com成人网| 国产午夜久久久久| 亚洲狼人国产精品| 无吗不卡中文字幕| 国内久久精品视频| 972aa.com艺术欧美| 欧美色图在线观看| 欧美tk—视频vk| 国产精品高潮久久久久无| 亚洲精品免费播放| 日本特黄久久久高潮| 国产成人午夜高潮毛片| 日本丶国产丶欧美色综合| 91精品综合久久久久久| 国产亚洲欧美在线| 亚洲一区二区美女| 国产美女娇喘av呻吟久久| www.色综合.com| 欧美一区二区三区喷汁尤物| 亚洲国产电影在线观看| 亚洲一区二区精品久久av| 国内不卡的二区三区中文字幕| 97精品久久久久中文字幕| 日韩欧美一区二区不卡| 亚洲日本成人在线观看| 美女视频网站黄色亚洲| 91免费精品国自产拍在线不卡| 欧美一区二区成人6969| 亚洲人成在线观看一区二区| 激情五月激情综合网| 91香蕉视频污在线| 久久久精品国产免费观看同学| 亚洲一二三四久久| 懂色一区二区三区免费观看| 在线成人高清不卡| 中文字幕一区在线| 精品一区二区三区在线观看| 欧美网站一区二区| 一区在线观看免费| 国产成人午夜高潮毛片| 日韩视频在线一区二区| 一区二区视频在线| 成人一区在线观看| 精品久久国产字幕高潮| 亚洲成a人v欧美综合天堂下载| 国产91精品一区二区麻豆亚洲| 欧美一级淫片007| 婷婷国产在线综合| 欧美日韩在线电影| 亚洲精品成人少妇| 色妹子一区二区| 国产精品久久午夜夜伦鲁鲁| 国产精品一区二区久久精品爱涩 | 色www精品视频在线观看| 久久久精品2019中文字幕之3| 麻豆久久久久久| 欧美日韩国产首页| 亚洲一线二线三线视频| 94色蜜桃网一区二区三区| 国产精品毛片久久久久久| 国产精品一区二区视频| 久久久久久久久久久久久女国产乱| 蜜桃免费网站一区二区三区| 日韩一区二区三区视频在线| 蜜臀av国产精品久久久久| 在线不卡免费欧美| 蜜桃视频免费观看一区| 欧美一区二区久久久| 日产精品久久久久久久性色|