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

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

?? imgbutton.h

?? STM32+Grlib
?? H
?? 第 1 頁 / 共 3 頁
字號:
                ImageButtonMsgProc                                           \
            },                                                               \
            ulStyle,                                                         \
            ulForeColor,                                                     \
            ulPressColor,                                                    \
            ulBackColor,                                                     \
            pFont,                                                           \
            pcText,                                                          \
            pucImage,                                                        \
            pucPressImage,                                                   \
            pucKeycapImage,                                                  \
            sXOff,                                                           \
            sYOff,                                                           \
            usAutoRepeatDelay,                                               \
            usAutoRepeatRate,                                                \
            0,                                                               \
            pfnOnClick                                                       \
        }

//*****************************************************************************
//
//! Declares an initialized variable containing a image 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 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 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).
//!
//! \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 ImageButton(sName, pParent, pNext, pChild, pDisplay, lX, lY,       \
                   lWidth, lHeight, ulStyle, ulForeColor, ulPressColor,    \
                   ulBackColor, pFont, pcText, pucImage, pucPressImage,    \
                   pucKeycapImage, sXOff, sYOff, usAutoRepeatDelay,        \
                   usAutoRepeatRate, pfnOnClick)                           \
        tImageButtonWidget sName =                                         \
            ImageButtonStruct(pParent, pNext, pChild, pDisplay, lX, lY,    \
                              lWidth, lHeight, ulStyle, ulForeColor,       \
                              ulPressColor, ulBackColor, pFont, pcText,    \
                              pucImage, pucPressImage, pucKeycapImage,     \
                              sXOff, sYOff, usAutoRepeatDelay,             \
                              usAutoRepeatRate, pfnOnClick)

//*****************************************************************************
//
//! Sets the auto-repeat delay for a image button widget.
//!
//! \param pWidget is a pointer to the image button widget to modify.
//! \param usDelay is the number of pointer events before auto-repeat starts.
//!
//! This function sets the delay before auto-repeat begins.  Unpredictable
//! behavior will occur if this is called while the image button is pressed.
//!
//! \return None.
//
//*****************************************************************************
#define ImageButtonAutoRepeatDelaySet(pWidget, usDelay)                 \
        do                                                              \
        {                                                               \
            tImageButtonWidget *pW = (tImageButtonWidget *)(pWidget);   \
            pW->usAutoRepeatDelay = usDelay;                            \
        }                                                               \
        while(0)

//*****************************************************************************
//
//! Disables auto-repeat for a image button widget.
//!
//! \param pWidget is a pointer to the image button widget to modify.
//!
//! This function disables the auto-repeat behavior of a image button.
//!
//! \return None.
//
//*****************************************************************************
#define ImageButtonAutoRepeatOff(pWidget)                               \
        do                                                              \
        {                                                               \
            tImageButtonWidget *pW = (tImageButtonWidget *)(pWidget);   \
            pW->ulStyle &= ~(IB_STYLE_AUTO_REPEAT);                     \
        }                                                               \
        while(0)

//*****************************************************************************
//
//! Enables auto-repeat for a image button widget.
//!
//! \param pWidget is a pointer to the image button widget to modify.
//!
//! This function enables the auto-repeat behavior of a image button.
//! Unpredictable behavior will occur if this is called while the image button
//! is pressed.
//!
//! \return None.
//
//*****************************************************************************
#define ImageButtonAutoRepeatOn(pWidget)                                \
        do                                                              \
        {                                                               \
            tImageButtonWidget *pW = (tImageButtonWidget *)(pWidget);   \
            pW->ulStyle |= IB_STYLE_AUTO_REPEAT;                        \
        }                                                               \
        while(0)

//*****************************************************************************
//
//! Sets the auto-repeat rate for a image button widget.
//!
//! \param pWidget is a pointer to the image button widget to modify.
//! \param usRate is the number of pointer events between auto-repeat events.
//!
//! This function sets the rate at which auto-repeat events occur.
//! Unpredictable behavior will occur if this is called while the image button
//! is pressed.
//!
//! \return None.
//
//*****************************************************************************
#define ImageButtonAutoRepeatRateSet(pWidget, usRate)                   \
        do                                                              \
        {                                                               \
            tImageButtonWidget *pW = (tImageButtonWidget *)(pWidget);   \
            pW->usAutoRepeatRate = usRate;                              \
        }                                                               \
        while(0)

//*****************************************************************************
//
//! Sets the function to call when this image button widget is pressed.
//!
//! \param pWidget is a pointer to the image button widget to modify.
//! \param pfnOnClik is a pointer to the function to call.
//!
//! This function sets the function to be called when this image button is
//! pressed.  The supplied function is called when the image button is first
//! pressed, and then repeated while the image button is pressed if auto-repeat
//! is enabled.
//!
//! \return None.
//
//*****************************************************************************
#define ImageButtonCallbackSet(pWidget, pfnOnClik)                      \
        do                                                              \
        {                                                               \
            tImageButtonWidget *pW = (tImageButtonWidget *)(pWidget);   \
            pW->pfnOnClick = pfnOnClik;                                 \
        }                                                               \
        while(0)

//*****************************************************************************
//
//! Sets the fill color of a image button widget.
//!
//! \param pWidget is a pointer to the image button widget to be modified.
//! \param ulColor is the 24-bit RGB color to use to fill the image button.
//!
//! This function changes the color used to fill the background of the image
//! button on the display.  This is a duplicate of ImageButtonBackgroundColorSet
//! which is left for backwards compatibility.  The display is not updated
//! until the next paint request.
//!
//! \return None.
//
//*****************************************************************************
#define ImageButtonFillColorSet(pWidget, ulColor)                       \
        do                                                              \
        {                                                               \
            tImageButtonWidget *pW = (tImageButtonWidget *)(pWidget);   \
            pW->ulBackgroundColor = ulColor;                            \
        }                                                               \
        while(0)

//*****************************************************************************
//
//! Disables filling of a image button widget.
//!
//! \param pWidget is a pointer to the image button widget to modify.
//!
//! This function disables the filling of a image button widget.  The display is
//! not updated until the next paint request.
//!
//! \return None.
//
//*****************************************************************************
#define ImageButtonFillOff(pWidget)                                     \
        do                                                              \
        {                                                               \
            tImageButtonWidget *pW = (tImageButtonWidget *)(pWidget);   \
            pW->ulStyle &= ~(IB_STYLE_FILL);                            \
        }                                                               \
        while(0)

//*****************************************************************************
//
//! Enables filling of a image button widget.
//!
//! \param pWidget is a pointer to the image button widget to modify.
//!
//! This function enables the filling of a image button widget.  The display is
//! not updated until the next paint request.
//!
//! \return None.
//
//*****************************************************************************
#define ImageButtonFillOn(pWidget)                                      \
        do                                                              \
        {                                                               \
            tImageButtonWidget *pW = (tImageButtonWidget *)(pWidget);   \
            pW->ulStyle |= IB_STYLE_FILL;                               \
        }                                                               \
        while(0)

//*****************************************************************************
//
//! Enables the background image for an image button widget.
//!
//! \param pWidget is a pointer to the image button widget to modify.
//!
//! This function enables the drawing of the background image on an image button
//! widget.  The display is not updated until the next paint request.
//!
//! \return None.
//
//*****************************************************************************
#define ImageButtonImageOn(pWidget)                                     \
        do                                                              \
        {                                                               \
            tImageButtonWidget *pW = (tImageButtonWidget *)(pWidget);   \
            pW->ulStyle &= ~(IB_STYLE_IMAGE_OFF);                       \
        }                                                               \
        while(0)

//*****************************************************************************
//
//! Disables the background image for an image button widget.
//!
//! \param pWidget is a pointer to the image button widget to modify.
//!
//! This function disables the drawing of the background image on an image
//! button widget.  The display is not updated until the next paint request.
//!
//! \return None.
//
//*****************************************************************************
#define ImageButtonImageOff(pWidget)                                    \
        do                                                              \
        {                                                               \
            tImageButtonWidget *pW = (tImageButtonWidget *)(pWidget);   \
            pW->ulStyle |= IB_STYLE_IMAGE_OFF;                          \
        }                                                               \
        while(0)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩一区二区电影在线| 最新日韩在线视频| 亚洲柠檬福利资源导航| 男人的天堂亚洲一区| 99re视频精品| 国产亚洲精品7777| 蜜臀av在线播放一区二区三区 | 欧美在线免费视屏| 国产拍欧美日韩视频二区| 五月婷婷综合激情| 91天堂素人约啪| 国产网站一区二区| 美女一区二区三区在线观看| 欧美亚洲综合网| 亚洲欧美另类久久久精品| 丁香婷婷综合激情五月色| 日韩三级精品电影久久久| 一区二区高清视频在线观看| 91亚洲精品一区二区乱码| 国产丝袜美腿一区二区三区| 久久国产精品露脸对白| 欧美一区二区观看视频| 午夜精品久久久| 欧美日韩高清在线| 亚洲一区二区欧美日韩| 91性感美女视频| 国产精品久久福利| 不卡一区二区在线| 中文字幕在线免费不卡| www.欧美亚洲| 亚洲啪啪综合av一区二区三区| 成人sese在线| 亚洲欧美韩国综合色| av亚洲精华国产精华精| 国产精品网站一区| 99国产一区二区三精品乱码| 亚洲欧洲中文日韩久久av乱码| 91麻豆精品在线观看| 亚洲激情图片qvod| 欧美体内she精高潮| 午夜国产精品一区| 日韩精品中午字幕| 国产成人在线看| 中文字幕国产一区二区| 91香蕉视频在线| 亚洲国产一区二区视频| 日韩一二三区视频| 国产麻豆9l精品三级站| 亚洲特级片在线| 欧美精品aⅴ在线视频| 麻豆精品视频在线| 欧美激情一区二区在线| 91免费视频观看| 日韩电影在线观看网站| 国产午夜精品美女毛片视频| 97成人超碰视| 免费成人在线观看视频| 欧美韩国日本综合| 欧美三级视频在线| 国产乱人伦精品一区二区在线观看 | 欧美激情一区三区| 91福利视频在线| 日韩不卡一区二区| 国产蜜臀av在线一区二区三区| 色婷婷久久久综合中文字幕 | 亚洲欧美日韩中文字幕一区二区三区| 日本道在线观看一区二区| 另类成人小视频在线| 国产精品国产自产拍高清av| 欧美日本国产一区| 国产成人av电影| 天堂一区二区在线免费观看| 亚洲国产成人一区二区三区| 欧美日韩三级视频| 99久久婷婷国产综合精品| 蜜臀91精品一区二区三区| 国产精品久久久一本精品| 欧美一区二区在线播放| www.欧美日韩国产在线| 麻豆成人综合网| 亚洲美女在线一区| 国产亚洲女人久久久久毛片| 欧美日本在线播放| 91免费版在线看| 国产suv一区二区三区88区| 日韩福利电影在线观看| 亚洲人成精品久久久久久| 久久久久久麻豆| 欧美色图激情小说| 91啦中文在线观看| 成人永久看片免费视频天堂| 日韩成人一级片| 亚洲五月六月丁香激情| 国产精品福利影院| 国产日韩视频一区二区三区| 欧美高清视频一二三区| 欧美综合久久久| 99riav久久精品riav| 成人综合激情网| 国产乱码精品一区二区三区av| 午夜精品福利在线| 亚洲动漫第一页| 亚洲精品国产成人久久av盗摄| 国产色婷婷亚洲99精品小说| 日韩久久久精品| 欧美一区二区观看视频| 91精品国产91热久久久做人人| 欧美亚洲尤物久久| 欧美天天综合网| 欧洲亚洲精品在线| 欧美亚一区二区| 欧美亚洲一区二区在线| 日本精品视频一区二区| 一本久久综合亚洲鲁鲁五月天 | 成人高清视频在线| 国产成人精品免费网站| 懂色中文一区二区在线播放| 国产成人免费在线观看不卡| 国产成人综合在线播放| 福利一区二区在线观看| 成人精品一区二区三区四区| 成人一区二区三区视频在线观看| 国产自产视频一区二区三区| 国产乱对白刺激视频不卡| 国产精品一卡二卡在线观看| 国产精品夜夜嗨| 不卡电影一区二区三区| 91麻豆精品视频| 欧美日本国产视频| 欧美va亚洲va国产综合| 久久久久成人黄色影片| 中文字幕一区二区不卡| 亚洲国产另类av| 美女免费视频一区二区| 国产精品一区三区| 色综合久久88色综合天天免费| 欧美性xxxxx极品少妇| 日韩视频在线观看一区二区| 久久影院电视剧免费观看| 国产精品久久久久永久免费观看 | 亚洲影视在线播放| 毛片av中文字幕一区二区| 国产高清不卡二三区| 99久久精品国产一区二区三区| 在线亚洲免费视频| 欧美大肚乱孕交hd孕妇| 亚洲三级在线看| 卡一卡二国产精品 | 99免费精品视频| 欧美精品在线观看播放| 国产色91在线| 亚洲1区2区3区视频| 成人一区在线看| 欧美一区二区三区视频免费播放| 国产视频一区二区在线观看| 亚洲永久精品大片| 国产91色综合久久免费分享| 欧美日韩一区国产| 中文字幕av一区二区三区高 | 福利电影一区二区三区| 欧美日韩国产天堂| 国产精品动漫网站| 久草精品在线观看| 欧美四级电影在线观看| 亚洲国产成人午夜在线一区| 免费av网站大全久久| 91首页免费视频| 欧美精品一区二区三区四区 | 国产夫妻精品视频| 欧美高清精品3d| 亚洲色图一区二区| 国产成人综合在线| 精品电影一区二区三区| 丝袜美腿亚洲色图| 日本电影亚洲天堂一区| 国产精品美女久久久久久2018| 开心九九激情九九欧美日韩精美视频电影| 99久久99久久精品免费观看| 久久久久99精品国产片| 久久精品久久久精品美女| 欧美日韩精品综合在线| 一区二区在线观看视频在线观看| 成人手机电影网| 国产亚洲一区二区在线观看| 免费三级欧美电影| 8x福利精品第一导航| 亚洲福利一二三区| 欧美无乱码久久久免费午夜一区| 亚洲日本韩国一区| 91老师片黄在线观看| 亚洲丝袜精品丝袜在线| av一区二区三区四区| 国产精品久久久久久久久久免费看 | 欧美高清在线精品一区| 国产精品影音先锋| 国产亚洲一区二区三区| 国产99精品国产| 亚洲国产精品二十页| 99久久国产综合精品女不卡| 国产精品国产三级国产三级人妇|