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

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

?? scrollview.h

?? 這是針對 Linux (i386)平臺的 minigui 3.6.2 開發(fā)包(MiniGUI-Processes 運行模式)。
?? H
?? 第 1 頁 / 共 2 頁
字號:
/** * \file scrollview.h * \author Wei Yongming <ymwei@minigui.org> * \date 2001/12/29 *  \verbatim    Copyright (C) 2002-2005 Feynman Software.    Copyright (C) 1998-2002 Wei Yongming.    This file is part of MiniGUI, a compact cross-platform Graphics     User Interface (GUI) support system for real-time embedded systems.    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    If you are using MiniGUI for developing commercial, proprietary, or other    software not covered by the GPL terms, you must have a commercial license    for MiniGUI. Please see http://www.minigui.com/product/index.html for     how to obtain this. If you are interested in the commercial MiniGUI     licensing, please write to sales@minigui.com.  \endverbatim *//* * $Id: scrollview.h,v 1.2 2005/02/15 05:00:08 weiym Exp $ * *             MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks,  *                     and ThreadX version 1.6.x *             Copyright (C) 2002-2005 Feynman Software. *             Copyright (C) 1999-2002 Wei Yongming. */#ifndef _MGUI_CTRL_SCROLLVIEW_H#define _MGUI_CTRL_SCROLLVIEW_H #ifdef __cplusplusextern "C" {#endif  /* __cplusplus */    /**     * \addtogroup controls     * @{     */    /**     * \defgroup ctrl_scrollview ScrollView control     * @{     *     * Scrollview control is a scrollable window, which has a visible area and     * normally a larger content area, user can browse content area using scrollbar.     * Contents of the content area is totally user-defined, you can add controls in it,     * add customed listed items, or anything you want.     *     * In fact, you can build a control needing scrolled window support on scrollview.     *//** * \def CTRL_SCROLLVIEW * \brief The class name of scrollview control, uses this name to create a scrollable *        window that consists of items. * */#define CTRL_SCROLLVIEW           ("scrollview")/** * \def CTRL_SCROLLWND * \brief The class name of scrollwnd control, uses this name to create a scrollable *        window to which you can add controls. * */#define CTRL_SCROLLWND            ("scrollwnd")/** default container window procedure */MG_EXPORT int GUIAPI DefaultContainerProc (HWND hWnd, int message, WPARAM wParam, LPARAM lParam);/** scrollview item object, use this handle to access a scrollview item */typedef GHANDLE HSVITEM;/** * Structure which defines a container. */typedef struct _CONTAINERINFO{#if 0    DWORD       dwStyle;                /** style of the container */    DWORD       dwExStyle;              /** extended style of the container */    int         x, y, w, h;             /** position and size of the container */#endif    WNDPROC     user_proc;              /** user-defined window procedure of the container */    int         controlnr;              /** number of controls */    PCTRLDATA   controls;               /** pointer to control array */    DWORD       dwAddData;              /** additional data */} CONTAINERINFO;typedef CONTAINERINFO* PCONTAINERINFO;/**  * \fn DWORD mglist_get_item_adddata (GHANDLE hi) * \brief use this to get additional data from a list item in a control, such as *        scrollview and iconview. */MG_EXPORT DWORD mglist_get_item_adddata (GHANDLE hi);/**  * \fn DWORD scrollview_get_item_adddata (HSVITEM hsvi) * \brief use this to get additional data from scrollview item  */MG_EXPORT DWORD scrollview_get_item_adddata (HSVITEM hsvi);/** * \fn int scrollview_get_item_index (HWND hWnd, HSVITEM hsvi); * \brief to get item index */ MG_EXPORT int scrollview_get_item_index (HWND hWnd, HSVITEM hsvi);/** * \fn int scrollview_is_item_hilight (HWND hWnd, HSVITEM hsvi) * \brief to decide whether an item is the current hilighted item */MG_EXPORT BOOL scrollview_is_item_hilight (HWND hWnd, HSVITEM hsvi);/** * \fn int scrollview_is_item_selected (HSVITEM hsvi) * \brief to decide whether an item is a selected */MG_EXPORT BOOL scrollview_is_item_selected (HSVITEM hsvi);/** * \fn int scrollview_set_item_height (HWND hWnd, HSVITEM hsvi, int height) * \brief Sets the height of an item */MG_EXPORT int scrollview_set_item_height (HWND hWnd, HSVITEM hsvi, int height);/** * \var typedef void (* SVITEM_INITFUNC)(HWND hWnd, HSVITEM hsvi) * \brief Type of the scrollview item initialization callback procedure. * * \param hWnd handle of the scrollview control . * \param hsvi scrollview item handle. * * \return Zero on success; otherwise -1. */typedef int  (*SVITEM_INITFUNC)    (HWND hWnd, HSVITEM hsvi);/** * \var typedef void (* SVITEM_DESTROYFUNC)(HWND hWnd, HSVITEM hsvi) * \brief Type of the scrollview item destroy callback procedure. * * \param hWnd handle of the scrollview control . * \param hsvi scrollview item handle. */typedef void (*SVITEM_DESTROYFUNC) (HWND hWnd, HSVITEM hsvi);/** * \var typedef void (*SVITEM_DRAWFUNC)(HWND hWnd, HSVITEM hsvi, HDC hdc, RECT *rcDraw) * \brief Type of the scrollview item drawing callback procedure. * * \param hWnd handle of the scrollview control. * \param hsvi scrollview item handle. * \param hdc  drawing device context. * \param rcDraw drawing rect area. */typedef void (*SVITEM_DRAWFUNC) (HWND hWnd, HSVITEM hsvi, HDC hdc, RECT *rcDraw);/** * \var typedef int (*SVITEM_CMP) (HSVITEM hsvi1, HSVITEM hsvi2) * \brief Type of the scrollview item compare function */typedef int (*SVITEM_CMP) (HSVITEM hsvi1, HSVITEM hsvi2);/** structure of item operations */typedef struct _svitem_operations{    SVITEM_INITFUNC     initItem;     /** called when an scrollview item is created */    SVITEM_DESTROYFUNC  destroyItem;  /** called when an item is destroied */    SVITEM_DRAWFUNC     drawItem;     /** call this to draw an item */} SVITEMOPS;typedef SVITEMOPS* PSVITEMOPS;/** structure of the scrollview item info */typedef struct _SCROLLVIEWITEMINFO{    int        nItem;           /** index of item */    int        nItemHeight;     /** height of an item */    DWORD      addData;         /** item additional data */} SVITEMINFO;typedef SVITEMINFO* PSVITEMINFO;    /**     * \defgroup ctrl_scrollview_styles Styles of scrollview control     * @{     */#define SVS_NOTIFY              0x0001L#define SVS_UPNOTIFY            0x0002L#define SVS_AUTOSORT            0x0004L#define SVS_LOOP                0x0008L    /** @} end of ctrl_scrollview_styles */    /**     * \defgroup ctrl_scrollview_msgs Messages of scrollview control     * @{     *//** * \def SVM_ADDITEM * \brief adds an item in the scrollview. * * \code * SVM_ADDITEM * SVITEMINFO svii; * HSVITEM *phsvi; * * wParam = phsvi; * lParam = (LPARAM)&svii; * \endcode * * \param &svii pointer to a scrollview item information structure. * \param phsvi pointer to a HSVITEM var, used to store the item handle *              returned. * * \return index of the scrollview item on success; otherwise -1. */#define SVM_ADDITEM             0xF300/** * \def SVM_DELITEM * \brief deletes an item from the scrollview. * * \code * SVM_DELITEM * int nItem; * HSVITEM hsvi; * * wParam = (WPARAM)nItem; * lParam = (LPARAM)hsvi; * \endcode * * \param nItem scrollview item index to delete. *              If hsvi is not zero, nItem will be ignored. * \param hsvi scrollview item handle to delete. * * \return Zero on success; otherwise -1. */#define SVM_DELITEM             0xF301/** * \def SVM_SETITEMDRAW * \brief sets the drawing operation of an item. * * scrollview item drawing function will be called when doing with MSG_PAINT message, * scrollview window should define this function if it want to draw an customed item. * * \code * SVM_SETITEMDRAW * SVITEM_DRAWFUNC pfn; * * wParam = 0; * lParam = (LPARAM)pfn; * \endcode * * \param pfn scrollview item drawing function. * * \return old drawing function pointer; otherwise 0. */#define SVM_SETITEMDRAW         0xF302/** * \def SVM_ADDCTRLS * \brief adds controls to the scrollview. * * \code * SVM_ADDCTRLS * int itemNr; * PCTRLDATA pctrls; * * wParam = (WPARAM)itemNr; * lParam = (LPARAM)pctrls; * \endcode * * \param ctrlNr control number in the pctrls control array. * \param pctrls points to a CTRLDATA array that defines controls. * * \return Zero on success; otherwise -1. */#define SVM_ADDCTRLS            0xF303/** * \def SVM_SETCONTWIDTH * \brief sets the scrollview content area (scrollable area) width. * * scrollable area of a scrolled window is always larger than the visible area. * * \code * SVM_SETCONTWIDTH * int cont_w; * * wParam = cont_w; * lParam = 0; * \endcode * * \param cont_w scrollview content width. * * \return Zero on success; otherwise -1. */#define SVM_SETCONTWIDTH        0xF306/** * \def SVM_SETCONTHEIGHT * \brief sets the scrollview content area (scrollable area) height. * * scrollable area of a scrolled window is always larger than the visible area. * * \code * SVM_SETCONTHEIGHT * int cont_h; * * wParam = cont_h; * lParam = 0; * \endcode * * \param cont_h scrollview content height. * * \return Zero on success; otherwise -1. */#define SVM_SETCONTHEIGHT       0xF307/** * \def SVM_GETCTRL * \brief gets the control handle in the scrollview window by control id. * * \code * SVM_GETCTRL * int id; * * wParam = id; * lParam = 0; * \endcode * * \param id control id. * * \return control window handle on success; otherwise 0. */#define SVM_GETCTRL             0xF308/** * \def SVM_RESETCONTENT * \brief clears all the controls and the items added to the scrollview window. * * \code * SVM_RESETCONTENT * * wParam = 0; * lParam = 0; * \endcode * * \return Zero on success; otherwise -1. */#define SVM_RESETCONTENT        0xF309/** * \def SVM_SETITEMOPS * \brief sets the item operations of the items in the scrollview. * * normally item operations should be set before adding items. * * \code * SVM_SETITEMOPS * SVITEMOPS *iop; * * wParam = 0; * lParam = (LPARAM)iop; * \endcode * * \param iop points to a SVITEMOPS structure that defines item operations * * \return Zero on success; otherwise -1. */#define SVM_SETITEMOPS          0xF30a/** * \def SVM_GETMARGINS * \brief Gets the margin values of the scrollview. * * Application should use a RECT structure to get left, top, right, and bottom margins. * * \code * SVM_GETMARGINS * RECT rcMargin; * * wParam = 0; * lParam = (LPARAM)&rcMargin; * \endcode * * \param rcMargin a RECT for storing 4 margin values. * * \return 0 on success. */#define SVM_GETMARGINS            0xF30b/** * \def SVM_SETMARGINS * \brief Sets the margin values of the scrollview. * * Application should use a RECT structure to give left, top, right, and bottom margins. * If you want to change a margin value, give a value large than zero, or else -1. * * \code * SVM_SETMARGINS * RECT *rcMargin; * * wParam = 0; * lParam = (LPARAM)rcMargin; * \endcode * * \param rcMargin a RECT Containing 4 margin values. * * \return 0 on success. */#define SVM_SETMARGINS            0xF311/** * \def SVM_GETLEFTMARGIN * \brief Gets the left margin value of the scrollview. * * \code * SVM_GETLEFTMARGIN * * wParam = 0; * lParam = 0; * \endcode * * \return Left margin value on success, otherwise -1. */#define SVM_GETLEFTMARGIN         0xF312/** * \def SVM_GETTOPMARGIN * \brief Gets the top margin value of the scrollview. * * \code * SVM_GETTOPMARGIN * * wParam = 0; * lParam = 0; * \endcode * * \return Top margin value on success, otherwise -1. */#define SVM_GETTOPMARGIN          0xF313/** * \def SVM_GETRIGHTMARGIN * \brief Gets the right margin value of the scrollview. * * \code * SVM_GETRIGHTMARGIN * * wParam = 0; * lParam = 0; * \endcode * * \return Right margin value on success, otherwise -1. */#define SVM_GETRIGHTMARGIN        0xF314/** * \def SVM_GETBOTTOMMARGIN * \brief Gets the bottom margin value of the scrollview. * * \code * SVM_GETBOTTOMMARGIN * * wParam = 0; * lParam = 0; * \endcode * * \return Bottom margin value on success, otherwise -1. */#define SVM_GETBOTTOMMARGIN       0xF315/** * \def SVM_GETVISIBLEWIDTH * \brief Gets the width of the visible content area. * * \code * SVM_GETVISIBLEWIDTH * * wParam = 0; * lParam = 0; * \endcode * * \return Width of the visible content area on success, otherwise -1. */#define SVM_GETVISIBLEWIDTH       0xF316/** * \def SVM_GETVISIBLEHEIGHT * \brief Gets the height of the visible content area. * * \code * SVM_GETVISIBLEHEIGHT * * wParam = 0; * lParam = 0; * \endcode * * \return Height of the visible content area on success, otherwise -1. */#define SVM_GETVISIBLEHEIGHT      0xF317/** * \def SVM_GETCONTWIDTH * \brief Gets the width of the content area. * * \code * SVM_GETCONTWIDTH * * wParam = 0; * lParam = 0; * \endcode * * \return Width of the content area on success, otherwise -1. */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产欧美日韩一区二区三区在线观看 | 国产成人免费视频一区| 国产福利一区二区| 欧美亚洲自拍偷拍| 久久久久久久久久久久电影| 亚洲国产成人av网| 成人av高清在线| 欧美一区二区在线免费观看| 中文字幕综合网| 久久99热99| 欧美精品乱码久久久久久按摩| 中文字幕免费一区| 免费日本视频一区| 欧美性淫爽ww久久久久无| 中文字幕欧美三区| 精品中文av资源站在线观看| 91视视频在线观看入口直接观看www | 久久精品男人的天堂| 婷婷久久综合九色综合伊人色| 国产成人免费av在线| 日韩三级视频在线看| 亚洲一区二区三区精品在线| 99免费精品视频| 精品88久久久久88久久久| 亚洲大片一区二区三区| 91无套直看片红桃| 国产精品区一区二区三| 国产在线国偷精品免费看| 555www色欧美视频| 午夜精品国产更新| 欧美午夜在线观看| 亚洲一区在线视频观看| 一本大道久久a久久综合| 国产亚洲成aⅴ人片在线观看 | 日韩一区二区三区在线| 亚洲福中文字幕伊人影院| 91免费观看视频| 国产精品久久久久久久午夜片| 国产精品亚洲一区二区三区在线 | 看片网站欧美日韩| 日韩一区二区三区免费看| 日韩精品成人一区二区三区| 欧美日韩一区二区三区四区| 亚洲国产另类精品专区| 精品视频全国免费看| 亚洲成人黄色影院| 欧美人妇做爰xxxⅹ性高电影| 亚洲一区二区三区在线看| 欧美日韩二区三区| 日韩精品一级二级| 日韩视频在线永久播放| 韩国精品在线观看| 国产欧美日韩视频在线观看| 高清不卡一二三区| 亚洲麻豆国产自偷在线| 欧美日韩国产小视频在线观看| 偷拍亚洲欧洲综合| 日韩精品一区二区三区中文精品| 久久国产精品色| 欧美激情在线观看视频免费| 99免费精品在线| 日韩精品乱码免费| 久久午夜老司机| 99精品视频中文字幕| 亚洲一二三区在线观看| 欧美大白屁股肥臀xxxxxx| 国产精品亚洲一区二区三区妖精| 中文字幕一区二区在线播放| 欧美日韩国产乱码电影| 激情久久久久久久久久久久久久久久| 国产调教视频一区| 色呦呦国产精品| 热久久免费视频| 亚洲国产精华液网站w| 欧美在线视频你懂得| 精油按摩中文字幕久久| 日韩理论片中文av| 在线播放中文字幕一区| 大尺度一区二区| 亚洲成人黄色影院| 中文无字幕一区二区三区| 欧美三级视频在线播放| 国产久卡久卡久卡久卡视频精品| 一区二区三区精品视频在线| 日韩精品一区二区三区三区免费| 成人国产电影网| 七七婷婷婷婷精品国产| 亚洲欧美综合网| 欧美电影免费观看高清完整版在| 成人高清免费观看| 久色婷婷小香蕉久久| 亚洲日本一区二区三区| 久久久久国色av免费看影院| 欧美久久高跟鞋激| 91一区一区三区| 国产福利一区二区三区| 天堂va蜜桃一区二区三区漫画版| 久久久久国产精品麻豆| 欧美午夜一区二区| 不卡的电影网站| 韩国成人在线视频| 秋霞av亚洲一区二区三| 伊人婷婷欧美激情| 国产精品久久久久久久岛一牛影视 | 日韩美女视频一区二区 | 青青青伊人色综合久久| 一区二区成人在线视频| 日韩美女视频19| 欧美经典三级视频一区二区三区| 日韩欧美专区在线| 5858s免费视频成人| 欧美日韩在线播| 色成人在线视频| 91香蕉视频黄| 91毛片在线观看| 成人app在线| 成人在线综合网| 国产成人免费在线观看不卡| 国产一区二区不卡在线 | 亚洲一二三四区| 依依成人综合视频| 一区二区三区影院| 洋洋av久久久久久久一区| 亚洲免费观看高清完整版在线| 国产精品国产三级国产aⅴ原创| 日本一区二区不卡视频| 国产精品国产a| 亚洲色图一区二区| 亚洲免费电影在线| 亚洲伊人色欲综合网| 亚洲一区自拍偷拍| 日韩一区欧美二区| 国产中文一区二区三区| 国产在线精品一区二区不卡了| 国产乱子轮精品视频| 丁香一区二区三区| 91网站最新网址| 欧美色偷偷大香| 欧美高清视频www夜色资源网| 欧美日韩精品高清| 精品国产免费视频| 国产欧美一区二区精品性色超碰| 国产精品网站在线观看| 一区二区中文视频| 视频在线观看一区二区三区| 午夜一区二区三区在线观看| 免费av成人在线| 成人一区二区在线观看| 色狠狠av一区二区三区| 777色狠狠一区二区三区| 欧美videofree性高清杂交| 中文字幕av不卡| 一区二区三区在线视频播放| 五月婷婷久久丁香| 国产成人福利片| 色偷偷久久人人79超碰人人澡| 欧美日韩国产a| 久久久久久黄色| 亚洲国产精品一区二区www| 久久爱另类一区二区小说| 菠萝蜜视频在线观看一区| 欧美亚洲综合久久| 国产日韩欧美一区二区三区乱码 | 国产喂奶挤奶一区二区三区| 亚洲欧美一区二区三区久本道91| 日韩激情视频网站| 不卡的av中国片| 777久久久精品| 亚洲视频一区在线观看| 久久99精品国产91久久来源 | 久久国产福利国产秒拍| 欧美电影免费提供在线观看| 国产精品视频一二三| 麻豆久久一区二区| 99re这里只有精品视频首页| 精品免费视频.| 午夜欧美视频在线观看| av动漫一区二区| 国产视频一区二区三区在线观看| 午夜久久久久久电影| www.av亚洲| 久久人人超碰精品| 日韩精品亚洲一区二区三区免费| 99久久er热在这里只有精品15| 欧美刺激脚交jootjob| 亚洲高清视频的网址| 91在线观看污| 久久久亚洲综合| 蜜桃视频在线观看一区二区| 欧美日韩综合在线| 亚洲欧洲成人精品av97| 国产高清在线精品| 日韩精品专区在线影院观看| 亚洲va天堂va国产va久| 99国产麻豆精品| 国产欧美日韩精品在线| 国产剧情一区在线| 精品粉嫩aⅴ一区二区三区四区| 日韩—二三区免费观看av| 精品污污网站免费看|