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

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

?? jpgwidget.h

?? 基于TI公司Cortex-M3的uart超級通信開發
?? H
?? 第 1 頁 / 共 3 頁
字號:
//! - \b #JW_STYLE_OUTLINE to indicate that the JPEG widget should be outlined.
//! - \b #JW_STYLE_BUTTON to indicate that the JPEG widget should act as a
//!   button and that calls should be made to pfnOnClick when it is pressed or
//!   released (depending upon the state of \b #JW_STYLE_RELEASE_NOTIFY).
//!   If absent, the widget acts as a canvas which allows the image, if larger
//!   than the widget display area to be scrolled by dragging a finger on the
//!   touchscreen.  In this case, the pfnOnScroll callback will be called when
//!   any scrolling is needed.
//! - \b #JW_STYLE_TEXT to indicate that the JPEG widget should have text drawn
//!   on it (using \e pFont and \e pcText).
//! - \b #JW_STYLE_FILL to indicate that the JPEG widget should have its
//!   background filled with color (specified by \e ulFillColor).
//! - \b #JW_STYLE_SCROLL to indicate that the JPEG widget should be redrawn
//!   automatically each time the pointer is moved (touchscreen is dragged)
//!   rather than waiting for the gesture to end then redrawing once.  A client
//!   may chose to omit this style flag and call WidgetPaint() from within the
//!   pfnOnScroll callback at a rate deemed acceptable for the application.
//! - \b #JW_STYLE_LOCKED to indicate that the JPEG widget should ignore all
//!   user input and merely display the image.  If this flag is set,
//!   #JW_STYLE_SCROLL is ignored.
//! - \b #JW_STYLE_RELEASE_NOTIFY to indicate that the callback should be made
//!   when the button-style widget is released.  If absent, the callback is
//!   called when the widget is initially pressed.  This style flag is ignored
//!   unless \b #JW_STYLE_BUTTON is specified.
//!
//! \return Nothing; this is not a function.
//
//*****************************************************************************
#define JPEGWidgetStruct(pParent, pNext, pChild, pDisplay, lX, lY, lWidth,\
                         lHeight, ulStyle, ulFillColor, ulOutlineColor,   \
                         ulTextColor, pFont, pcText, pucImage, ulImgLen,  \
                         ucBorderWidth, pfnOnClick, pfnOnScroll, psInst)  \
        {                                                                 \
            {                                                             \
                sizeof(tJPEGWidget),                                      \
                (tWidget *)(pParent),                                     \
                (tWidget *)(pNext),                                       \
                (tWidget *)(pChild),                                      \
                pDisplay,                                                 \
                {                                                         \
                    lX,                                                   \
                    lY,                                                   \
                    (lX) + (lWidth) - 1,                                  \
                    (lY) + (lHeight) - 1                                  \
                },                                                        \
                JPEGWidgetMsgProc,                                        \
            },                                                            \
            ulStyle,                                                      \
            ulFillColor,                                                  \
            ulOutlineColor,                                               \
            ulTextColor,                                                  \
            pFont,                                                        \
            pcText,                                                       \
            pucImage,                                                     \
            ulImgLen,                                                     \
            ucBorderWidth,                                                \
            pfnOnClick,                                                   \
            pfnOnScroll,                                                  \
            psInst                                                        \
        }

//*****************************************************************************
//
//! Declares an initialized variable containing a JPEG button 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 JPEG widget.
//! \param lY is the Y coordinate of the upper left corner of the JPEG widget.
//! \param lWidth is the width of the JPEG widget.
//! \param lHeight is the height of the JPEG widget.
//! \param ulStyle is the style to be applied to the JPEG widget.
//! \param ulFillColor is the color used to fill in the JPEG widget.
//! \param ulOutlineColor is the color used to outline the JPEG widget.
//! \param ulTextColor is the color used to draw text on the JPEG widget.
//! \param pFont is a pointer to the font to be used to draw text on the push
//! button.
//! \param pcText is a pointer to the text to draw on this JPEG widget.
//! \param pucImage is a pointer to the compressed image to draw on this JPEG
//! widget.
//! \param ulImgLen is the length of the data pointed to by pucImage.
//! \param ucBorderWidth is the width of the border to paint if
//! \e JW_STYLE_OUTLINE is specified.
//! \param pfnOnClick is a pointer to the function that is called when the JPEG
//! button is pressed or released.
//! \param psInst is a pointer to a read/write tJPEGInst structure that the
//! widget can use for workspace.
//!
//! This macro provides an initialized JPEG 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).
//!
//! A JPEG button displays an image centered within the widget area and
//! sends OnClick messages to the client whenever a user presses or releases
//! the touchscreen within the widget area (depending upon the state of the
//! \e #JW_STYLE_RELEASE_NOTIFY style flag).  A JPEG button does not support
//! image scrolling.
//!
//! \e ulStyle is the logical OR of the following:
//!
//! - \b #JW_STYLE_OUTLINE to indicate that the JPEG widget should be outlined.
//! - \b #JW_STYLE_TEXT to indicate that the JPEG widget should have text drawn
//!   on it (using \e pFont and \e pcText).
//! - \b #JW_STYLE_FILL to indicate that the JPEG widget should have its
//!   background filled with color (specified by \e ulFillColor).
//! - \b #JW_STYLE_SCROLL to indicate that the JPEG widget should be redrawn
//!   automatically each time the pointer is moved (touchscreen is dragged)
//!   rather than waiting for the gesture to end then redrawing once.  A client
//!   may chose to omit this style flag and call WidgetPaint() from within the
//!   pfnOnScroll callback at a rate deemed acceptable for the application.
//! - \b #JW_STYLE_LOCKED to indicate that the JPEG widget should ignore all
//!   user input and merely display the image.  If this flag is set,
//!   #JW_STYLE_SCROLL is ignored.
//! - \b #JW_STYLE_RELEASE_NOTIFY to indicate that the callback should be made
//!   when the button-style widget is released.  If absent, the callback is
//!   called when the widget is initially pressed.  This style flag is ignored
//!   unless \b #JW_STYLE_BUTTON is specified.
//!
//! \return Nothing; this is not a function.
//
//*****************************************************************************
#define JPEGButton(sName, pParent, pNext, pChild, pDisplay, lX, lY, lWidth,  \
                   lHeight, ulStyle, ulFillColor, ulOutlineColor,            \
                   ulTextColor, pFont, pcText, pucImage, ulImgLen,           \
                   ucBorderWidth, pfnOnClick, psInst)                        \
        tJPEGWidget sName =                                                  \
            JPEGWidgetStruct(pParent, pNext, pChild, pDisplay, lX, lY,       \
                             lWidth, lHeight, (ulStyle | JW_STYLE_BUTTON),   \
                             ulFillColor, ulOutlineColor, ulTextColor, pFont,\
                             pcText, pucImage, ulImgLen, ucBorderWidth,      \
                             pfnOnClick, 0, psInst)

//*****************************************************************************
//
//! Declares an initialized variable containing a JPEG canvas 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 JPEG widget.
//! \param lY is the Y coordinate of the upper left corner of the JPEG widget.
//! \param lWidth is the width of the JPEG widget.
//! \param lHeight is the height of the JPEG widget.
//! \param ulStyle is the style to be applied to the JPEG widget.
//! \param ulFillColor is the color used to fill in the JPEG widget.
//! \param ulOutlineColor is the color used to outline the JPEG widget.
//! \param ulTextColor is the color used to draw text on the JPEG widget.
//! \param pFont is a pointer to the font to be used to draw text on the push
//! button.
//! \param pcText is a pointer to the text to draw on this JPEG widget.
//! \param pucImage is a pointer to the compressed image to draw on this JPEG
//! widget.
//! \param ulImgLen is the length of the data pointed to by pucImage.
//! \param ucBorderWidth is the width of the border to paint if JW_STYLE_OUTLINE
//! is specified.
//! \param pfnOnScroll is a pointer to the function that is called when the
//! user drags a finger or stylus across the widget area.  The values reported
//! as parameters to the callback indicate the number of pixels of offset
//! from center that will be applied to the image next time it is redrawn.
//! \param psInst is a pointer to a read/write tJPEGInst structure that the
//! widget can use for workspace.
//!
//! This macro provides an initialized JPEG canvas 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).
//!
//! A JPEG canvas widget acts as an image display surface.  User input via the
//! touch screen controls the image positioning, allowing scrolling of a large
//! image within a smaller area of the display.  Image redraw can either be
//! carried out automatically whenever scrolling is required or can be delegated
//! to the application via the OnScroll callback which is called whenever the
//! user requests an image position change.
//!
//! \e ulStyle is the logical OR of the following:
//!
//! - \b #JW_STYLE_OUTLINE to indicate that the JPEG widget should be outlined.
//! - \b #JW_STYLE_TEXT to indicate that the JPEG widget should have text drawn
//!   on it (using \e pFont and \e pcText).
//! - \b #JW_STYLE_FILL to indicate that the JPEG widget should have its
//!   background filled with color (specified by \e ulFillColor).
//! - \b #JW_STYLE_SCROLL to indicate that the JPEG widget should be redrawn
//!   automatically each time the pointer is moved (touchscreen is dragged)
//!   rather than waiting for the gesture to end then redrawing once.  A client
//!   may chose to omit this style flag and call WidgetPaint() from within the
//!   pfnOnScroll callback at a rate deemed acceptable for the application.
//! - \b #JW_STYLE_LOCKED to indicate that the JPEG widget should ignore all
//!   user input and merely display the image.  If this flag is set,
//!   #JW_STYLE_SCROLL is ignored.
//!
//! \return Nothing; this is not a function.
//
//*****************************************************************************
#define JPEGCanvas(sName, pParent, pNext, pChild, pDisplay, lX, lY, lWidth,  \
                   lHeight, ulStyle, ulFillColor, ulOutlineColor,            \
                   ulTextColor, pFont, pcText, pucImage, ulImgLen,           \
                   ucBorderWidth, pfnOnScroll, psInst)                       \
        tJPEGWidget sName =                                                  \
            JPEGWidgetStruct(pParent, pNext, pChild, pDisplay, lX, lY,       \
                             lWidth, lHeight, (ulStyle & ~(JW_STYLE_BUTTON | \
                             JW_STYLE_RELEASE_NOTIFY)), ulFillColor,         \
                             ulOutlineColor, ulTextColor, pFont, pcText,     \
                             pucImage, ulImgLen, ucBorderWidth, 0,           \
                             pfnOnScroll, psInst)

//*****************************************************************************
//
//! Sets the function to call when the JPEG image is scrolled.
//!
//! \param pWidget is a pointer to the JPEG widget to modify.
//! \param pfnOnScrll is a pointer to the function to call.
//!
//! This function sets the function to be called when this widget is scrolled
//! by dragging a finger or stylus over the image area (assuming that
//! \b #JW_STYLE_BUTTON is clear).
//!
//! \return None.
//
//*****************************************************************************
#define JPEGWidgetScrollCallbackSet(pWidget, pfnOnScrll)  \
        do                                                \
        {                                                 \
            tJPEGWidget *pW = pWidget;                    \
            pW->pfnOnScroll = pfnOnScrll;                 \
        }                                                 \
        while(0)

//*****************************************************************************
//
//! Sets the function to call when the button-style widget is pressed.
//!
//! \param pWidget is a pointer to the JPEG widget to modify.
//! \param pfnOnClik is a pointer to the function to call.
//!
//! This function sets the function to be called when this widget is
//! pressed (assuming \b #JW_STYLE_BUTTON is set).  The supplied function is
//! called when the button is pressed if \b #JW_STYLE_RELEASE_NOTIFY is clear
//! or when the button is released if this style flag is set.
//!
//! \return None.
//
//*****************************************************************************
#define JPEGWidgetClickCallbackSet(pWidget, pfnOnClik)  \
        do                                              \
        {                                               \
            tJPEGWidget *pW = pWidget;                  \
            pW->pfnOnClick = pfnOnClik;                 \
        }                                               \
        while(0)

//*****************************************************************************
//
//! Sets the fill color of a JPEG widget.
//!
//! \param pWidget is a pointer to the JPEG widget to be modified.
//! \param ulColor is the 24-bit RGB color to use to fill the JPEG widget.
//!
//! This function changes the color used to fill the JPEG widget on the
//! display.  The display is not updated until the next paint request.
//!
//! \return None.
//
//*****************************************************************************
#define JPEGWidgetFillColorSet(pWidget, ulColor) \
        do                                       \
        {                                        \
            tJPEGWidget *pW = pWidget;           \
            pW->ulFillColor = ulColor;           \
        }                                        \
        while(0)


//*****************************************************************************
//
//! Disables background color fill for JPEG widget.
//!
//! \param pWidget is a pointer to the JPEG widget to modify.
//!
//! This function disables background color fill for a JPEG widget.  The display
//! is not updated until the next paint request.
//!
//! \return None.
//
//*****************************************************************************
#define JPEGWidgetFillOff(pWidget)              \
        do                                      \
        {                                       \
            tJPEGWidget *pW = pWidget;          \
            pW->ulStyle &= ~(JW_STYLE_FILL);    \
        }                                       \
        while(0)

//*****************************************************************************
//
//! Enables background color fill for a JPEG widget.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本sm残虐另类| 国产一区二区在线免费观看| 国产三级一区二区| 精品国产一区二区亚洲人成毛片| 欧美一级黄色大片| 99视频精品全部免费在线| 日本成人在线一区| 亚洲精品视频观看| 亚洲动漫第一页| 日韩有码一区二区三区| 日韩福利视频导航| 极品瑜伽女神91| 欧美日韩在线免费视频| 欧美日韩高清在线| 久久人人97超碰com| 亚洲色图色小说| 久久国产精品第一页| 6080午夜不卡| 欧美亚洲综合色| 久久久午夜精品理论片中文字幕| 久久色在线观看| 亚洲裸体在线观看| 99九九99九九九视频精品| 中文字幕在线播放不卡一区| 欧美优质美女网站| 久久精品免费观看| 国产欧美日韩麻豆91| 欧美综合天天夜夜久久| 国产做a爰片久久毛片| 日韩美女视频19| 日韩欧美亚洲国产另类| www.综合网.com| 日韩中文字幕一区二区三区| 国产日产欧美一区二区视频| 欧美综合色免费| 国产精品白丝jk黑袜喷水| 亚洲一区二区在线视频| 久久综合国产精品| 欧美日韩一区二区三区不卡| 国产99精品国产| 日本怡春院一区二区| 欧美韩日一区二区三区| 91精品国产欧美一区二区成人| 成人小视频免费在线观看| 日韩制服丝袜先锋影音| 亚洲视频在线观看一区| 欧美精品一区二区三区四区| 欧美三级韩国三级日本一级| 成人免费观看男女羞羞视频| 久久精品国内一区二区三区| 一区二区三区在线视频播放| 久久奇米777| 欧美电影免费观看高清完整版在线观看 | 亚洲国产精品久久久男人的天堂 | 国产肉丝袜一区二区| 欧美综合天天夜夜久久| 高清av一区二区| 裸体一区二区三区| 午夜视频一区在线观看| 亚洲美女偷拍久久| 国产精品久久久久久久久动漫| 日韩欧美第一区| 69堂国产成人免费视频| 色综合久久久久久久久久久| 成人高清视频在线| 国产成人亚洲精品青草天美| 美女在线一区二区| 日韩精品乱码免费| 五月激情综合色| 亚洲国产精品久久不卡毛片| 亚洲免费观看高清| 亚洲色图视频免费播放| 亚洲天堂a在线| 亚洲色图一区二区三区| 综合久久国产九一剧情麻豆| 久久久久久97三级| 精品久久人人做人人爱| 2021国产精品久久精品| 精品免费一区二区三区| 日韩美女天天操| 精品国产一区二区三区不卡| 欧美tickling网站挠脚心| 夜夜揉揉日日人人青青一国产精品| 欧美日韩精品一区二区天天拍小说| 97国产一区二区| 99re这里只有精品首页| 91丝袜呻吟高潮美腿白嫩在线观看| 成人免费观看男女羞羞视频| 91丝袜美腿高跟国产极品老师| 91免费版pro下载短视频| 色呦呦国产精品| 日本道精品一区二区三区| 日本大香伊一区二区三区| 欧美福利电影网| 91精品欧美综合在线观看最新| 欧美一区二区三区思思人| 日韩精品综合一本久道在线视频| 精品电影一区二区三区| 亚洲国产成人一区二区三区| 亚洲免费在线看| 五月开心婷婷久久| 国产一区二区三区四区五区美女 | 亚洲免费在线看| 亚洲午夜成aⅴ人片| 秋霞av亚洲一区二区三| 国产高清不卡二三区| 97久久精品人人做人人爽50路| 91久久国产最好的精华液| 日韩一区二区免费在线观看| 日韩欧美在线1卡| 日本一二三不卡| 91精品免费在线| 国产片一区二区三区| 欧美日韩大陆在线| 久久影音资源网| 亚洲男人的天堂在线aⅴ视频| 亚洲高清在线视频| 国产一区二区久久| 色先锋久久av资源部| 欧美高清一级片在线观看| 一区二区三区在线视频观看58| 久久国产欧美日韩精品| 一本久久综合亚洲鲁鲁五月天 | 国产精品亚洲专一区二区三区 | 日本不卡中文字幕| 成人小视频免费在线观看| 欧美狂野另类xxxxoooo| 国产精品久久久久久户外露出 | 亚洲123区在线观看| 国产精品香蕉一区二区三区| 欧美视频一区二区| 国产精品乱码久久久久久| 欧美日韩一区二区在线观看视频| 7777精品伊人久久久大香线蕉的| 亚洲国产精品精华液ab| 石原莉奈一区二区三区在线观看 | 欧美一区二区视频在线观看| 久久午夜色播影院免费高清| 久久午夜免费电影| 日韩视频免费观看高清完整版在线观看| 日韩女优制服丝袜电影| 久久综合九色综合97_久久久 | 国产福利91精品一区二区三区| 国产精品99久久久久久久vr | 国产精品国模大尺度视频| 亚洲精品乱码久久久久久| 亚洲国产欧美在线| 经典一区二区三区| 成人精品高清在线| 欧美老女人在线| 久久综合色之久久综合| 亚洲日本青草视频在线怡红院 | 波多野洁衣一区| 欧美亚洲一区二区在线观看| 精品日韩99亚洲| 一区二区三区中文免费| 六月婷婷色综合| 91麻豆国产自产在线观看| 91精品国产乱| 国产精品动漫网站| 久久精品理论片| 欧美午夜在线观看| 国产欧美日韩亚州综合| 亚洲成年人影院| av电影在线观看一区| 日韩视频免费直播| 一区二区免费看| 国产福利一区在线| 欧美一级高清大全免费观看| 亚洲人成精品久久久久| 国产老妇另类xxxxx| 欧美丰满少妇xxxbbb| 亚洲欧美一区二区三区极速播放 | 久久久国际精品| 成人免费毛片aaaaa**| 欧美日本乱大交xxxxx| 国产精品成人网| 国产精品一区二区在线观看网站| 欧美精品99久久久**| 亚洲久草在线视频| 国产成a人无v码亚洲福利| 日韩视频在线你懂得| 亚洲伊人伊色伊影伊综合网| 99久久精品久久久久久清纯| 久久亚洲精品小早川怜子| 蜜臀久久久久久久| 欧美精选在线播放| 亚洲国产视频直播| 在线一区二区视频| 亚洲图片你懂的| 成人动漫一区二区三区| 久久久另类综合| 久久国产夜色精品鲁鲁99| 欧美一区二区三区在线观看视频| 亚洲韩国一区二区三区| 91在线观看地址| 亚洲免费视频成人| 色综合中文字幕国产 | 在线观看91精品国产麻豆| 亚洲尤物视频在线|