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

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

?? listbox.h

?? STM32+Grlib
?? H
?? 第 1 頁 / 共 3 頁
字號:
//*****************************************************************************
//
// listbox.h - Prototypes for the listbox widget.
//
// Copyright (c) 2008-2010 Texas Instruments Incorporated.  All rights reserved.
// Software License Agreement
// 
// Texas Instruments (TI) is supplying this software for use solely and
// exclusively on TI's microcontroller products. The software is owned by
// TI and/or its suppliers, and is protected under applicable copyright
// laws. You may not combine this software with "viral" open-source
// software in order to form a larger program.
// 
// THIS SOFTWARE IS PROVIDED "AS IS" AND WITH ALL FAULTS.
// NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT
// NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. TI SHALL NOT, UNDER ANY
// CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
// DAMAGES, FOR ANY REASON WHATSOEVER.
// 
// This is part of revision 5821 of the Stellaris Graphics Library.
//
//*****************************************************************************

#ifndef __LISTBOX_H__
#define __LISTBOX_H__

//*****************************************************************************
//
//! \addtogroup listbox_api
//! @{
//
//*****************************************************************************

//*****************************************************************************
//
// If building with a C++ compiler, make all of the definitions in this header
// have a C binding.
//
//*****************************************************************************
#ifdef __cplusplus
extern "C"
{
#endif

//*****************************************************************************
//
//! The structure that describes a listbox widget.
//
//*****************************************************************************
typedef struct
{
    //
    //! The generic widget information.
    //
    tWidget sBase;

    //
    //! The style for this widget.  This is a set of flags defined by
    //! LISTBOX_STYLE_xxx.
    //
    unsigned long ulStyle;

    //
    //! The 24-bit RGB color used as the background for the listbox.
    //
    unsigned long ulBackgroundColor;

    //
    //! The 24-bit RGB color used as the background for the selected entry
    //! in the listbox.
    //
    unsigned long ulSelectedBackgroundColor;

    //
    //! The 24-bit RGB color used to draw text on this listbox.
    //
    unsigned long ulTextColor;

    //
    //! The 24-bit RGB color used to draw the selected text on this listbox.
    //
    unsigned long ulSelectedTextColor;


    //
    //! The 24-bit RGB color used to outline this listbox, if
    //! LISTBOX_STYLE_OUTLINE is selected.
    //
    unsigned long ulOutlineColor;

    //
    //! A pointer to the font used to render the listbox text.
    //
    const tFont *pFont;

    //
    //! A pointer to the array of string pointers representing the contents of
    //! the list box.
    //
    const char **ppcText;

    //
    //! The number of elements in the array pointed to by pccText.
    //
    unsigned short usMaxEntries;

    //
    //! The number of elements in the array pointed to by pccText which are
    //! currently populated with strings.
    //
    unsigned short usPopulated;

    //
    //! The index of the string currently selected in the list box.  If no
    //! selection has been made, this will be set to 0xFFFF (-1).
    //
    short sSelected;

    //
    //! The index of the string that appears at the top of the list box.  This
    //! is used by the widget class to control scrolling of the box content.
    //! This is an internal variable and must not be modified by an application
    //! using this widget class.
    //
    unsigned short usStartEntry;

    //
    //! The index of the oldest entry in the ppcText array.  This is used by the
    //! widget class to determine where to add a new string if the array is
    //! full and the listbox has style LISTBOX_STYLE_WRAP.  This is an internal
    //! variable and must not be modified by an application using this widget
    //! class.
    //
    unsigned short usOldestEntry;

    //
    //! A flag which we use to determine whether to change the selected element
    //! when the pointer is lifted.  The listbox will change the selection if
    //! no scrolling was performed since the last WIDGET_MSG_PTR_DOWN was
    //! received.  This is an internal variable and must not be modified by
    //! an application using this widget class.
    //
    unsigned short usScrolled;

    //
    //! The Y coordinate of the last pointer position we received.  This is an
    //! internal variable used to manage scrolling of the listbox contents and
    //! must not be modified by an application using this widget class.
    //
    long lPointerY;

    //
    //! A pointer to the application-supplied callback function.  This function
    //! will be called each time the selected element in the list box changes.
    //! The sSelIndex parameter contains the index of the selected string in
    //! ppcText array or, if no element is selected, 0xFFFF (-1).
    //
    void (*pfnOnChange)(tWidget *pWidget, short sSelIndex);
}
tListBoxWidget;

//*****************************************************************************
//
//! This flag indicates that the listbox should be outlined.  If enabled, the
//! widget is drawn with a two pixel border, the outer, single pixel rectangle
//! of which is in the color found in the ulOutlineColor field of the widget
//! structure and the inner rectangle in color ulBackgroundColor.
//
//*****************************************************************************
#define LISTBOX_STYLE_OUTLINE    0x00000001

//*****************************************************************************
//
//! This flag indicates that the listbox is not interactive but merely displays
//! strings.  Scrolling of the listbox content is supported when this flag is
//! set but widgets using this style do not make callbacks to the application
//! and do not support selection and deselection of entries.  This may be used
//! if a listbox is intended, for example, as a text output or status reporting
//! control.
//
//*****************************************************************************
#define LISTBOX_STYLE_LOCKED     0x00000002

//*****************************************************************************
//
//! This flag controls the behavior of the listbox if a new string is added
//! when the string table (ppcText) is already full.  If this style is set, the
//! oldest string in the table is replaced with new one and, if the discarded
//! string was currently displayed, the display positions will be fixed up to
//! ensure that the (new) oldest string remains at the top of the listbox.  If
//! this style is not set, the attempt to set a new string will fail if the
//! table is full.
//
//*****************************************************************************
#define LISTBOX_STYLE_WRAP       0x00000004

//*****************************************************************************
//
//! Declares an initialized listbox widget data structure.
//!
//! \param pParent is a pointer to the parent widget.
//! \param pNext is a pointer to the sibling widget.
//! \param pChild is a pointer to the first child widget.
//! \param pDisplay is a pointer to the display on which to draw the listbox.
//! \param lX is the X coordinate of the upper left corner of the listbox.
//! \param lY is the Y coordinate of the upper left corner of the listbox.
//! \param lWidth is the width of the listbox.
//! \param lHeight is the height of the listbox.
//! \param ulStyle is the style to be applied to the listbox.
//! \param ulBgColor is the background color for the listbox.
//! \param ulSelBgColor is the background color for the selected element in the
//! listbox.
//! \param ulTextColor is the color used to draw text on the listbox.
//! \param ulSelTextColor is the color used to draw the selected element text
//! in the listbox.
//! \param ulOutlineColor is the color used to outline the listbox.
//! \param pFont is a pointer to the font to be used to draw text on the
//! listbox.
//! \param ppcText is a pointer to the string table for the listbox.
//! \param usMaxEntries provides the number of entries in the \e ppcText array
//! and represents the maximum number of strings the listbox can hold.
//! \param usPopulatedEntries indicates the number of entries in the \e ppcText
//! array that currently hold valid string for the listbox.
//! \param pfnOnChange is a pointer to the application callback for the listbox.
//!
//! This macro provides an initialized listbox widget data structure, which can
//! be used to construct the widget tree at compile time in global variables
//! (as opposed to run-time via function calls).  This must be assigned to a
//! variable, such as:
//!
//! \verbatim
//!     tListBoxWidget g_sListBox = ListBoxStruct(...);
//! \endverbatim
//!
//! Or, in an array of variables:
//!
//! \verbatim
//!     tListBoxWidget g_psListBox[] =
//!     {
//!         ListBoxStruct(...),
//!         ListBoxStruct(...)
//!     };
//! \endverbatim
//!
//! \e ulStyle is the logical OR of the following:
//!
//! - \b #LISTBOX_STYLE_OUTLINE to indicate that the listbox should be outlined.
//! - \b #LISTBOX_STYLE_LOCKED to indicate that the listbox should ignore user
//!   input and merely display its contents.
//! - \b #LISTBOX_STYLE_WRAP to indicate that the listbox should discard the
//!   oldest string it contains if asked to add a new string while the string

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品一区二区在线看| 精品一区二区三区久久久| 国产清纯在线一区二区www| 欧美成va人片在线观看| 91精品国产综合久久蜜臀| 欧美日精品一区视频| 欧美午夜电影网| 欧美日韩国产一级二级| 欧美日韩精品免费| 91精品国产色综合久久| 精品国产一区二区国模嫣然| 欧美大片在线观看一区| 国产欧美日韩在线观看| 国产精品午夜在线| 亚洲精品中文在线观看| 亚洲国产精品一区二区www在线 | 日本丶国产丶欧美色综合| 波多野结衣中文一区| 在线亚洲精品福利网址导航| 欧美羞羞免费网站| 精品国产一区二区三区av性色| 久久久高清一区二区三区| 国产精品萝li| 日韩一区精品字幕| 国产精品中文有码| 91久久国产最好的精华液| 欧美日韩极品在线观看一区| 337p粉嫩大胆噜噜噜噜噜91av| 欧美激情中文不卡| 香蕉成人伊视频在线观看| 精品一区二区免费看| 99久久精品国产麻豆演员表| 欧美日韩久久一区| 亚洲国产精品ⅴa在线观看| 亚洲一区二区黄色| 国产成人亚洲精品青草天美| 色婷婷av一区二区三区软件| 欧美一区二区三区日韩| 中文字幕成人网| 日韩经典中文字幕一区| 成人av第一页| www国产亚洲精品久久麻豆| 亚洲女女做受ⅹxx高潮| 国产一区在线视频| 欧美日韩激情一区二区三区| 日本一区二区三区在线不卡| 日本不卡视频在线| 一本一本大道香蕉久在线精品| 精品国产乱码久久久久久图片| 亚洲一区二区三区四区的| 国产成人日日夜夜| 日韩欧美美女一区二区三区| 亚洲成人一区二区在线观看| 成人av网站大全| 国产视频一区二区在线| 美脚の诱脚舐め脚责91| 欧美久久久久久久久久| 亚洲视频免费在线| 色欧美88888久久久久久影院| 欧美变态tickle挠乳网站| 亚洲成人av免费| 在线观看国产一区二区| 国产精品伦一区二区三级视频| 激情久久五月天| 4438x成人网最大色成网站| 亚洲一级在线观看| 在线日韩国产精品| 亚洲欧洲日韩在线| www.亚洲色图| 亚洲日本一区二区| 97精品久久久久中文字幕| 中文无字幕一区二区三区| 国产精品一区二区在线看| 久久美女艺术照精彩视频福利播放| 日韩电影一区二区三区| 制服丝袜亚洲色图| 免播放器亚洲一区| 精品国产污网站| 国产成人午夜视频| 国产欧美日韩在线| 91丨国产丨九色丨pron| 中文字幕佐山爱一区二区免费| 成人久久久精品乱码一区二区三区| 久久免费视频一区| 成人教育av在线| 亚洲人成7777| 91精品国产综合久久精品app| 日韩成人午夜电影| 久久久噜噜噜久久中文字幕色伊伊| 国产一区欧美二区| 综合欧美一区二区三区| 欧美在线综合视频| 久久国产人妖系列| 欧美国产国产综合| 欧美在线观看你懂的| 日韩高清欧美激情| 久久嫩草精品久久久精品| 成人福利在线看| 亚洲综合无码一区二区| 91精品国产综合久久久久久漫画| 精品一区二区三区影院在线午夜| 国产日韩精品一区二区浪潮av| eeuss鲁片一区二区三区在线看| 亚洲一区在线观看免费观看电影高清| 欧美日韩亚洲综合在线| 久久精品国产99久久6| 国产精品网站在线| 在线视频欧美精品| 国产乱理伦片在线观看夜一区| 亚洲伦在线观看| 欧美一级午夜免费电影| 成人免费观看视频| 日韩精品电影在线观看| 国产精品久久毛片a| 日韩一区二区三区观看| 99久久99久久精品免费看蜜桃| 欧美a一区二区| 亚洲丝袜制服诱惑| 337p粉嫩大胆噜噜噜噜噜91av| 在线亚洲人成电影网站色www| 毛片不卡一区二区| 一区二区激情小说| 国产三级精品视频| 91精品国产91综合久久蜜臀| 成人久久视频在线观看| 黄网站免费久久| 亚洲一区在线观看网站| 国产精品国产自产拍高清av王其| 日韩一级大片在线观看| 欧美性猛交xxxx乱大交退制版| 国产白丝网站精品污在线入口| 免费成人小视频| 亚洲18色成人| 一区二区三区在线视频免费观看| 精品久久久久久久久久久久久久久久久 | 在线观看国产91| 国产高清精品在线| 另类小说综合欧美亚洲| 亚洲专区一二三| 一区二区三区在线免费| 中文字幕一区在线观看| 国产三级久久久| 久久久久国产精品麻豆ai换脸| 日韩一区二区三区av| 欧美日本乱大交xxxxx| 欧美色图免费看| 欧美日韩性生活| 欧美视频一区二区三区在线观看 | 免费在线观看不卡| 亚洲第一主播视频| 亚洲高清一区二区三区| 亚洲一区二区av电影| 亚洲午夜精品久久久久久久久| 一区二区三区产品免费精品久久75| 亚洲欧洲www| 中文字幕综合网| 亚洲另类春色国产| 夜色激情一区二区| 亚洲成人免费影院| 日本vs亚洲vs韩国一区三区二区 | 日韩亚洲欧美一区| 欧美成人女星排行榜| 亚洲精品一区二区精华| 久久品道一品道久久精品| 国产女人aaa级久久久级| 国产精品美女久久久久久久久 | 午夜在线成人av| 日本vs亚洲vs韩国一区三区二区| 日韩不卡一区二区| 经典三级视频一区| av在线不卡免费看| 欧美系列日韩一区| 日韩三级视频在线看| 国产午夜精品一区二区三区视频| 国产精品久久毛片a| 亚洲午夜久久久久久久久久久| 亚洲国产中文字幕在线视频综合| 日本中文字幕一区二区有限公司| 国内精品嫩模私拍在线| 成人一级视频在线观看| 欧美中文字幕亚洲一区二区va在线 | 国产精品免费视频观看| 亚洲男人天堂一区| 开心九九激情九九欧美日韩精美视频电影| 久久66热re国产| 99久久久无码国产精品| 欧美顶级少妇做爰| 欧美韩国日本不卡| 亚洲一区二区三区四区五区中文| 看国产成人h片视频| 91麻豆免费在线观看| 日韩亚洲欧美一区| 亚洲另类春色校园小说| 久久国内精品视频| 日本道精品一区二区三区| 精品捆绑美女sm三区| 亚洲另类中文字| 国产激情一区二区三区桃花岛亚洲| 91久久精品国产91性色tv| 欧美激情一区不卡|