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

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

?? jpgwidget.h

?? 基于TI公司Cortex-M3的uart超級通信開發
?? H
?? 第 1 頁 / 共 3 頁
字號:
//*****************************************************************************
//
// jpgwidget.h - Prototypes for the JPEG image display/button widget class.
//
// Copyright (c) 2009 Luminary Micro, Inc.  All rights reserved.
// Software License Agreement
// 
// Luminary Micro, Inc. (LMI) is supplying this software for use solely and
// exclusively on LMI's microcontroller products.
// 
// The software is owned by LMI and/or its suppliers, and is protected under
// applicable copyright laws.  All rights are reserved.  You may not combine
// this software with "viral" open-source software in order to form a larger
// program.  Any use in violation of the foregoing restrictions may subject
// the user to criminal sanctions under applicable laws, as well as to civil
// liability for the breach of the terms and conditions of this license.
// 
// THIS SOFTWARE IS PROVIDED "AS IS".  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.
// LMI SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
// CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
// 
// This is part of revision 5228 of the DK-LM3S9B96 Firmware Package.
//
//*****************************************************************************

#ifndef __JPGWIDGET_H__
#define __JPGWIDGET_H__

//*****************************************************************************
//
//! \addtogroup jpgwidget_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 containing workspace fields used by the JPEG widget in
//! decompressing and displaying the JPEG image.  This structure must not be
//! modified by the application using the widget.
//
//*****************************************************************************
typedef struct
{
    //
    //! The width of the decompressed JPEG image in pixels.
    //
    unsigned short usWidth;

    //
    //! The height of the decompressed JPEG image in lines.
    //
    unsigned short usHeight;

    //
    //! The current X image display offset (pan).
    //
    short sXOffset;

    //
    //! The current Y image display offset (scan).
    //
    short sYOffset;

    //
    //! The x coordinate of the screen position corresponding to the last
    //! scrolling calculation check for a JPEGCanvas type widget.
    //
    short sXStart;

    //
    //! The y coordinate of the screen position corresponding to the last
    //! scrolling calculation check for a JPEGCanvas type widget.
    //
    short sYStart;

    //
    //! A pointer to the SDRAM buffer containing the decompressed JPEG image.
    //
    unsigned short *pusImage;
}
tJPEGInst;

//*****************************************************************************
//
//! The structure that describes a JPEG widget.
//
//*****************************************************************************
typedef struct
{
    //
    //! The generic widget information.
    //
    tWidget sBase;

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

    //
    //! The 24-bit RGB color used to fill this JPEG widget, if JW_STYLE_FILL is
    //! selected.
    //
    unsigned long ulFillColor;

    //
    //! The 24-bit RGB color used to outline this JPEG widget, if
    //! JW_STYLE_OUTLINE is selected.
    //
    unsigned long ulOutlineColor;

    //
    //! The 24-bit RGB color used to draw text on this JPEG widget, if
    //! JW_STYLE_TEXT is selected.
    //
    unsigned long ulTextColor;

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

    //
    //! A pointer to the text to draw on this JPEG widget, if JW_STYLE_TEXT is
    //! selected.
    //
    const char *pcText;

    //
    //! A pointer to the compressed JPEG image to be drawn onto this widget.
    //! If NULL, the widget will be filled with the provided background color
    //! if painted.
    //
    const unsigned char *pucImage;

    //
    //! The number of bytes of compressed data in the image pointed to by
    //! pucImage.
    //
    unsigned long ulImageLen;

    //
    //! The width of the border to be drawn around the widget.  This is ignored
    //! if JW_STYLE_OUTLINE is not set.
    //
    unsigned char ucBorderWidth;

    //
    //! A pointer to the function to be called when the button is pressed
    //! This is ignored if JW_STYLE_BUTTON is not set.
    //
    void (*pfnOnClick)(tWidget *pWidget);

    //
    //! A pointer to the function to be called if the user scrolls the
    //! displayed image.  This is ignored if JW_STYLE_BUTTON is set.
    //
    void (*pfnOnScroll)(tWidget *pWidget, short sX, short sY);

    //
    //! The following structure contains all the workspace fields required
    //! by the widget.  The client must initialize this with a valid pointer
    //! to a read/write structure.
    //
    tJPEGInst *psJPEGInst;
}
tJPEGWidget;

//*****************************************************************************
//
//! This flag indicates that the widget should be outlined.
//
//*****************************************************************************
#define JW_STYLE_OUTLINE        0x00000001

//*****************************************************************************
//
//! This flag indicates that the widget should act as a button rather than as
//! a display surface.
//
//*****************************************************************************
#define JW_STYLE_BUTTON         0x00000002

//*****************************************************************************
//
//! This flag indicates that the JPEG widget should have text drawn on it.
//
//*****************************************************************************
#define JW_STYLE_TEXT           0x00000004

//*****************************************************************************
//
//! This flag indicates that the JPEG widget's background area should be filled
//! with color even when there is an image to display.
//
//*****************************************************************************
#define JW_STYLE_FILL           0x00000008

//*****************************************************************************
//
//! This flag indicates that the JPEG widget's image should be repainted as
//! the user scrolls over it.  This is CPU intensive but looks better than
//! the alternative which only repaints the image when the user ends their
//! touchscreen drag.
//
//*****************************************************************************
#define JW_STYLE_SCROLL        0x00000010

//*****************************************************************************
//
//! This flag indicates that the JPEG widget should ignore all touchscreen
//! activity.
//
//*****************************************************************************
#define JW_STYLE_LOCKED        0x00000020

//*****************************************************************************
//
//! This flag indicates that the JPEG widget is pressed.
//
//*****************************************************************************
#define JW_STYLE_PRESSED       0x00000040

//*****************************************************************************
//
//! This flag indicates that the JPEG widget callback should be made when
//! the widget is released rather than when it is pressed.  This style flag is
//! ignored if JW_STYLE_BUTTON is not set.
//
//*****************************************************************************
#define JW_STYLE_RELEASE_NOTIFY 0x00000080

//*****************************************************************************
//
//! Declares an initialized JPEG image 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 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 \b
//! #JW_STYLE_OUTLINE is specified.
//! \param pfnOnClick is a pointer to the function that is called when the JPEG
//! button is pressed assuming \b #JW_STYLE_BUTTON is specified.
//! \param pfnOnScroll is a pointer to the function that is called when the
//! image is scrolled assuming \b #JW_STYLE_BUTTON is not specified.
//! \param psInst is a pointer to a read/write tJPEGInst structure that the
//! widget can use for workspace.
//!
//! This macro provides an initialized jpeg image 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
//!     tJPEGWidget g_sImageButton = JPEGWidgetStruct(...);
//! \endverbatim
//!
//! Or, in an array of variables:
//!
//! \verbatim
//!     tJPEGWidget g_psImageButtons[] =
//!     {
//!         JPEGWidgetStruct(...),
//!         JPEGWidgetStruct(...)
//!     };
//! \endverbatim
//!
//! \e ulStyle is the logical OR of the following:
//!

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美久久久影院| 97精品国产97久久久久久久久久久久| 91在线国产福利| 亚洲国产激情av| 99综合影院在线| 亚洲美女免费视频| 欧美色老头old∨ideo| 午夜伦欧美伦电影理论片| 欧美精品 国产精品| 麻豆精品国产91久久久久久| 精品日韩在线观看| 丁香啪啪综合成人亚洲小说| 亚洲男人天堂一区| 欧美一级二级三级蜜桃| 国内成人精品2018免费看| 欧美国产精品专区| 色94色欧美sute亚洲13| 强制捆绑调教一区二区| 久久久精品tv| 在线免费视频一区二区| 麻豆国产一区二区| 国产精品久久久久久亚洲伦| 在线影视一区二区三区| 精品无码三级在线观看视频| 成人免费在线视频观看| 欧美一卡二卡三卡四卡| 国产suv一区二区三区88区| 一区二区三区日韩欧美| 欧美电视剧在线看免费| 97久久精品人人做人人爽 | 欧美日韩国产一级二级| 老司机午夜精品| 成人欧美一区二区三区黑人麻豆 | 免费看欧美女人艹b| 久久精品日韩一区二区三区| 欧美特级限制片免费在线观看| 蜜臀久久99精品久久久久宅男| 国产精品少妇自拍| 91精品蜜臀在线一区尤物| 99在线精品观看| 六月丁香综合在线视频| 洋洋成人永久网站入口| 欧美激情在线一区二区三区| 欧美男男青年gay1069videost| 国产成+人+日韩+欧美+亚洲| 亚洲国产成人porn| 国产精品久久久久9999吃药| 日韩精品最新网址| 欧美精选在线播放| 色哟哟国产精品| 国产成人免费视| 麻豆一区二区在线| 亚洲va韩国va欧美va| 国产精品免费丝袜| 久久久久久电影| 欧美一区二区三区免费在线看| 色综合久久综合| 成人性生交大片免费看在线播放| 免费人成在线不卡| 亚洲成人精品一区| 亚洲国产你懂的| 亚洲精品成a人| 中文字幕一区二区在线播放| 国产日韩欧美激情| 久久亚洲一区二区三区明星换脸| 欧美视频精品在线| 在线亚洲+欧美+日本专区| 99久久精品免费看国产免费软件| 丰满白嫩尤物一区二区| 国产一区二区三区蝌蚪| 国产精品一区二区免费不卡| 久久国产日韩欧美精品| 日本不卡的三区四区五区| 亚洲va中文字幕| 视频一区二区三区中文字幕| 亚洲一区在线观看免费 | 视频一区二区三区入口| 午夜精品久久久久久久| 亚洲电影激情视频网站| 亚洲第一狼人社区| 亚洲超碰精品一区二区| 五月婷婷综合网| 婷婷国产在线综合| 亚洲九九爱视频| 欧美午夜精品久久久久久孕妇| 91年精品国产| 26uuu亚洲综合色| 久久免费午夜影院| 狠狠色狠狠色综合系列| 国产成人免费视频网站高清观看视频| 国产一区视频网站| 国产91丝袜在线18| www.日韩在线| 91国偷自产一区二区三区成为亚洲经典 | 色综合激情久久| 一本久道中文字幕精品亚洲嫩| 91麻豆成人久久精品二区三区| 一本久久综合亚洲鲁鲁五月天| 欧美四级电影网| 精品日韩在线一区| 日本一区二区综合亚洲| 一个色妞综合视频在线观看| 五月婷婷色综合| 韩国三级电影一区二区| www.亚洲色图.com| 欧美体内she精高潮| 精品国产123| 中文字幕一区在线观看| 日韩精品福利网| 国产一区二区毛片| 色久优优欧美色久优优| 欧美大片在线观看一区| 国产精品国产三级国产有无不卡| 一区二区在线观看视频| 久久激情五月激情| 91麻豆蜜桃一区二区三区| 91精品国产aⅴ一区二区| 亚洲国产精品国自产拍av| 亚洲成a人片在线不卡一二三区 | 欧美日韩国产综合久久| 欧美变态tickle挠乳网站| 国产精品对白交换视频| 日韩av电影天堂| 99久久久国产精品| 精品国产3级a| 亚洲国产成人porn| 成人激情校园春色| 91精品国产综合久久久蜜臀图片| 国产色综合久久| 日韩va欧美va亚洲va久久| www.欧美日韩| 精品免费国产一区二区三区四区| 亚洲视频一区在线| 国产一区二区三区视频在线播放 | 欧美日韩一区不卡| 欧美国产日韩一二三区| 日韩avvvv在线播放| 91热门视频在线观看| 国产日本欧美一区二区| 五月婷婷激情综合网| 99久久免费精品高清特色大片| 欧美一级片免费看| 亚洲影视资源网| 99久久久精品| 中文字幕第一页久久| 久久99久久久欧美国产| 精品视频一区三区九区| 亚洲欧美在线视频| 国产在线精品一区二区三区不卡 | 久久精品亚洲精品国产欧美kt∨| 亚洲综合偷拍欧美一区色| 成人亚洲一区二区一| 久久精品一区四区| 九一九一国产精品| 91精品国产入口在线| 亚洲一卡二卡三卡四卡| 99久久夜色精品国产网站| 国产农村妇女精品| 国产一区二区三区蝌蚪| 精品少妇一区二区三区在线播放| 午夜日韩在线电影| 欧美日韩国产精选| 午夜亚洲福利老司机| 精品视频一区三区九区| 亚洲国产sm捆绑调教视频| 色婷婷综合久久久中文字幕| 亚洲欧美在线aaa| 99久久久无码国产精品| 国产精品国产精品国产专区不蜜| 岛国精品在线观看| 国产精品欧美极品| 99久久99精品久久久久久 | 久久久久久久久久久黄色| 卡一卡二国产精品 | ㊣最新国产の精品bt伙计久久| 豆国产96在线|亚洲| 国产欧美一区二区精品久导航 | 激情图区综合网| 欧美va亚洲va香蕉在线| 极品少妇xxxx精品少妇| 欧美成人a在线| 激情久久久久久久久久久久久久久久| 欧美r级电影在线观看| 国产成人免费高清| 亚洲人成小说网站色在线| 日本道色综合久久| 天天色天天爱天天射综合| 欧美大片在线观看一区二区| 国产不卡视频在线播放| 欧美经典一区二区三区| 91污片在线观看| 亚洲地区一二三色| 精品福利在线导航| 99在线视频精品| 天天综合色天天综合色h| 精品剧情v国产在线观看在线| 国产凹凸在线观看一区二区| 一区二区三区蜜桃网| 日韩欧美区一区二| 91在线国内视频|