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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? radiobutton.h

?? STM32+Grlib
?? H
?? 第 1 頁 / 共 2 頁
字號:
//*****************************************************************************
//
// radiobutton.h - Prototypes for the radio button 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 __RADIOBUTTON_H__
#define __RADIOBUTTON_H__

//*****************************************************************************
//
//! \addtogroup radiobutton_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 radio button widget.
//
//*****************************************************************************
typedef struct
{
    //
    //! The generic widget information.
    //
    tWidget sBase;

    //
    //! The style for this radio button.  This is a set of flags defined by
    //! RB_STYLE_xxx.
    //
    unsigned short usStyle;

    //
    //! The size of the radio button itself, not including the text and/or
    //! image that accompanies it (in other words, the size of the actual
    //! circle that is filled or unfilled).
    //
    unsigned short usCircleSize;

    //
    //! The 24-bit RGB color used to fill this radio button, if RB_STYLE_FILL
    //! is selected, and to use as the background color if RB_STYLE_TEXT_OPAQUE
    //! is selected.
    //
    unsigned long ulFillColor;

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

    //
    //! The 24-bit RGB color used to draw text on this radio button, if
    //! RB_STYLE_TEXT is selected.
    //
    unsigned long ulTextColor;

    //
    //! The font used to draw the radio button text, if RB_STYLE_TEXT is
    //! selected.
    //
    const tFont *pFont;

    //
    //! A pointer to the text to draw on this radio button, if RB_STYLE_TEXT is
    //! selected.
    //
    const char *pcText;

    //
    //! A pointer to the image to be drawn onto this radio button, if
    //! RB_STYLE_IMG is selected.
    //
    const unsigned char *pucImage;

    //
    //! A pointer to the function to be called when the radio button is
    //! pressed.  This function is called when the state of the radio button is
    //! changed.
    //
    void (*pfnOnChange)(tWidget *pWidget, unsigned long bSelected);
}
tRadioButtonWidget;

//*****************************************************************************
//
//! This flag indicates that the radio button should be outlined.
//
//*****************************************************************************
#define RB_STYLE_OUTLINE        0x0001

//*****************************************************************************
//
//! This flag indicates that the radio button should be filled.
//
//*****************************************************************************
#define RB_STYLE_FILL           0x0002

//*****************************************************************************
//
//! This flag indicates that the radio button should have text drawn on it.
//
//*****************************************************************************
#define RB_STYLE_TEXT           0x0004

//*****************************************************************************
//
//! This flag indicates that the radio button should have an image drawn on it.
//
//*****************************************************************************
#define RB_STYLE_IMG            0x0008

//*****************************************************************************
//
//! This flag indicates that the radio button text should be drawn opaque (in
//! other words, drawing the background pixels as well as the foreground
//! pixels).
//
//*****************************************************************************
#define RB_STYLE_TEXT_OPAQUE    0x0010

//*****************************************************************************
//
//! This flag indicates that the radio button is selected.
//
//*****************************************************************************
#define RB_STYLE_SELECTED       0x0020

//*****************************************************************************
//
//! Declares an initialized radio button 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 radio
//! button.
//! \param lX is the X coordinate of the upper left corner of the radio button.
//! \param lY is the Y coordinate of the upper left corner of the radio button.
//! \param lWidth is the width of the radio button.
//! \param lHeight is the height of the radio button.
//! \param usStyle is the style to be applied to this radio button.
//! \param usCircleSize is the size of the circle that is filled.
//! \param ulFillColor is the color used to fill in the radio button.
//! \param ulOutlineColor is the color used to outline the radio button.
//! \param ulTextColor is the color used to draw text on the radio button.
//! \param pFont is a pointer to the font to be used to draw text on the radio
//! button.
//! \param pcText is a pointer to the text to draw on this radio button.
//! \param pucImage is a pointer to the image to draw on this radio button.
//! \param pfnOnChange is a pointer to the function that is called when the
//! radio button is pressed.
//!
//! This macro provides an initialized radio button 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
//!     tRadioButtonWidget g_sRadioButton = RadioButtonStruct(...);
//! \endverbatim
//!
//! Or, in an array of variables:
//!
//! \verbatim
//!     tRadioButtonWidget g_psRadioButtons[] =
//!     {
//!         RadioButtonStruct(...),
//!         RadioButtonStruct(...)
//!     };
//! \endverbatim
//!
//! \e usStyle is the logical OR of the following:
//!
//! - \b #RB_STYLE_OUTLINE to indicate that the radio button should be
//!   outlined.
//! - \b #RB_STYLE_FILL to indicate that the radio button should be filled.
//! - \b #RB_STYLE_TEXT to indicate that the radio button should have text
//!   drawn on it (using \e pFont and \e pcText).
//! - \b #RB_STYLE_IMG to indicate that the radio button should have an image
//!   drawn on it (using \e pucImage).
//! - \b #RB_STYLE_TEXT_OPAQUE to indicate that the radio button text should be
//!   drawn opaque (in other words, drawing the background pixels).
//! - \b #RB_STYLE_SELECTED to indicate that the radio button is selected.
//!
//! \return Nothing; this is not a function.
//
//*****************************************************************************
#define RadioButtonStruct(pParent, pNext, pChild, pDisplay, lX, lY, lWidth, \
                          lHeight, usStyle, usCircleSize, ulFillColor,      \
                          ulOutlineColor, ulTextColor, pFont, pcText,       \
                          pucImage, pfnOnChange)                            \
        {                                                                   \
            {                                                               \
                sizeof(tRadioButtonWidget),                                 \
                (tWidget *)(pParent),                                       \
                (tWidget *)(pNext),                                         \
                (tWidget *)(pChild),                                        \
                pDisplay,                                                   \
                {                                                           \
                    lX,                                                     \
                    lY,                                                     \
                    (lX) + (lWidth) - 1,                                    \
                    (lY) + (lHeight) - 1                                    \
                },                                                          \
                RadioButtonMsgProc                                          \
            },                                                              \
            usStyle,                                                        \
            usCircleSize,                                                   \
            ulFillColor,                                                    \
            ulOutlineColor,                                                 \
            ulTextColor,                                                    \
            pFont,                                                          \
            pcText,                                                         \
            pucImage,                                                       \
            pfnOnChange                                                     \
        }

//*****************************************************************************
//
//! Declares an initialized variable containing a radio button widget data
//! structure.
//!
//! \param sName is the name of the variable to be declared.
//! \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 radio
//! button.
//! \param lX is the X coordinate of the upper left corner of the radio button.
//! \param lY is the Y coordinate of the upper left corner of the radio button.
//! \param lWidth is the width of the radio button.
//! \param lHeight is the height of the radio button.
//! \param usStyle is the style to be applied to this radio button.
//! \param usCircleSize is the size of the circle that is filled.
//! \param ulFillColor is the color used to fill in the radio button.
//! \param ulOutlineColor is the color used to outline the radio button.
//! \param ulTextColor is the color used to draw text on the radio button.
//! \param pFont is a pointer to the font to be used to draw text on the radio
//! button.
//! \param pcText is a pointer to the text to draw on this radio button.
//! \param pucImage is a pointer to the image to draw on this radio button.
//! \param pfnOnChange is a pointer to the function that is called when the
//! radio button is pressed.
//!
//! This macro provides an initialized radio button 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).
//!
//! \e usStyle is the logical OR of the following:
//!
//! - \b #RB_STYLE_OUTLINE to indicate that the radio button should be
//!   outlined.
//! - \b #RB_STYLE_FILL to indicate that the radio button should be filled.
//! - \b #RB_STYLE_TEXT to indicate that the radio button should have text
//!   drawn on it (using \e pFont and \e pcText).
//! - \b #RB_STYLE_IMG to indicate that the radio button should have an image
//!   drawn on it (using \e pucImage).
//! - \b #RB_STYLE_TEXT_OPAQUE to indicate that the radio button text should be
//!   drawn opaque (in other words, drawing the background pixels).
//! - \b #RB_STYLE_SELECTED to indicate that the radio button is selected.
//!
//! \return Nothing; this is not a function.
//
//*****************************************************************************
#define RadioButton(sName, pParent, pNext, pChild, pDisplay, lX, lY, lWidth, \
                    lHeight, usStyle, usCircleSize, ulFillColor,             \
                    ulOutlineColor, ulTextColor, pFont, pcText, pucImage,    \
                    pfnOnChange)                                             \
        tRadioButtonWidget sName =                                           \
            RadioButtonStruct(pParent, pNext, pChild, pDisplay, lX, lY,      \
                              lWidth, lHeight, usStyle, usCircleSize,        \
                              ulFillColor, ulOutlineColor, ulTextColor,      \
                              pFont, pcText, pucImage, pfnOnChange)

//*****************************************************************************
//
//! Sets size of the circle to be filled.
//!
//! \param pWidget is a pointer to the radio button widget to modify.
//! \param usSize is the size of the circle, in pixels.
//!
//! This function sets the size of the circle that is drawn as part of the
//! radio button.
//!
//! \return None.
//
//*****************************************************************************
#define RadioButtonCircleSizeSet(pWidget, usSize) \
        do                                        \
        {                                         \
            tRadioButtonWidget *pW = pWidget;     \
            pW->usCircleSize = usSize;            \
        }                                         \
        while(0)

//*****************************************************************************
//
//! Sets the function to call when this radio button widget is toggled.
//!
//! \param pWidget is a pointer to the radio button widget to modify.
//! \param pfnOnChg is a pointer to the function to call.
//!
//! This function sets the function to be called when this radio button is
//! toggled.
//!
//! \return None.
//
//*****************************************************************************
#define RadioButtonCallbackSet(pWidget, pfnOnChg) \
        do                                        \
        {                                         \
            tRadioButtonWidget *pW = pWidget;     \
            pW->pfnOnChange = pfnOnChg;           \
        }                                         \
        while(0)

//*****************************************************************************
//
//! Sets the fill color of a radio button widget.
//!
//! \param pWidget is a pointer to the radio button widget to be modified.
//! \param ulColor is the 24-bit RGB color to use to fill the radio button.
//!

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品人在线二区三区| 色婷婷亚洲婷婷| 6080yy午夜一二三区久久| 亚洲成人自拍偷拍| 欧美日韩一级片网站| 亚洲国产成人高清精品| 欧美一区二区三区视频在线观看| 日本免费在线视频不卡一不卡二| 91精品欧美一区二区三区综合在| 蜜桃久久av一区| 国产亚洲人成网站| 91在线视频免费91| 亚州成人在线电影| 久久久精品国产免费观看同学| 丰满亚洲少妇av| 亚洲大片免费看| 久久嫩草精品久久久久| 91免费观看视频| 日本成人在线看| 国产视频一区在线观看| 91久久一区二区| 蜜臀av性久久久久蜜臀aⅴ流畅| 欧美精品一区二区三区四区| 不卡的电影网站| 免费xxxx性欧美18vr| 国产视频视频一区| 欧美中文字幕一区二区三区亚洲 | 国产亚洲欧美日韩日本| 色哟哟国产精品| 免费成人小视频| 亚洲免费在线电影| 精品久久人人做人人爱| 97久久久精品综合88久久| 午夜精品国产更新| 国产精品美女久久久久aⅴ| 欧美日韩一区二区电影| 国产精品中文欧美| 午夜精品久久久久久不卡8050 | 国产精品成人在线观看| 6080日韩午夜伦伦午夜伦| 不卡一区二区在线| 激情综合色综合久久| 亚洲欧美另类小说视频| 国产日韩欧美综合在线| 91精品国产综合久久精品麻豆| 99在线视频精品| 激情综合色播五月| 亚欧色一区w666天堂| 亚洲人xxxx| 国产肉丝袜一区二区| 日韩精品中文字幕一区二区三区| 91麻豆福利精品推荐| 国产成人一区在线| 国产在线观看一区二区| 丝袜诱惑制服诱惑色一区在线观看 | 欧美成人三级在线| 欧美日韩国产天堂| 91免费精品国自产拍在线不卡| 国产91丝袜在线18| 国产一区二区三区久久久| 美女一区二区在线观看| 午夜电影一区二区| 亚洲一区在线免费观看| 亚洲免费在线电影| 国产精品久久久久aaaa樱花| 久久久久九九视频| 国产天堂亚洲国产碰碰| 国产亚洲美州欧州综合国 | 国产日韩在线不卡| 国产人妖乱国产精品人妖| 精品国精品国产| 欧美草草影院在线视频| 日韩一区二区三区三四区视频在线观看| 97精品国产露脸对白| 99精品国产视频| 波多野结衣欧美| www.爱久久.com| 99riav一区二区三区| av动漫一区二区| 91社区在线播放| 色噜噜狠狠一区二区三区果冻| 91麻豆国产自产在线观看| 91丝袜美腿高跟国产极品老师 | 久久久久久毛片| 久久久午夜电影| 国产午夜亚洲精品羞羞网站| 国产欧美一区二区精品性色| 国产日产欧产精品推荐色| 国产精品久久久久一区| 亚洲色图丝袜美腿| 亚洲一区二区四区蜜桃| 日韩高清一区二区| 黄色小说综合网站| www.综合网.com| 在线免费视频一区二区| 在线不卡的av| 久久欧美中文字幕| 亚洲美女在线一区| 偷拍一区二区三区四区| 精一区二区三区| 成年人国产精品| 欧美日韩国产综合视频在线观看| 欧美一区二区黄| 国产欧美日产一区| 一区二区久久久久| 九色porny丨国产精品| 成人国产一区二区三区精品| 欧美性一区二区| 久久在线免费观看| 亚洲欧美另类久久久精品| 日本不卡123| 成人免费高清在线| 制服丝袜激情欧洲亚洲| 国产欧美日韩亚州综合| 亚洲sss视频在线视频| 狠狠色丁香久久婷婷综合_中| 不卡一卡二卡三乱码免费网站| 欧美日韩国产高清一区| 国产色一区二区| 婷婷激情综合网| 成人开心网精品视频| 5月丁香婷婷综合| 国产精品久久久久久久久免费丝袜 | 91精品国产麻豆国产自产在线| 国产农村妇女精品| 日韩国产欧美在线观看| 成人伦理片在线| 精品乱码亚洲一区二区不卡| 亚洲精品国产高清久久伦理二区| 久久精品99国产精品| 在线免费观看一区| 国产欧美综合在线观看第十页| 亚洲成人免费看| av一本久道久久综合久久鬼色| 日韩限制级电影在线观看| 亚洲精选免费视频| 国产aⅴ综合色| 日韩欧美激情一区| 夜色激情一区二区| 成人av手机在线观看| 精品少妇一区二区三区| 午夜一区二区三区在线观看| 成人美女在线视频| 久久久亚洲综合| 久久99精品国产.久久久久久 | 亚洲精品一二三四区| 国产**成人网毛片九色| 日韩免费一区二区三区在线播放| 一区二区三区在线不卡| 菠萝蜜视频在线观看一区| 久久久亚洲精品石原莉奈| 日韩av电影免费观看高清完整版 | 久久久久久久久久久久久女国产乱 | 中文字幕在线免费不卡| 国产一二三精品| 日韩欧美激情一区| 日韩二区三区四区| 欧美日韩精品一二三区| 亚洲午夜一二三区视频| 色网综合在线观看| 亚洲国产成人在线| 国产一级精品在线| 2022国产精品视频| 狠狠狠色丁香婷婷综合激情 | 欧美男同性恋视频网站| 亚洲一区二区欧美日韩| 欧美午夜寂寞影院| 亚洲一区二区三区小说| 在线这里只有精品| 亚洲一区日韩精品中文字幕| 色婷婷久久久亚洲一区二区三区 | 成人av免费在线观看| 中文字幕不卡一区| 国产 日韩 欧美大片| 中文字幕一区二区三区在线播放| 成人黄动漫网站免费app| 中文字幕亚洲成人| 97精品国产露脸对白| 一区二区三区四区激情| 在线观看不卡一区| 午夜视频在线观看一区二区三区| 欧美日韩国产a| 奇米影视在线99精品| 欧美成人一级视频| 国产成人av电影免费在线观看| 亚洲国产岛国毛片在线| 91麻豆产精品久久久久久 | 亚洲第一福利一区| 欧美一级生活片| 精品一区二区av| 国产目拍亚洲精品99久久精品| 99久久国产综合精品麻豆| 亚洲一区自拍偷拍| 日韩你懂的在线观看| 粉嫩高潮美女一区二区三区| 中文字幕日韩av资源站| 在线成人免费观看| 精品写真视频在线观看| 中文字幕一区二区在线观看| 欧美日韩国产片|