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

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

?? imgbutton.h

?? STM32+Grlib
?? H
?? 第 1 頁 / 共 3 頁
字號(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                                     \
                },                                                           \

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲国产成人在线| 欧美主播一区二区三区美女| 精品奇米国产一区二区三区| 美女视频黄免费的久久| 精品国产精品一区二区夜夜嗨| 精品一区二区三区视频在线观看| 亚洲精品一区二区三区99| 国产69精品久久久久毛片| 自拍偷自拍亚洲精品播放| 欧美在线一区二区| 日本vs亚洲vs韩国一区三区 | 麻豆国产欧美日韩综合精品二区| 日韩精品一区二区三区在线观看 | 一区二区视频在线| 欧美欧美欧美欧美首页| 精品在线一区二区| 国产精品初高中害羞小美女文| 色综合久久88色综合天天免费| 婷婷久久综合九色国产成人| 久久久噜噜噜久久中文字幕色伊伊| 成人性生交大片免费看在线播放| 亚洲黄色性网站| 欧美xxxx老人做受| 99久久精品免费看国产免费软件| 亚洲丰满少妇videoshd| 久久免费看少妇高潮| 在线免费视频一区二区| 国产美女一区二区| 亚洲午夜视频在线观看| 久久婷婷成人综合色| 91福利在线导航| 国产成人日日夜夜| 亚欧色一区w666天堂| 中文在线免费一区三区高中清不卡| 欧美日韩精品系列| 9人人澡人人爽人人精品| 亚洲sss视频在线视频| 欧美极品美女视频| 欧美一区二区视频在线观看2020 | 亚洲免费观看高清完整版在线观看熊| 欧美一三区三区四区免费在线看| 99热在这里有精品免费| 精品在线一区二区| 丝袜美腿亚洲一区二区图片| 国产精品久久久久久亚洲毛片| 日韩女优电影在线观看| 欧美午夜影院一区| 91网站在线播放| 国产黄色精品视频| 蜜桃精品在线观看| 亚洲一区二区三区激情| 国产精品久久久久aaaa| 久久久国产综合精品女国产盗摄| 欧美高清hd18日本| 欧美亚洲禁片免费| 99re视频精品| 成人午夜在线播放| 久久成人羞羞网站| 美女在线观看视频一区二区| 亚洲一二三四在线| 亚洲精品ww久久久久久p站| 国产精品免费看片| 中文字幕第一区| 日本一区二区三区久久久久久久久不 | 国产丝袜美腿一区二区三区| 91麻豆精品国产综合久久久久久| 91久久精品国产91性色tv| 国产成人一级电影| 国产精品亚洲第一区在线暖暖韩国| 免费久久99精品国产| 奇米一区二区三区| 男女性色大片免费观看一区二区| 肉肉av福利一精品导航| 日日摸夜夜添夜夜添国产精品| 亚洲一区二区欧美| 香蕉av福利精品导航| 天天av天天翘天天综合网| 亚洲va欧美va人人爽| 天天操天天色综合| 蜜桃久久精品一区二区| 国内精品久久久久影院色| 精品一区二区三区在线观看| 国内精品免费**视频| 丁香婷婷综合色啪| av一区二区三区在线| 99精品视频在线观看免费| 色香蕉久久蜜桃| 欧美日韩一区国产| 日韩视频123| 亚洲精品一区二区精华| 国产清纯美女被跳蛋高潮一区二区久久w| 久久亚洲私人国产精品va媚药| 国产亚洲精品资源在线26u| 国产精品理伦片| 亚洲男人电影天堂| 青青草原综合久久大伊人精品优势| 精品无人区卡一卡二卡三乱码免费卡 | 欧美精品一区二区在线播放 | 日韩视频在线一区二区| 亚洲精品一区二区三区在线观看 | 国产亚洲精品免费| 亚洲免费av观看| 天天色综合天天| 国产激情偷乱视频一区二区三区| 91蜜桃免费观看视频| 欧美日韩一区二区欧美激情| 精品国产自在久精品国产| 国产精品日日摸夜夜摸av| 成人欧美一区二区三区白人| 亚洲福利视频一区二区| 韩国三级中文字幕hd久久精品| 99国产麻豆精品| 日韩一区二区中文字幕| 国产精品二区一区二区aⅴ污介绍| 亚洲一区在线观看免费观看电影高清| 美女一区二区视频| 色综合色狠狠天天综合色| 欧美一级高清大全免费观看| 国产精品天美传媒沈樵| 天天综合色天天综合| jlzzjlzz亚洲日本少妇| 欧美一区二区三区视频在线| 中文字幕永久在线不卡| 美女国产一区二区| 91久久精品网| 国产精品久久久久影院亚瑟| 男人的j进女人的j一区| 色偷偷久久人人79超碰人人澡 | 国产美女视频一区| 欧美视频精品在线观看| 国产精品国模大尺度视频| 久久99久久精品欧美| 欧美日韩一区二区三区视频| 国产精品成人午夜| 精品一区二区三区在线播放| 欧美日韩不卡一区| 亚洲精品美国一| 国产成人在线看| 亚洲精品在线电影| 日韩成人av影视| 欧美性生活久久| 中文字幕亚洲综合久久菠萝蜜| 六月丁香婷婷久久| 欧美二区乱c少妇| 亚洲免费资源在线播放| 成人一区在线看| 久久久亚洲国产美女国产盗摄| 视频精品一区二区| 欧美日韩精品一区二区天天拍小说| 一色桃子久久精品亚洲| 国产suv精品一区二区883| 久久免费美女视频| 国产一区二区主播在线| 精品国产精品一区二区夜夜嗨| 日本va欧美va瓶| 日韩视频永久免费| 麻豆91免费观看| 日韩一区二区免费电影| 日韩激情一区二区| 666欧美在线视频| 日本不卡视频在线观看| 欧美一级国产精品| 老司机精品视频一区二区三区| 69精品人人人人| 日韩va欧美va亚洲va久久| 欧美久久一二区| 日韩中文字幕亚洲一区二区va在线| 欧美无砖砖区免费| 同产精品九九九| 日韩欧美区一区二| 国产伦精品一区二区三区免费| 久久久久亚洲综合| gogogo免费视频观看亚洲一| 国产精品美女久久久久aⅴ | 韩国午夜理伦三级不卡影院| 久久影音资源网| 国产一区二区精品久久| 欧美韩国日本综合| 99久久婷婷国产精品综合| 亚洲精品午夜久久久| 欧美日韩mp4| 国内精品在线播放| 成人欧美一区二区三区小说| 欧美性大战久久久久久久| 日韩**一区毛片| 久久九九久久九九| 色欧美乱欧美15图片| 免费不卡在线观看| 中文字幕不卡在线| 在线观看一区日韩| 蜜臀av一级做a爰片久久| 久久午夜国产精品| 91丨porny丨首页| 天天av天天翘天天综合网| 久久综合色鬼综合色| 91在线精品秘密一区二区| 午夜国产不卡在线观看视频| 26uuu久久综合| 色综合久久九月婷婷色综合| 日本成人中文字幕在线视频 |