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

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

?? imgbutton.h

?? STM32+Grlib
?? H
?? 第 1 頁(yè) / 共 3 頁(yè)
字號(hào):
//*****************************************************************************
//
// imgbutton.h - Prototypes for the image 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 __IMGBUTTON_H__
#define __IMGBUTTON_H__

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

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

    //
    //! The color to use for foreground pixels when a 1bpp image or text is in
    //! use.  This value is ignored for all other image bit depths.
    //
    unsigned long ulForegroundColor;

    //
    //! The color to use for background pixels when the button is pressed
    //! and a 1bpp image is in use.  This value is ignored for all other image
    //! bit depths.  If IB_STYLE_FILL is specified, this is also the color that
    //! will be used to fill the widget when it is in the pressed state.
    //
    unsigned long ulPressedColor;

    //
    //! The color to use for background pixels when the button is released
    //! and a 1bpp image is in use.  This value is ignored for all other image
    //! bit depths.  If IB_STYLE_FILL is specified, this is also the color that
    //! will be used to fill the widget when it is in the unpressed state.
    //
    unsigned long ulBackgroundColor;

    //
    //! A pointer to the font used to render the button text, if
    //! IB_STYLE_TEXT is selected.
    //
    const tFont *pFont;

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

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

    //
    //! A pointer to the image to be drawn onto this image button when it is
    //! pressed.
    //
    const unsigned char *pucPressImage;

    //
    //! A pointer to the image to be drawn above the background image for
    //! the button.
    //
    const unsigned char *pucKeycapImage;

    //! The number of pixels to move the keycap image horizontally when the
    //! button is drawn in its pressed state.
    //
    short sXOffset;

    //
    //! The number of pixels to move the keycap image vertically when the
    //! button is drawn in its pressed state.
    //
    short sYOffset;

    //
    //! The number of pointer events to delay before starting to auto-repeat,
    //! if IB_STYLE_AUTO_REPEAT is selected.  The amount of time to which this
    //! corresponds is dependent upon the rate at which pointer events are
    //! generated by the pointer driver.
    //
    unsigned short usAutoRepeatDelay;

    //
    //! The number of pointer events between button presses generated by the
    //! auto-repeat function, if IB_STYLE_AUTO_REPEAT is selected.  The amount
    //! of time to which this corresponds is dependent up on the rate at which
    //! pointer events are generated by the pointer driver.
    //
    unsigned short usAutoRepeatRate;

    //
    //! The number of pointer events that have occurred.  This is used when
    //! IB_STYLE_AUTO_REPEAT is selected to generate the auto-repeat events.
    //
    unsigned long ulAutoRepeatCount;

    //
    //! A pointer to the function to be called when the button is pressed.
    //! This is repeatedly called when IB_STYLE_AUTO_REPEAT is selected.
    //
    void (*pfnOnClick)(tWidget *pWidget);
}
tImageButtonWidget;

//*****************************************************************************
//
//! This flag indicates that the image button should be filled.
//
//*****************************************************************************
#define IB_STYLE_FILL           0x00000002

//*****************************************************************************
//
//! This flag indicates that the image button should have text drawn on it.
//
//*****************************************************************************
#define IB_STYLE_TEXT           0x00000004

//*****************************************************************************
//
//! This flag indicates that the background image is to be disabled.
//
//*****************************************************************************
#define IB_STYLE_IMAGE_OFF      0x00000008

//*****************************************************************************
//
//! This flag indicates that the keycap image is to be disabled.
//
//*****************************************************************************
#define IB_STYLE_KEYCAP_OFF     0x00000010

//*****************************************************************************
//
//! This flag indicates that the image button should auto-repeat, generating
//! repeated click events while it is pressed.
//
//*****************************************************************************
#define IB_STYLE_AUTO_REPEAT    0x00000020

//*****************************************************************************
//
//! This flag indicates that the image button is pressed.
//
//*****************************************************************************
#define IB_STYLE_PRESSED        0x00000040

//*****************************************************************************
//
//! This flag indicates that the image button callback should be made when
//! the button is released rather than when it is pressed.  This does not
//! affect the operation of auto repeat buttons.
//
//*****************************************************************************
#define IB_STYLE_RELEASE_NOTIFY 0x00000080

//*****************************************************************************
//
//! Declares an initialized image 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 push
//! button.
//! \param lX is the X coordinate of the upper left corner of the image button.
//! \param lY is the Y coordinate of the upper left corner of the image button.
//! \param lWidth is the width of the image button.
//! \param lHeight is the height of the image button.
//! \param ulStyle is the style to be applied to the image button.
//! \param ulForeColor is the color to be used for foreground pixels when
//! a 1bpp image or text is being drawn.  It is ignored for all other image bit
//! depths.
//! \param ulPressColor is the color to be used for foreground pixels when
//! the button is pressed and a 1bpp image is being drawn.  It is ignored for
//! all other image bit depths.
//! \param ulBackColor is the color to be used for background pixels when
//! the button is released and a 1bpp image is being drawn.  It is ignored for
//! all other image bit depths.
//! \param pFont is a pointer to the font to be used to draw text on the button.
//! \param pcText is a pointer to the text to draw on this button.
//! \param pucImage is a pointer to the image to draw on the background of
//! this image button when it is in the released state.
//! \param pucPressImage is a pointer to the image to draw on the background of
//! this image button when it is in the pressed state.
//! \param pucKeycapImage is a pointer to the image to draw as the keycap of the
//! on top of the image button, on top of the background image.
//! \param sXOff is the horizontal offset to apply when drawing the keycap image
//! on the button when in the pressed state.
//! \param sYOff is the vertical offset to apply when drawing the keycap image
//! on the button when in the pressed state.
//! \param usAutoRepeatDelay is the delay before starting auto-repeat.
//! \param usAutoRepeatRate is the rate at which auto-repeat events are
//! generated.
//! \param pfnOnClick is a pointer to the function that is called when the push
//! button is pressed.
//!
//! This macro provides an initialized image 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
//!     tImageButtonWidget g_sImageButton = ImageButtonStruct(...);
//! \endverbatim
//!
//! Or, in an array of variables:
//!
//! \verbatim
//!     tImageButtonWidget g_psImageButtons[] =
//!     {
//!         ImageButtonStruct(...),
//!         ImageButtonStruct(...)
//!     };
//! \endverbatim
//!
//! \e ulStyle is the logical OR of the following:
//!
//! - \b #IB_STYLE_TEXT to indicate that text should be drawn on the button.
//! - \b #IB_STYLE_FILL to indicate that the background of the button should
//!   be filled with color.
//! - \b #IB_STYLE_KEYCAP_OFF to indicate that the keycap image should not be
//!   drawn.
//! - \b #IB_STYLE_IMAGE_OFF to indicate that the background image should not be
//!   drawn.
//! - \b #IB_STYLE_AUTO_REPEAT to indicate that auto-repeat should be used.
//! - \b #IB_STYLE_RELEASE_NOTIFY to indicate that the callback should be made
//!   when the button is released.  If absent, the callback is called when the
//!   button is initially pressed.
//!
//! \return Nothing; this is not a function.
//
//*****************************************************************************
#define ImageButtonStruct(pParent, pNext, pChild, pDisplay, lX, lY,          \
                          lWidth, lHeight, ulStyle, ulForeColor,             \
                          ulPressColor, ulBackColor, pFont, pcText, pucImage,\
                          pucPressImage, pucKeycapImage, sXOff, sYOff,       \
                          usAutoRepeatDelay, usAutoRepeatRate, pfnOnClick)   \
        {                                                                    \
            {                                                                \
                sizeof(tImageButtonWidget),                                  \
                (tWidget *)(pParent),                                        \
                (tWidget *)(pNext),                                          \
                (tWidget *)(pChild),                                         \
                pDisplay,                                                    \
                {                                                            \
                    lX,                                                      \
                    lY,                                                      \
                    (lX) + (lWidth) - 1,                                     \
                    (lY) + (lHeight) - 1                                     \
                },                                                           \

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
不卡的av电影| 成人av免费网站| 亚洲国产精品精华液ab| 欧美在线影院一区二区| 国产在线播精品第三| 亚洲青青青在线视频| 欧美不卡在线视频| 精品视频全国免费看| 99久久免费国产| 狠狠久久亚洲欧美| 日韩电影在线一区| 亚洲色大成网站www久久九九| 精品国产乱码久久久久久免费| 久久久久久免费网| 欧美色精品在线视频| 成人性色生活片| 国内外精品视频| 美女www一区二区| 亚洲国产日韩综合久久精品| 国产精品素人一区二区| 精品国产91洋老外米糕| 欧美日韩五月天| 91成人免费网站| 色系网站成人免费| 99精品国产99久久久久久白柏| 国产伦精品一区二区三区免费迷| 亚洲一级二级在线| 亚洲丝袜精品丝袜在线| 亚洲国产成人一区二区三区| 精品国产伦理网| 欧美电视剧在线观看完整版| 欧美日韩免费一区二区三区视频| 色婷婷av一区二区三区大白胸 | 国产激情视频一区二区在线观看 | 亚洲免费观看高清完整版在线观看熊 | 欧美精品99久久久**| 91福利小视频| 欧美综合视频在线观看| 99国产精品国产精品毛片| 成人app网站| 91视频国产资源| 色综合天天做天天爱| 91理论电影在线观看| 色综合久久综合| 欧美三级在线播放| 91精品久久久久久久99蜜桃| 欧美日韩久久不卡| 欧美一区午夜视频在线观看| 91精品国产福利在线观看| 日韩一级精品视频在线观看| 日韩一区二区麻豆国产| 欧美精品一区二区久久婷婷 | 精品卡一卡二卡三卡四在线| 日韩一区二区免费在线观看| 精品国产免费人成在线观看| 国产午夜精品一区二区三区四区| 国产欧美一区二区三区在线老狼| 欧美国产亚洲另类动漫| 最新不卡av在线| 午夜伊人狠狠久久| 老汉av免费一区二区三区| 国产成人精品影院| 97精品超碰一区二区三区| 亚洲国产成人高清精品| av在线不卡观看免费观看| 日本一区二区久久| 成人的网站免费观看| 久久久久亚洲蜜桃| 色综合天天综合色综合av| 欧美绝品在线观看成人午夜影视| 亚洲精品写真福利| 精品中文字幕一区二区小辣椒| 日本韩国欧美三级| 视频一区在线视频| 一本色道久久综合亚洲91| 国产麻豆精品久久一二三| jlzzjlzz国产精品久久| 欧美色区777第一页| 精品女同一区二区| 亚洲天堂福利av| 丝瓜av网站精品一区二区| 国产精品一区二区视频| 日本韩国精品一区二区在线观看| 日韩一区二区精品在线观看| 欧美韩日一区二区三区| 亚洲h在线观看| 国产精品99久久久久久有的能看| 日本道色综合久久| 精品国产一区久久| 亚洲美女偷拍久久| 韩国三级电影一区二区| 91精品办公室少妇高潮对白| www精品美女久久久tv| 亚洲一卡二卡三卡四卡五卡| 国产精品77777竹菊影视小说| 日本丶国产丶欧美色综合| 久久这里只有精品首页| 亚洲国产精品一区二区久久 | 日本伊人色综合网| 99精品欧美一区二区三区小说| 欧美精品一二三区| 亚洲特级片在线| 国产乱码字幕精品高清av| 精品视频免费在线| 日韩理论片中文av| 国产中文一区二区三区| 欧美一区二区三区在| 亚洲一区视频在线观看视频| 国产不卡视频一区二区三区| 欧美一二三四区在线| 夜夜揉揉日日人人青青一国产精品| 国产在线视频精品一区| 欧美一区二区视频观看视频| 亚洲午夜精品网| 色综合天天性综合| 久久久五月婷婷| 激情国产一区二区| 日韩午夜在线播放| 午夜欧美一区二区三区在线播放| 色综合中文字幕国产 | 麻豆视频观看网址久久| 欧美日韩国产综合视频在线观看| 日韩久久一区二区| av一本久道久久综合久久鬼色| 26uuu国产一区二区三区| 精品综合久久久久久8888| 欧美一区二区日韩一区二区| 亚洲高清中文字幕| 欧美色窝79yyyycom| 一区二区三区四区亚洲| 91香蕉视频黄| 中文字幕综合网| 91女厕偷拍女厕偷拍高清| 国产精品三级久久久久三级| 国产成a人亚洲精品| 日本一区二区视频在线观看| 丰满少妇在线播放bd日韩电影| 精品成人一区二区三区四区| 韩国理伦片一区二区三区在线播放| 欧美一二三四区在线| 激情综合网激情| 国产欧美精品日韩区二区麻豆天美| 狠狠狠色丁香婷婷综合激情 | 国产精品麻豆欧美日韩ww| 国产91高潮流白浆在线麻豆| 国产日产欧产精品推荐色| 国产乱码精品1区2区3区| 久久影院视频免费| 国产.欧美.日韩| 亚洲婷婷综合色高清在线| 日本精品一区二区三区四区的功能| 一级中文字幕一区二区| 欧美电影一区二区| 开心九九激情九九欧美日韩精美视频电影| 欧美一三区三区四区免费在线看| 日本成人中文字幕在线视频| 精品精品欲导航| 福利一区福利二区| 亚洲精品视频一区二区| 欧美美女bb生活片| 国模娜娜一区二区三区| 国产精品污网站| 在线免费视频一区二区| 蜜桃在线一区二区三区| 欧美国产视频在线| 欧日韩精品视频| 久久成人久久爱| 国产精品蜜臀在线观看| 欧美无乱码久久久免费午夜一区| 日韩av中文在线观看| 国产女同互慰高潮91漫画| 91色视频在线| 日本少妇一区二区| 中文字幕欧美区| 欧美日本免费一区二区三区| 国产一区二区0| 亚洲激情网站免费观看| 欧美大胆人体bbbb| 99国产精品一区| 日本三级亚洲精品| 亚洲精品va在线观看| 精品sm捆绑视频| 91视视频在线观看入口直接观看www| 婷婷综合五月天| 亚洲国产成人一区二区三区| 欧美伦理视频网站| 成人av网在线| 久草精品在线观看| 亚洲最大的成人av| 国产欧美一二三区| 91 com成人网| 91免费在线看| 国产91高潮流白浆在线麻豆 | 99国产欧美另类久久久精品| 麻豆freexxxx性91精品| 色哟哟在线观看一区二区三区| 日本成人中文字幕在线视频 | 麻豆久久一区二区| 亚洲色图都市小说| 久久久国产精品午夜一区ai换脸|