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

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

?? minigui.h

?? 該程序是觸摸屏控制電機轉動試驗,在armlinux下
?? H
?? 第 1 頁 / 共 5 頁
字號:
/** * \file minigui.h * \author Wei Yongming <ymwei@minigui.org> * \date 2002/01/06 *  * This file includes global and miscellaneous interfaces of MiniGUI. * \verbatim    Copyright (C) 1998-2002 Wei Yongming.    Copyright (C) 2002-2003 Feynman Software.    This file is part of MiniGUI, a lightweight Graphics User Interface     support library for real-time embedded Linux.    This program is free software; you can redistribute it and/or modify    it under the terms of the GNU General Public License as published by    the Free Software Foundation; either version 2 of the License, or    (at your option) any later version.    This program is distributed in the hope that it will be useful,    but WITHOUT ANY WARRANTY; without even the implied warranty of    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    GNU General Public License for more details.    You should have received a copy of the GNU General Public License    along with this program; if not, write to the Free Software    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA \endverbatim *//* * $Id: minigui.h,v 1.86 2004/02/25 02:34:49 weiym Exp $ *  *             MiniGUI for Linux, uClinux, eCos, and uC/OS-II version 1.5.x *             Copyright (C) 1998-2002 Wei Yongming. *             Copyright (C) 2002-2004 Feynman Software. */#ifndef _MGUI_MINIGUI_H  #define _MGUI_MINIGUI_H#include <stdio.h>#ifndef _LITE_VERSION  #include <pthread.h>  #include <semaphore.h>#endif#ifdef __cplusplusextern "C" {#endif  /* __cplusplus */    /**     * \addtogroup global_vars Global variables     * @{     */    /**     * \defgroup rect_vars Global Rectangles     * @{     *//** * \var RECT g_rcScr * \brief Contains the rectangle of the whole screen. */extern RECT g_rcScr;         /* The RECT of screen. */#if defined(_LITE_VERSION) && !defined(_STAND_ALONE)/** * \var RECT g_rcDesktop * \brief Contains the rectangle of desktop of the application. * * \note Only available for MiniGUI-Lite as an actual global variable. * And \a g_rcDesktop is defined as an alias (macro) of \a g_rcScr for MiniGUI-Threads. * * \sa g_rcScr */extern RECT g_rcDesktop;     /* The RECT of desktop. */#else#define g_rcDesktop     g_rcScr#endif    /** @} end of rect_vars */    /**     * \defgroup lite_vars MiniGUI-Lite specific variables     * @{     */#if defined(_LITE_VERSION) && !defined(_STAND_ALONE)#include <sys/types.h>/** * \var BOOL mgIsServer * \brief Indicates whether the process is the server or a client on MiniGUI-Lite. * * \note Only defined for MiniGUI-Lite. */extern BOOL mgIsServer;      /* Is the server or a client. *//** * \var void* mgSharedRes * \brief Contains the pointer to the shared resource of MiniGUI-Lite. * * \note Not defined for MiniGUI-Threads, and the shared resource is * read-only for all clients. * * \sa mgSizeRes */extern void* mgSharedRes;    /* The pointer to shared resource. *//** * \var void* mgSizeRes * \brief Contains the length of shared resource of MiniGUI-Lite. * * \note Only defined for MiniGUI-Lite.  * * \sa mgSharedRes */extern size_t mgSizeRes;     /* The size of shared resource. */#define LEN_LAYER_NAME      14#define LEN_CLIENT_NAME     14#define INV_LAYER_HANDLE    0/* variables only available for the server */struct MG_Layer;/** Client information. */typedef struct MG_Client{    /** The name of the client. */    char    name [LEN_CLIENT_NAME + 1];    /** PID of the client process. */    pid_t   pid;    /** UID of the client process. */    uid_t   uid;    /** The file descriptor of the socket connected to the client. */    int     fd;    /** The desktop rectangle of the client. */    RECT    rc;    /** The last active tick count of the client. */    DWORD   last_live_time;    /** The additional data of the client. */    DWORD   dwAddData;    /** The pointer to the next client in the same layer. */    struct  MG_Client* next;    /** The pointer to the previous client in the same layer. */    struct  MG_Client* prev;    /** The pointer to the layer on which the client lays. */    struct  MG_Layer* layer;    struct GlobalRes* global_res;} MG_Client;struct _CLIPRGN;/** Layer information. */typedef struct MG_Layer{    /** The name of the layer. */    char    name [LEN_LAYER_NAME + 1];    /** The pointer to the list of clients which lay on the layer. */    MG_Client* cli_head;    /** The pointer to the active client on the layer. */    MG_Client* cli_active;    /** The additional data of the layer. */    DWORD   dwAddData;    /** The pointer to the next layer. */    struct MG_Layer* next;    /** The pointer to the previous layer. */    struct MG_Layer* prev;    /** The pointer to the region contains the spare rectangles of the layer. */    struct _CLIPRGN* spare_rects;} MG_Layer;/** * \var int mgClientSize * \brief The current size of the array \a mgClients. * * \sa mgClients */extern int mgClientSize;/** * \var MG_Client* mgClients * \brief The pointer to the array contains all clients' information. * * You can access the elements in \a mgClients as a normal array. If the  * field \a fd of one element is not less than zero, then the element * will be a vaild client. * * \sa MG_Client */extern MG_Client* mgClients;/** * \var MG_Layer* mgTopmostLayer * \brief The pointer to the topmost layer. * * \sa MG_Layer */extern MG_Layer* mgTopmostLayer;/** * \var MG_Layer* mgLayers * \brief The pointer to the list of layers. * * \sa MG_Layer */extern MG_Layer* mgLayers;#endif /* _LITE_VERSION && !_STAND_ALONE */    /** @} end of lite_vars */    /** @} end of global_vars */#ifndef _LITE_VERSIONBOOL GUIAPI InitGUI (void);void GUIAPI TerminateGUI (int rcByGUI);void GUIAPI MiniGUIPanic (int exitcode);#endif    /**     * \addtogroup fns Functions     * @{     */    /**     * \addtogroup global_fns Global/general functions     * @{     */    /**     * \defgroup lite_fns MiniGUI-Lite specific functions     * @{     */#ifdef _LITE_VERSION    /**     * \defgroup lite_listenfd_fns Listening a file descriptor     *     * Register/Unregister a listen fd to MiniGUI.     *     * When you need to listen a file descriptor, you can use \a select(2)     * system call. In MiniGUI, you can also register it to MiniGUI to      * be a listened fd, and when there is a read/write/except event on      * the registered fd , MiniGUI will sent a notification message to      * the registered window.     *     * Example:     *     * \include listenfd.c     *     * @{     */#define MAX_NR_LISTEN_FD   5/**  * \fn BOOL GUIAPI RegisterListenFD (int fd, int type, HWND hwnd, void* context) * \brief Registers a listened file descriptor to MiniGUI-Lite. * This function registers the file desciptor \a fd to MiniGUI-Lite for listening. * * When there is a read/write/except event on this \a fd, MiniGUI * will post a MSG_FDEVENT message with wParam being equal to * MAKELONG (fd, type), and the lParam being set to \a context * to the target window. * * \param fd The file descriptor to be listened. * \param type The type of the event to be listened, can be POLLIN, POLLOUT, or POLLERR. * \param hwnd The handle to the window will receive MSG_FDEVENT message. * \param context The value will be passed to the window as lParam of MSG_FDEVENT message. * \return TRUE if all OK, and FALSE on error. * * \note Only available on MiniGUI-Lite. * * \sa UnregisterListenFD, system_msgs */BOOL GUIAPI RegisterListenFD (int fd, int type, HWND hwnd, void* context);/**  * \fn BOOL GUIAPI UnregisterListenFD (int fd) * \brief Unregisters a being listened file descriptor. * * This function unregisters the being listened file descriptor \a fd. * * \param fd The file descriptor to be unregistered, should be a being  *        listened file descriptor. * \return TRUE if all OK, and FALSE on error. * * \note Only available on MiniGUI-Lite. * * \sa RegisterListenFD */BOOL GUIAPI UnregisterListenFD (int fd);    /** @} end of lite_listenfd_fns */#ifdef _STAND_ALONE#define SetDesktopRect(lx, ty, rx, by) {}#else    /**     * \defgroup lite_layer_fns Layer operations     *     * A client in MiniGUI-Lite can create a new layer or join an existed layer      * in order to get the visible desktop rectangle on the screen of it.     *     * Example:     *     * \include client_startup.c     *     * @{     *//**  * \fn GHANDLE GUIAPI JoinLayer (const char* layer_name, const char* client_name, int lx, int ty, int rx, int by) * \brief Joins to a layer. * * This function should be called by clients before calling any other MiniGUI * functions. You can call \a GetLayerInfo to get the layer information. * If the layer to be joined does not exist, the server, i.e. \a mginit, will * try to create a new one. If you passed a NULL pointer or a null string for  * \a layer_name, a new layer will be created as well. * * For the server of MiniGUI-Lite, this function will ignore the arguments of * \a layer_name and \a client_name. The rectangle defines a region in the  * screen, which is exclusively used by the server, no client can output * to this exclusive retangle. * * The server usually calls SetDesktopRect macro, which is defined as * the following: * * \code * * #define SetDesktopRect(lx, ty, rx, by) JoinLayer ("", "", lx, ty, rx, by) * * \endcode *  * Note that the server can define the exclusive retangle out of the actual * screen range. *  * \param layer_name The name of the layer. * \param client_name The name of the client. * \param lx lx,ty,rx,by: The expected desktop rect of the client. * \param ty lx,ty,rx,by: The expected desktop rect of the client. * \param rx lx,ty,rx,by: The expected desktop rect of the client. * \param by lx,ty,rx,by: The expected desktop rect of the client. * \return The handle to the layer on success, INV_LAYER_HANDLE on error. * * \sa GetLayerInfo, GetDesktopRect, ServerStartup */GHANDLE GUIAPI JoinLayer (const char* layer_name, const char* client_name,                 int lx, int ty, int rx, int by);#define SetDesktopRect(lx, ty, rx, by) \        JoinLayer ("", "", lx, ty, rx, by)/**  * \fn void GUIAPI GetDesktopRect (int* lx, int* ty, int* rx, int* by) * \brief Gets the desktop rectangle. * * After joined to a layer, client can call this function to get the * actual desktop rect of itself.  * * \param lx lx,ty,rx,by: The desktop rect will be returned through these pointers. * \param ty lx,ty,rx,by: The desktop rect will be returned through these pointers. * \param rx lx,ty,rx,by: The desktop rect will be returned through these pointers. * \param by lx,ty,rx,by: The desktop rect will be returned through these pointers. * * \sa JoinLayer */void GUIAPI GetDesktopRect (int* lx, int* ty, int* rx, int* by);#define NAME_SELF_LAYER     ""/**  * \fn GHANDLE GUIAPI GetLayerInfo (const char* layer_name, RECT* max_rect, int* nr_clients, BOOL* is_topmost, int* cli_active) * \brief Gets information of a layer. * * You can get the information of a layer through this function.  * The information will be returned through the pointer arguments  * if the specific pointer is not NULL. * * \param layer_name The name of the layer. * \param max_rect The max desktop rect can be obtained will be returned through this pointer. * \param nr_clients The number of clients in the layer will be returned through this pointer. * \param is_topmost A boolean which indicates whether the layer is the topmost layer will be returned. * \param cli_active The identifier of the active client in the layer. * \return Returns the handle to the layer on success, INV_LAYER_HANDLE on error. *

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产suv精品一区二区6| 亚洲一区二区成人在线观看| 裸体一区二区三区| 91久久精品国产91性色tv| 国产精品久久影院| 韩日欧美一区二区三区| 欧美一级午夜免费电影| 日韩中文字幕亚洲一区二区va在线| 91麻豆国产福利精品| 亚洲国产精品黑人久久久| 国产成人在线免费| 国产精品萝li| 99re热这里只有精品视频| 日韩一区在线播放| 91传媒视频在线播放| 亚洲欧洲在线观看av| 国产69精品久久久久777| 国产精品美女视频| 在线免费观看一区| 日韩精品免费视频人成| 精品三级av在线| 国产精品一区在线观看你懂的| 欧美成人官网二区| 国内成人免费视频| 日韩午夜在线观看| 成人av网站在线观看| 亚洲欧美国产高清| 91精品国产乱码| 不卡视频一二三四| 亚洲综合色在线| 日韩欧美一二三区| 99久久免费精品高清特色大片| 亚洲小少妇裸体bbw| 国产亚洲欧美日韩俺去了| 91色porny| 国产一区二区三区精品欧美日韩一区二区三区 | 久久久久久免费网| 欧美精品 日韩| 99久久精品免费看国产免费软件| 人人超碰91尤物精品国产| 国产精品国产三级国产有无不卡 | 99re这里都是精品| 国产一区二区三区免费播放| 亚洲一区二区三区四区五区黄| 亚洲精品在线电影| 欧美成人bangbros| 久久久久成人黄色影片| 欧美日韩一区二区三区视频| 色吧成人激情小说| 不卡的av网站| 国产福利不卡视频| 国产一区二区三区久久悠悠色av| 日韩中文字幕亚洲一区二区va在线 | 三级一区在线视频先锋| 亚洲自拍偷拍图区| 亚洲欧洲成人精品av97| 1024成人网色www| 最新成人av在线| 一区二区成人在线| 亚洲永久免费视频| 亚洲国产精品自拍| 日韩精品免费专区| 国产精品一区2区| 不卡视频一二三四| 欧美中文一区二区三区| 欧美日韩精品一区二区在线播放| 欧美美女一区二区在线观看| 69堂精品视频| 久久综合九色欧美综合狠狠 | 欧美日韩一区二区三区在线| 欧美色中文字幕| 精品剧情在线观看| 日韩欧美你懂的| 久久精品人人做人人爽97| 亚洲欧美电影院| 亚洲综合激情另类小说区| 国模冰冰炮一区二区| 91在线精品秘密一区二区| 欧美一区日韩一区| 国产精品国产三级国产| 亚洲一区二区偷拍精品| 精品在线亚洲视频| 欧美久久久一区| 国产精品伦一区| 亚洲综合色视频| 成人18视频日本| 欧美一级搡bbbb搡bbbb| 午夜精品成人在线视频| 亚洲一卡二卡三卡四卡无卡久久 | 国产精品亚洲一区二区三区妖精 | 成人免费va视频| 91精品久久久久久久99蜜桃| 亚洲免费电影在线| av网站一区二区三区| 久久精品人人做| 国产一区二区电影| 日韩免费一区二区三区在线播放| 夜夜亚洲天天久久| 91丝袜呻吟高潮美腿白嫩在线观看| 欧美成人一级视频| 久久国产精品无码网站| 日韩一区二区在线播放| 天天av天天翘天天综合网 | 日本系列欧美系列| 在线播放中文一区| 三级亚洲高清视频| 日韩精品一区二区三区中文精品| 天堂精品中文字幕在线| 91精品国产福利| 国产一区二区不卡在线 | 欧美色图第一页| 日本在线不卡一区| 久久伊人中文字幕| 成人av网站免费| 一区二区三区产品免费精品久久75| 成人免费毛片片v| 亚洲欧美精品午睡沙发| 欧美欧美欧美欧美| 一本到一区二区三区| 亚洲伊人伊色伊影伊综合网| 欧美亚洲综合久久| 99精品视频在线免费观看| 国产福利一区二区| 国产美女久久久久| 国内不卡的二区三区中文字幕| 亚洲第一主播视频| 亚洲欧美成人一区二区三区| 国产精品国产a| 中文字幕佐山爱一区二区免费| 久久久www免费人成精品| 欧美系列亚洲系列| 欧美精品久久久久久久久老牛影院| 欧美私人免费视频| 91麻豆精品国产91久久久久久久久 | 欧美精品粉嫩高潮一区二区| 国产a精品视频| 国产一区二区三区在线观看精品| 亚洲午夜精品一区二区三区他趣| 国产精品美女一区二区| 久久免费视频一区| 久久看人人爽人人| 精品国内片67194| 欧美v日韩v国产v| 精品国产乱码久久久久久免费| 91精品国产综合久久精品| 欧美肥妇毛茸茸| 日韩欧美一级二级| 久久综合色一综合色88| wwwwxxxxx欧美| 国产精品动漫网站| 亚洲免费资源在线播放| 日韩一区日韩二区| 亚洲自拍另类综合| 日韩激情在线观看| 美女任你摸久久| 国产乱码字幕精品高清av | 国产精品久久网站| 亚洲欧美日韩综合aⅴ视频| 亚洲视频资源在线| 午夜精品久久一牛影视| 日韩av电影免费观看高清完整版 | 一区二区三区欧美日韩| 美国欧美日韩国产在线播放| 国产精品不卡在线| 国产精品欧美极品| 亚洲va国产va欧美va观看| 美女任你摸久久| kk眼镜猥琐国模调教系列一区二区 | 欧美一区二区视频在线观看2022| 国产日产欧美精品一区二区三区| 亚洲视频在线观看一区| 日韩精品五月天| 成人免费毛片片v| 欧美乱妇一区二区三区不卡视频| 久久精品人人爽人人爽| 一区二区三区美女| 国产一区二区成人久久免费影院| 欧美中文字幕久久| 亚洲国产精品ⅴa在线观看| 日韩国产一二三区| 91亚洲资源网| 国产精品乱码一区二区三区软件| 亚洲成人综合视频| 欧美三片在线视频观看| 国产精品美女久久久久高潮| 日韩精品电影在线| 884aa四虎影成人精品一区| 亚洲精品国产无天堂网2021| 国产精品 日产精品 欧美精品| 欧美一区二区女人| 日本伊人午夜精品| 337p亚洲精品色噜噜噜| 日韩影院精彩在线| 欧美日本在线播放| 日本va欧美va精品| 91麻豆精品国产自产在线观看一区 | 精品一区二区免费在线观看| 在线成人高清不卡| 免费欧美在线视频| 精品国产1区2区3区|