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

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

?? control.h

?? 44b0處理器+UCOS操作系統+miniGUI源代碼
?? H
?? 第 1 頁 / 共 5 頁
字號:
/** * \file control.h * \author Wei Yongming <ymwei@minigui.org> * \date 2001/12/29 *  * This file includes interfaces of standard controls 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: control.h,v 1.107 2004/02/25 02:34:49 weiym Exp $ * *             MiniGUI for Linux, uClinux, eCos, and uC/OS-II version 1.5.x *             Copyright (C) 1999-2002 Wei Yongming. *             Copyright (C) 2002-2004 Feynman Software. */#ifndef _MGUI_CONTROL_H  #define _MGUI_CONTROL_H #ifdef __cplusplusextern "C" {#endif  /* __cplusplus *//************************** Control Helpers **********************************/    /**     * \addtogroup fns Functions     * @{     */    /**     * \addtogroup global_fns Global/general functions     * @{     */    /**     * \addtogroup misc_fns Miscellaneous functions     * @{     *//** * \fn Draw3DControlFrame (HDC hdc, int x0, int y0, int x1, int y1, gal_pixel fillc, BOOL updown) * \brief Draws a 3D style frame control.            * * \param hdc The handle to Drawing context. * \param x0  Specifies the x-coordinate of the upper-left corner. * \param y0  Specifies the y-coordinate of the upper-left corner. * \param x1  Specifies the x-coordinate of the lower-right corner.   * \param y1  Specifies the y-coordinate of the lower-right corner. * \param fillc Specifies the color to fill the frame. * \param updown Specifies the state of the frame control, ie. up or down.  * * \sa Draw3DControlFrame */void GUIAPI Draw3DControlFrame (HDC hdc, int x0, int y0, int x1, int y1,             gal_pixel fillc, BOOL updown);/** * \fn DrawFlatControlFrameEx(HDC hdc, int x0, int y0, int x1, int y1, gal_pixel fillc, int corner, BOOL updown) * \brief Draws a flat frame control with triangle corner. * * \param hdc The handle to Drawing context. * \param x0  Specifies the x-coordinate of the upper-left corner. * \param y0  Specifies the y-coordinate of the upper-left corner. * \param x1  Specifies the x-coordinate of the lower-right corner. * \param y1  Specifies the y-coordinate of the lower-right corner. * \param fillc Specifies the color to fill the frame. * \param corner Specifies the length of the edge of the triangle corner. * \param updown Specifies the state of the frame control, ie. up or down. * * \sa Draw3DControlFrame */void GUIAPI DrawFlatControlFrameEx (HDC hdc, int x0, int y0, int x1, int y1,             gal_pixel fillc, int corner, BOOL updown);/** * \def DrawFlatControlFrame(HDC hdc, int x0, int y0, int x1, int y1, gal_pixel fillc, BOOL updown) * \brief Draws a flat frame control.            * * \param hdc The handle to drawing context. * \param x0  Specifies the x-coordinate of the upper-left corner. * \param y0  Specifies the y-coordinate of the upper-left corner. * \param x1  Specifies the x-coordinate of the lower-right corner.   * \param y1  Specifies the y-coordinate of the lower-right corner. * \param fillc Specifies the color to fill the frame. * \param updown Specifies the state of the frame control, ie. up or down.  * * \note This function is actually a macro of DrawFlatControlFrameEx. * * \sa DrawFlatControlFrameEx */#define DrawFlatControlFrame(hdc, x0, y0, x1, y1, fillc, updown) \                 DrawFlatControlFrameEx(hdc, x0, y0, x1, y1, fillc, 3, updown);/** * \fn void GUIAPI NotifyParentEx (HWND hwnd, int id, int code, DWORD add_data) * \brief Sends a notification message to the parent. * * By default, the notification from a control will be sent to its parent * window within a MSG_COMMAND messsage. * * Since version 1.2.6, MiniGUI defines the Nofication Callback Procedure  * for control. You can specify a callback function for a control by calling * \a SetNotificationCallback to receive and handle the notification from  * the control. * * If you have defined the Notificaton Callback Procedure for the control, * calling NotifyParentEx will call the notification callback procedure, * not send the notification message to the parent. * * \param hwnd The handle to current control window. * \param id The identifier of current control. * \param code The notification code. * \param add_data The additional data of the notification. * * \sa SetNotificationCallback */void GUIAPI NotifyParentEx (HWND hwnd, int id, int code, DWORD add_data);/** * \def NotifyParent(hwnd, id, code) * \brief Sends a notification message to the parent,  *        but without additional data. * * \param hwnd The handle to current control window. * \param id The identifier of current control. * \param code The notification code. * * \note This function is actually a macro of NotifyParentEx with  *       \a dwAddData being zero. * * \sa NotifiyParentEx */#define NotifyParent(hwnd, id, code) \                NotifyParentEx(hwnd, id, code, 0)/** * \var typedef int (*STRCMP) (const char* s1, const char* s2, size_t n) * \brief Type of general strncmp function. * * The function compares the two strings \a s1 and \a s2. It returns * an integer less than, equal to, or greater than zero if  \a s1 is found, * respectively, to be less than, to match, or be greater than \a s2. * * Note that it only compares the first (at most) \a n characters of s1 and s2.  */typedef int (*STRCMP) (const char* s1, const char* s2, size_t n);    /** @} end of misc_fns */    /** @} end of global_fns */    /** @} end of fns */    /**     * \defgroup controls Standard controls     * @{     *//****** control messages *****************************************************//* NOTE: control messages start from 0xF000 to 0xFFFF */#define MSG_FIRSTCTRLMSG    0xF000#define MSG_LASTCTRLMSG     0xFFFF/****** Static Control ******************************************************/#ifdef _CTRL_STATIC    /**     * \defgroup ctrl_static Static control     * @{     *//** * \def CTRL_STATIC * \brief The class name of static control. */#define CTRL_STATIC         ("static")    /**     * \defgroup ctrl_static_styles Styles of static control     * @{     *//** * \def SS_LEFT * \brief Displays the given text flush-left. */#define SS_LEFT             0x00000000L/** * \def SS_CENTER  * \brief Displays the given text centered in the rectangle.  */#define SS_CENTER           0x00000001L/** * \def SS_RIGHT * \brief Displays the given text flush-right. */#define SS_RIGHT            0x00000002L/** * \def SS_ICON  * \brief Designates an icon displayed in the static control. */#define SS_ICON             0x00000003L/** * \def SS_BLACKRECT * \brief Specifies a rectangle filled with the black color. */#define SS_BLACKRECT        0x00000004L/** * \def SS_GRAYRECT * \brief Specifies a rectangle filled with the light gray color. */#define SS_GRAYRECT         0x00000005L/** * \def SS_WHITERECT * \brief Specifies a rectangle filled with the light white color. */#define SS_WHITERECT        0x00000006L/** * \def SS_BLACKFRAME * \brief Specifies a box with a frame drawn with the black color. */#define SS_BLACKFRAME       0x00000007L/** * \def SS_GRAYFRAME * \brief Specifies a box with a frame drawn with the light gray color. */#define SS_GRAYFRAME        0x00000008L/** * \def SS_WHITEFRAME * \brief Specifies a box with a frame drawn with the light gray color. */#define SS_WHITEFRAME       0x00000009L/** * \def SS_GROUPBOX * \brief Creates a rectangle in which other controls can be grouped. */#define SS_GROUPBOX         0x0000000AL/** * \def SS_SIMPLE  * \brief Designates a simple rectangle and displays a single line  *        of text flush-left in the rectangle. */#define SS_SIMPLE           0x0000000BL/** * \def SS_LEFTNOWORDWRAP * \brief Designates a simple rectangle and displays the given text  *        flush-left in the rectangle.  * * Tabs are expanded, but words are not wrapped.  * Text that extends past the end of a line is clipped. */#define SS_LEFTNOWORDWRAP   0x0000000CL#define SS_OWNERDRAW        0x0000000DL/** * \def SS_BITMAP * \brief Specifies that a bitmap will be displayed in the static control. */#define SS_BITMAP           0x0000000EL#define SS_ENHMETAFILE      0x0000000FL#define SS_TYPEMASK         0x0000000FL/** * \def SS_NOPREFIX * \brief Prevents interpretation of any ampersand (&) characters in  *        the control's text as accelerator prefix characters. * * \note Not implemented so far. */#define SS_NOPREFIX         0x00000080L/** * \def SS_NOTIFY * \brief Sends the parent window notification messages when the user  *        clicks or double-clicks the control. */#define SS_NOTIFY           0x00000100L/** * \def SS_CENTERIMAGE * \brief Puts the image in the center of the static control. *        Default is top-left aligned. */#define SS_CENTERIMAGE      0x00000200L/** * \def SS_REALSIZEIMAGE * \brief Does not scale the image. */#define SS_REALSIZEIMAGE    0x00000800L    /** @} end of ctrl_static_styles */        /**     * \defgroup ctrl_static_msgs Messages of static control     * @{     */#define STM_SETICON         0xF170#define STM_GETICON         0xF171/** * \def STM_SETIMAGE * \brief Associates a new image (icon or bitmap) with a static control. * * An application sends an STM_SETIMAGE message to  * associate a new image (icon or bitmap) with a static control. * * \code * STM_SETIMAGE * HICON image; *  or  * BITMAP* image; * * wParam = (WPARAM)image; * lParam = 0; * \endcode *  * \param image The handle to an icon if the type of static control type  *        is SS_ICON, or the pointer to a BITMAP object if the type is SS_BITMAP. * * \return The old image (handle or pointer). */#define STM_SETIMAGE        0xF172/** * \def STM_GETIMAGE * \brief Retrieves a handle to the image. * * An application sends an STM_GETIMAGE message to retrieve a handle  * to the image associated with a static control. * * \code * STM_GETIMAGE * wParam = 0; * lParam = 0; * \endcode * * \return The handle to the icon if the type of static control type is SS_ICON,  *         or the pointer to the BITMAP object if the type is SS_BITMAP. */#define STM_GETIMAGE        0xF173#define STM_MSGMAX          0xF174    /** @} end of ctrl_static_msgs */    /**     * \defgroup ctrl_static_ncs Notification codes of static control     * @{     *//** * \def STN_DBLCLK * \brief Notifies a double-click. * * The STN_DBLCLK notification message is sent when  * the user double-clicks a static control that has the SS_NOTIFY style. */#define STN_DBLCLK          1#define STN_ENABLE          2#define STN_DISABLE         3/** * \def STN_CLICKED * \brief Notifies that a static control is clicked. * * The STN_CLICKED notification message is sent  * when the user clicks a static control that has the SS_NOTIFY style. */#define STN_CLICKED         4    /** @} end of ctrl_static_ncs */    /** @} end of ctrl_static */#endif /* _CTRL_STATIC *//****** Button Control ******************************************************/#ifdef _CTRL_BUTTON    /**     * \defgroup ctrl_button Button control     * @{     *//** * \def CTRL_BUTTON * \brief The class name of button control. */#define CTRL_BUTTON         ("button")    /**     * \defgroup ctrl_button_styles Styles of button control     * @{     *//** * \def BS_PUSHBUTTON * \brief Creates a push button. */#define BS_PUSHBUTTON       0x00000000L/** * \def BS_DEFPUSHBUTTON * \brief Creates a push button that behaves like a BS_PUSHBUTTON style button.  * Creates a push button that behaves like a BS_PUSHBUTTON style button,  * but also has a heavy black border.  If the button is in a dialog box,  * the user can select the button by pressing the enter key,  * even when the button does not have the input focus.  * This style is useful for enabling the user to quickly select  * the most likely (default) option. */#define BS_DEFPUSHBUTTON    0x00000001L/** * \def BS_CHECKBOX * \brief Creates a small, empty check box with text. * * By default, the text is displayed to the right of the check box.  * To display the text to the left of the check box, combine this flag  * with the BS_LEFTTEXT style (or with the equivalent BS_RIGHTBUTTON style). */#define BS_CHECKBOX         0x00000002L/** * \def BS_AUTOCHECKBOX * \brief Creates a button that is almost the same as a check box. * * Creates a button that is the same as a check box,  * except that the check state automatically toggles between  * checked and unchecked each time the user selects the check box. */#define BS_AUTOCHECKBOX     0x00000003L/** * \def BS_RADIOBUTTON * \brief Creates a small circle with text. * * By default, the text is displayed to the right of the circle.  * To display the text to the left of the circle, combine this flag  * with the BS_LEFTTEXT style (or with the equivalent BS_RIGHTBUTTON style).  * Use radio buttons for groups of related, but mutually exclusive choices. */#define BS_RADIOBUTTON      0x00000004L/** * \def BS_3STATE * \brief Creates a button that is almost the same as a check box. *  * Creates a button that is the same as a check box, except  * that the box can be grayed as well as checked or unchecked. * Use the grayed state to show that the state of the check box  * is not determined. */#define BS_3STATE           0x00000005L/** * \def BS_AUTO3STATE * \brief Creates a button that is almost the same as a three-state check box. * * Creates a button that is the same as a three-state check box,  * except that the box changes its state when the user selects it. * The state cycles through checked, grayed, and unchecked. */#define BS_AUTO3STATE       0x00000006L#define BS_GROUPBOX         0x00000007L#define BS_USERBUTTON       0x00000008L/** * \def BS_AUTORADIOBUTTON * \brief Creates a button that is almost the same as a radio button. * 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美三级一区二区| 99精品在线免费| 亚洲国产成人午夜在线一区| 成人免费视频一区| 亚洲国产精品麻豆| 欧美不卡一区二区三区四区| 国产成人综合网| 亚洲成人一二三| 久久久久久久久久电影| 91麻豆精品一区二区三区| 日韩精品一级二级| 欧美国产一区二区在线观看| 欧美午夜精品免费| 国产乱淫av一区二区三区| 一区二区在线观看视频 | 国产乱理伦片在线观看夜一区| 中文字幕久久午夜不卡| 欧美日韩精品久久久| 国产精品456| 午夜精品久久久久久久| 欧美国产日韩精品免费观看| 欧美剧在线免费观看网站| 国产.欧美.日韩| 婷婷六月综合网| 亚洲同性gay激情无套| 日韩精品一区二区三区视频在线观看| 97久久人人超碰| 国产乱人伦偷精品视频不卡| 亚洲国产成人高清精品| 国产精品每日更新| 精品久久一区二区| 欧美日韩精品一二三区| 99久久er热在这里只有精品15| 看国产成人h片视频| 亚洲小少妇裸体bbw| 亚洲人成网站在线| 中文字幕精品一区二区三区精品| 日韩你懂的电影在线观看| 欧美日韩一二三| 高清不卡一区二区在线| 亚洲成人在线观看视频| 久久综合成人精品亚洲另类欧美 | 久久久久国产成人精品亚洲午夜| 欧美日韩精品欧美日韩精品一| 成人aa视频在线观看| 国产自产v一区二区三区c| 丝袜亚洲另类丝袜在线| 亚洲一区二区成人在线观看| 亚洲欧美日韩中文字幕一区二区三区 | 中文字幕一区二区三区在线不卡| 91麻豆精品91久久久久久清纯| www..com久久爱| 国产在线一区二区综合免费视频| 一区二区三区精品视频| 亚洲欧洲无码一区二区三区| 中文字幕av一区 二区| 久久精品日产第一区二区三区高清版 | 欧美日韩国产系列| 成人午夜av在线| 粉嫩蜜臀av国产精品网站| 福利一区福利二区| 成人高清av在线| 91一区在线观看| 日本高清不卡在线观看| 欧美中文字幕一区二区三区 | 国产尤物一区二区| 国产在线乱码一区二区三区| 国内精品写真在线观看| 国产一区二区三区在线观看免费 | 国产a久久麻豆| 波多野结衣91| 91捆绑美女网站| 在线精品视频一区二区| 91美女在线观看| 在线观看视频91| 欧美日韩一区在线观看| 色综合天天狠狠| 91久久人澡人人添人人爽欧美 | 国产精品自拍av| 粉嫩aⅴ一区二区三区四区| 99re热视频这里只精品| 欧美亚洲国产一区二区三区| 欧美精品在线观看播放| 久久网站热最新地址| 国产精品无码永久免费888| 中文字幕在线免费不卡| 中文字幕在线不卡一区二区三区| 亚洲色图视频免费播放| 亚洲午夜在线观看视频在线| 奇米精品一区二区三区在线观看一| 久久精品久久综合| 成人毛片老司机大片| 欧美午夜精品一区二区三区| 欧美不卡123| 亚洲人成精品久久久久久| 日本成人在线一区| 成人午夜视频福利| 欧美久久久一区| 中文字幕第一区| 午夜日韩在线电影| 国产成人av一区二区三区在线 | 国产精品538一区二区在线| 色8久久精品久久久久久蜜| 日韩精品一区国产麻豆| 日韩伦理av电影| 久久国产精品99精品国产| 色伊人久久综合中文字幕| 日韩精品资源二区在线| 亚洲欧美日韩国产一区二区三区| 毛片一区二区三区| 在线免费观看日本一区| 久久一区二区视频| 亚洲大片免费看| 美女视频黄久久| 欧美成人aa大片| 亚洲国产人成综合网站| 国产伦精品一区二区三区免费迷| 91视频在线观看| 国产亚洲精品久| 亚洲成人动漫在线观看| 成人精品在线视频观看| 欧美一区日本一区韩国一区| 成人免费在线视频观看| 国产综合色视频| 91精品国产高清一区二区三区蜜臀 | 亚洲成av人片在线| 99免费精品在线| 337p亚洲精品色噜噜狠狠| 亚洲午夜精品17c| 国产一区二区精品久久99| 欧美日韩精品免费观看视频| 亚洲情趣在线观看| 国产成人自拍网| 欧美不卡一区二区三区四区| 亚洲风情在线资源站| 91麻豆精品秘密| 国产精品久久夜| 国产成人在线视频播放| 欧美日韩在线直播| 最好看的中文字幕久久| 国产福利一区二区三区视频| 欧美午夜精品久久久久久孕妇| 中文字幕不卡在线播放| 丁香婷婷深情五月亚洲| 久久综合色一综合色88| 日韩不卡一二三区| 欧美色爱综合网| 亚洲一区日韩精品中文字幕| 91在线无精精品入口| 国产精品三级电影| 国产91综合一区在线观看| 国产欧美日韩综合| 国产成人精品免费| 欧美韩国日本不卡| 成人精品高清在线| 中文字幕av不卡| 成人免费av在线| 日韩毛片精品高清免费| 99久精品国产| 亚洲精品视频在线| 色狠狠色狠狠综合| 一区二区三区精品在线观看| 欧美中文一区二区三区| 国产精品美女久久久久高潮| 国产不卡视频一区二区三区| 亚洲精品在线观看网站| 国产在线播放一区三区四| 久久精品欧美一区二区三区不卡| 国产成人免费视频一区| 国产精品全国免费观看高清 | 一卡二卡三卡日韩欧美| 日韩欧美电影一区| 捆绑调教一区二区三区| 久久久久久一级片| 99久久精品免费看国产| 日本一区二区三级电影在线观看| 高清成人免费视频| 成人欧美一区二区三区小说| 日本韩国欧美三级| 视频一区视频二区中文| 精品国产乱码久久| 波多野结衣一区二区三区| 亚洲一卡二卡三卡四卡无卡久久| 欧美成人女星排行榜| 99国产精品久久久久久久久久| 日本一不卡视频| 国产精品乱码人人做人人爱 | 精品日韩一区二区三区免费视频| 不卡的看片网站| 久久国产欧美日韩精品| 中文字幕一区二区在线观看| 欧美不卡在线视频| 欧美性大战xxxxx久久久| 国内精品嫩模私拍在线| 亚洲123区在线观看| 中文字幕av在线一区二区三区| 日韩视频国产视频| 在线观看视频欧美| 高清在线不卡av| 久久国产麻豆精品|