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

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

?? jpgwidget.h

?? 基于TI公司Cortex-M3的uart超級(jí)通信開發(fā)
?? H
?? 第 1 頁 / 共 3 頁
字號(hào):
//*****************************************************************************
//
// 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:
//!

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品免费观看视频| 777色狠狠一区二区三区| 亚洲免费av高清| 欧美一卡二卡三卡| 91麻豆高清视频| 韩国毛片一区二区三区| 亚洲在线视频免费观看| 国产婷婷色一区二区三区四区| 欧洲生活片亚洲生活在线观看| 国内久久婷婷综合| 亚洲综合在线观看视频| 欧美日韩国产综合久久| 久久久久国产精品麻豆ai换脸| 夜夜精品视频一区二区| www久久精品| 日韩亚洲欧美综合| 欧美中文字幕一区二区三区亚洲| 国产精品99久久久久久久女警| 午夜不卡av在线| 洋洋成人永久网站入口| 国产精品国产三级国产三级人妇| 久久只精品国产| 日韩欧美国产三级| 91精品国产综合久久久久久久久久 | 久久综合丝袜日本网| 欧美日韩亚洲综合在线| 在线国产电影不卡| 色妞www精品视频| 波多野结衣中文字幕一区二区三区| 国产日韩高清在线| 国产成人免费9x9x人网站视频| 青青青伊人色综合久久| 亚洲 欧美综合在线网络| 亚洲精品视频免费观看| 国产精品久线在线观看| 中文字幕欧美区| 国产免费久久精品| 国产三级欧美三级| 国产女人水真多18毛片18精品视频| 精品国产一区久久| 欧美精品一区二区三区很污很色的| 日韩一区二区三区视频| 日韩网站在线看片你懂的| 欧美一级黄色录像| 欧美电视剧在线观看完整版| 日韩精品一区二区三区蜜臀 | 91精品国产日韩91久久久久久| 欧美中文字幕一区二区三区亚洲 | 99久久国产综合精品色伊| 成人污污视频在线观看| 成人国产免费视频| 色哟哟一区二区| 欧美三级中文字幕在线观看| 88在线观看91蜜桃国自产| 欧美一区二区三级| 久久先锋资源网| 国产精品萝li| 亚洲免费观看视频| 日韩专区在线视频| 国产一区二区毛片| av亚洲精华国产精华| 欧美在线啊v一区| 日韩一级大片在线| 久久精品夜色噜噜亚洲aⅴ| 国产精品国产三级国产三级人妇 | 成人免费av在线| 色哟哟国产精品免费观看| 欧美手机在线视频| 欧美成va人片在线观看| 中文字幕国产精品一区二区| 亚洲三级久久久| 91精品国产美女浴室洗澡无遮挡| 国产精品99久久久久久似苏梦涵 | 国精品**一区二区三区在线蜜桃| 久久久久国产精品麻豆| 国产精品久久久久久亚洲伦| 亚洲自拍偷拍av| 精品在线免费观看| 91亚洲国产成人精品一区二三| 欧美日韩精品电影| 久久久精品2019中文字幕之3| 亚洲激情欧美激情| 国产在线精品不卡| 色婷婷综合五月| www成人在线观看| 一区二区高清视频在线观看| 久久97超碰国产精品超碰| 色播五月激情综合网| 欧美成人aa大片| 亚洲一区精品在线| 国产成人av自拍| 欧美丰满一区二区免费视频| 中文字幕精品在线不卡| 蜜臀av一区二区在线免费观看 | 亚洲一区二区不卡免费| 国产成人精品一区二| 久久精品免视看| 欧美精品一区二区在线播放| 亚洲精品视频一区| 国内精品久久久久影院色| 欧美日韩一区高清| 国产精品视频一区二区三区不卡| 日韩电影网1区2区| 色狠狠综合天天综合综合| 久久品道一品道久久精品| 午夜免费久久看| 91久久一区二区| 欧美国产成人在线| 激情文学综合网| 欧美一区二区三区在| 1区2区3区欧美| 国产成人精品1024| 精品久久久久久无| 日韩不卡一区二区| 精品视频免费在线| 亚洲精品国产一区二区三区四区在线| 韩国成人精品a∨在线观看| 4438x亚洲最大成人网| 夜夜嗨av一区二区三区四季av| 99久久亚洲一区二区三区青草| 2023国产精品视频| 久久电影网站中文字幕| 51精品国自产在线| 三级久久三级久久| 欧美日本精品一区二区三区| 一区二区三区在线免费观看| gogo大胆日本视频一区| 国产精品伦一区| 成人黄色av电影| 中文av一区二区| 大桥未久av一区二区三区中文| 2020国产成人综合网| 精品一区二区三区av| 精品福利一二区| 国产麻豆成人精品| 国产欧美日韩一区二区三区在线观看| 九九**精品视频免费播放| 久久免费的精品国产v∧| 国产精品一线二线三线| 久久久久久久性| 高清beeg欧美| 国产精品成人免费精品自在线观看| 粉嫩一区二区三区在线看 | 亚洲综合视频在线观看| 色婷婷国产精品久久包臀| 亚洲手机成人高清视频| 欧洲亚洲国产日韩| 日韩精品一级二级| 久久日韩精品一区二区五区| 国产呦萝稀缺另类资源| 国产精品萝li| 欧洲一区二区三区免费视频| 日韩精品久久理论片| 日韩免费性生活视频播放| 国产一区久久久| 国产精品传媒入口麻豆| 欧美亚男人的天堂| 蜜臀av性久久久久蜜臀av麻豆 | 亚洲国产毛片aaaaa无费看 | 国产一区二区免费视频| 中文字幕亚洲电影| 欧美亚洲愉拍一区二区| 日韩av二区在线播放| 国产亚洲欧美在线| 一本色道久久综合亚洲aⅴ蜜桃 | 色哟哟一区二区| 日韩av网站在线观看| 国产日韩亚洲欧美综合| 色综合久久天天| 免费观看一级特黄欧美大片| 中文乱码免费一区二区| 欧美怡红院视频| 国产久卡久卡久卡久卡视频精品| 国产精品国产三级国产| 欧美日韩另类国产亚洲欧美一级| 久久国产精品99久久人人澡| 中文字幕高清不卡| 91精品国产综合久久国产大片| 国产成人日日夜夜| 香蕉久久夜色精品国产使用方法| 精品久久人人做人人爽| 色8久久精品久久久久久蜜| 捆绑紧缚一区二区三区视频| 中文字幕一区在线观看| 欧美一区二区久久| 99视频在线观看一区三区| 日韩av午夜在线观看| 成人免费小视频| 精品久久久久久久久久久院品网 | www.久久精品| 捆绑紧缚一区二区三区视频| 亚洲色图制服丝袜| 欧美精品一区二区在线观看| 欧美日韩一区不卡| av动漫一区二区| 激情欧美一区二区| 亚洲1区2区3区4区| 综合激情网...| 久久久精品国产99久久精品芒果| 欧美视频日韩视频|