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

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

?? wm.h

?? UC_GUI開發源代碼,里面含有范例,源文件
?? H
?? 第 1 頁 / 共 2 頁
字號:
/*
*********************************************************************************************************
*                                             uC/GUI V3.98
*                        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 */
#define WM_MOUSEOVER_END            18      /* 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              29      /* Inform dialog that it is ready for init */

#define WM_SET_FOCUS                30      /* Inform window that it has gotten or lost the focus */
#define WM_GET_ACCEPT_FOCUS         31      /* Find out if window can accept the focus */
#define WM_NOTIFY_CHILD_HAS_FOCUS   32      /* Sent to parent when child receives / loses focus */

#define WM_NOTIFY_OWNER_KEY         33      /* Some widgets (e.g. listbox) notify owner when receiving key messages */

#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_SCREENSIZE_CHANGED       45      /* Send to all windows when size of screen has changed */

#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)

/*********************************************************************
*
*           Window manager types
*/

typedef struct WM_Obj     WM_Obj;
typedef struct WM_OBJ_X   WM_OBJ_X;
typedef struct WM_MESSAGE WM_MESSAGE;

typedef void WM_CALLBACK( WM_MESSAGE* pMsg);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产成人免费视频网站高清观看视频| 亚洲日本韩国一区| 欧美午夜在线观看| 欧美在线观看一区| 在线观看不卡一区| 欧美熟乱第一页| 538prom精品视频线放| 欧美一区二区大片| 欧美xxxxxxxx| 国产日本亚洲高清| 一区二区三区在线免费观看| 亚洲一区二区三区四区五区黄| 一区二区三区视频在线看| 亚洲亚洲人成综合网络| 日韩精品1区2区3区| 麻豆精品蜜桃视频网站| 风间由美一区二区三区在线观看| 99久久综合精品| 欧洲亚洲精品在线| 欧美电视剧免费观看| 国产视频不卡一区| 亚洲国产日韩精品| 精品亚洲成a人在线观看| 国产成人av影院| 欧美在线观看18| 日韩一卡二卡三卡四卡| 国产精品久线观看视频| 亚洲午夜电影网| 国产精品一区二区久久不卡 | 欧美日韩国产小视频| 欧美α欧美αv大片| 欧美激情一区二区三区四区| 亚洲美女区一区| 免费看欧美女人艹b| av在线不卡免费看| 日韩欧美一区二区免费| 亚洲免费观看高清完整版在线观看 | 一区二区成人在线视频| 久久国产免费看| 92精品国产成人观看免费| 欧美一级高清片| 亚洲免费av观看| 国产在线播放一区三区四| 色成人在线视频| 亚洲精品一区二区三区香蕉 | 日韩国产一区二| 99久久精品国产观看| 精品乱码亚洲一区二区不卡| 亚洲制服丝袜av| 97久久超碰国产精品电影| 欧美成人福利视频| 亚洲尤物视频在线| 一本久道久久综合中文字幕| 久久理论电影网| 日韩国产欧美在线视频| 欧美视频在线一区二区三区| 最好看的中文字幕久久| 激情文学综合网| 日韩视频免费观看高清完整版| 亚洲午夜免费福利视频| 99re6这里只有精品视频在线观看| 久久久99免费| 国产一本一道久久香蕉| 日韩美一区二区三区| 天天操天天色综合| 欧美日韩国产免费一区二区| 一区二区三区 在线观看视频| 91在线视频播放地址| 国产精品久久久久久久久果冻传媒 | 国产一区二区三区香蕉| 日韩欧美一区中文| 免费国产亚洲视频| 日韩欧美一级二级三级久久久| 免费在线观看一区| 日韩欧美亚洲另类制服综合在线| 奇米综合一区二区三区精品视频 | 成人免费视频播放| 中文字幕人成不卡一区| 高清在线观看日韩| 国产精品电影一区二区| 99r精品视频| 午夜精品久久久久久久久久| 欧美色大人视频| 美国十次了思思久久精品导航| 日韩精品专区在线影院观看| 精东粉嫩av免费一区二区三区| 精品国产在天天线2019| 国产精品系列在线播放| 亚洲视频一二三区| 91精品国产一区二区| 久久国产剧场电影| 亚洲欧洲av在线| 91国产成人在线| 欧美a级理论片| 欧美韩国日本一区| 在线这里只有精品| 毛片av一区二区| 中文字幕av在线一区二区三区| 一本久久a久久精品亚洲| 日韩黄色小视频| 国产日产精品一区| 欧美在线免费播放| 韩国理伦片一区二区三区在线播放| 欧美激情综合网| 欧美精品色综合| 国产成人高清视频| 午夜精品一区在线观看| 国产亚洲精品aa| 欧美色区777第一页| 国产麻豆精品95视频| 亚洲国产精品麻豆| 国产色91在线| 欧美一区永久视频免费观看| 丁香六月综合激情| 日韩精品电影一区亚洲| 国产精品美女久久久久久2018| 欧美日韩色一区| 99久久综合99久久综合网站| 久久激情五月婷婷| 亚洲国产毛片aaaaa无费看 | 成人一级黄色片| 日韩电影在线观看网站| 亚洲欧美怡红院| 久久综合久久久久88| 欧美另类久久久品| av在线不卡免费看| 国产成人精品三级| 狠狠色综合播放一区二区| 亚洲一区二三区| 国产精品美女久久久久久久久 | 国产亚洲欧美中文| 欧美一卡二卡在线观看| 欧美午夜一区二区| 色噜噜久久综合| www.久久精品| 成人黄色免费短视频| 国产麻豆视频一区二区| 激情五月激情综合网| 麻豆专区一区二区三区四区五区| 亚洲国产中文字幕| 亚洲综合男人的天堂| 亚洲蜜臀av乱码久久精品| 中文字幕一区二区三区精华液| 国产日产亚洲精品系列| 国产欧美日韩在线观看| 国产婷婷色一区二区三区在线| 久久女同精品一区二区| 久久先锋影音av| 久久亚洲捆绑美女| 久久亚洲一区二区三区四区| 久久久久久久久久久电影| 欧美成人a∨高清免费观看| 日韩精品一区二区三区在线播放| 欧美一区二区三区不卡| 91精品国产一区二区三区蜜臀| 欧美另类一区二区三区| 日韩一级高清毛片| 欧美tk丨vk视频| 久久久99精品免费观看| 国产精品成人免费精品自在线观看 | 国内精品第一页| 国产资源在线一区| 丁香婷婷综合网| 99久久精品国产导航| 欧美丝袜丝交足nylons| 91精品久久久久久久久99蜜臂| 日韩你懂的电影在线观看| 欧美v日韩v国产v| 中文幕一区二区三区久久蜜桃| 国产精品久久久久影视| 一区二区三区在线观看视频 | 91精品久久久久久蜜臀| 欧美精品一区男女天堂| 国产欧美精品区一区二区三区 | 日产国产高清一区二区三区| 黄色日韩三级电影| 99久久国产综合精品色伊| 欧美日韩精品一区二区| 精品久久久影院| 亚洲女性喷水在线观看一区| 秋霞av亚洲一区二区三| 懂色av一区二区三区免费观看| 欧美在线视频你懂得| 国产性做久久久久久| 亚洲成a人片在线观看中文| 久久精品99国产精品| 97久久精品人人爽人人爽蜜臀| 欧美一区二区三区系列电影| 国产亚洲一区二区三区四区| 亚洲第一电影网| 成人免费精品视频| 日韩视频一区二区在线观看| 国产精品的网站| 久久se这里有精品| 在线观看欧美日本| 国产欧美一区二区精品忘忧草 | 亚洲精品欧美综合四区| 精彩视频一区二区| 欧美性受xxxx黑人xyx性爽| 欧美激情一区在线观看|