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

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

?? container.h

?? STM32+Grlib
?? H
?? 第 1 頁 / 共 2 頁
字號:
//*****************************************************************************
//
// container.h - Prototypes for the container 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 __CONTAINER_H__
#define __CONTAINER_H__

//*****************************************************************************
//
//! \addtogroup container_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 container widget.
//
//*****************************************************************************
typedef struct
{
    //
    //! The generic widget information.
    //
    tWidget sBase;

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

    //
    //! The 24-bit RGB color used to fill this container widget, if
    //! CTR_STYLE_FILL is selected, and to use as the background color if
    //! CTR_STYLE_TEXT_OPAQUE is selected.
    //
    unsigned long ulFillColor;

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

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

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

    //
    //! A pointer to the text to draw on this container widget, if
    //! CTR_STYLE_TEXT is selected.
    //
    const char *pcText;
}
tContainerWidget;

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

//*****************************************************************************
//
//! This flag indicates that the container widget should be filled.
//
//*****************************************************************************
#define CTR_STYLE_FILL          0x00000002

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

//*****************************************************************************
//
//! This flag indicates that the container text should be drawn opaque (in
//! other words, drawing the background pixels as well as the foreground
//! pixels).
//
//*****************************************************************************
#define CTR_STYLE_TEXT_OPAQUE   0x00000008

//*****************************************************************************
//
//! This flag indicates that the container text should be drawn centered
//! within the width of the container.
//
//*****************************************************************************
#define CTR_STYLE_TEXT_CENTER   0x00000010

//*****************************************************************************
//
//! Declares an initialized container 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 container
//! widget.
//! \param lX is the X coordinate of the upper left corner of the container
//! widget.
//! \param lY is the Y coordinate of the upper left corner of the container
//! widget.
//! \param lWidth is the width of the container widget.
//! \param lHeight is the height of the container widget.
//! \param ulStyle is the style to be applied to the container widget.
//! \param ulFillColor is the color used to fill in the container widget.
//! \param ulOutlineColor is the color used to outline the container widget.
//! \param ulTextColor is the color used to draw text on the container widget.
//! \param pFont is a pointer to the font to be used to draw text on the
//! container widget.
//! \param pcText is a poitner to the text to draw on the container widget.
//!
//! This macro provides an initialized container 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
//!     tContainerWidget g_sContainer = ContainerStruct(...);
//! \endverbatim
//!
//! Or, in an array of variables:
//!
//! \verbatim
//!     tContainerWidget g_psContainers[] =
//!     {
//!         ContainerStruct(...),
//!         ContainerStruct(...)
//!     };
//! \endverbatim
//!
//! \e ulStyle is the logical OR of the following:
//!
//! - \b #CTR_STYLE_OUTLINE to indicate that the container widget should be
//!   outlined.
//! - \b #CTR_STYLE_FILL to indicate that the container widget should be
//!   filled.
//! - \b #CTR_STYLE_TEXT to indicate that the container widget should have text
//!   drawn on it (using \e pFont and \e pcText).
//! - \b #CTR_STYLE_TEXT_OPAQUE to indicate that the container widget text
//!   should be drawn opaque (in other words, drawing the background pixels).
//! - \b #CTR_STYLE_TEXT_CENTER to indicate that the container widget text
//!   should be drawn centered horizontally.
//!
//! \return Nothing; this is not a function.
//
//*****************************************************************************
#define ContainerStruct(pParent, pNext, pChild, pDisplay, lX, lY, lWidth, \
                        lHeight, ulStyle, ulFillColor, ulOutlineColor,    \
                        ulTextColor, pFont, pcText)                       \
        {                                                                 \
            {                                                             \
                sizeof(tContainerWidget),                                 \
                (tWidget *)(pParent),                                     \
                (tWidget *)(pNext),                                       \
                (tWidget *)(pChild),                                      \
                pDisplay,                                                 \
                {                                                         \
                    lX,                                                   \
                    lY,                                                   \
                    (lX) + (lWidth) - 1,                                  \
                    (lY) + (lHeight) - 1                                  \
                },                                                        \
                ContainerMsgProc                                          \
            },                                                            \
            ulStyle,                                                      \
            ulFillColor,                                                  \
            ulOutlineColor,                                               \
            ulTextColor,                                                  \
            pFont,                                                        \
            pcText                                                        \
        }

//*****************************************************************************
//
//! Declares an initialized variable containing a container 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 container
//! widget.
//! \param lX is the X coordinate of the upper left corner of the container
//! widget.
//! \param lY is the Y coordinate of the upper left corner of the container
//! widget.
//! \param lWidth is the width of the container widget.
//! \param lHeight is the height of the container widget.
//! \param ulStyle is the style to be applied to the container widget.
//! \param ulFillColor is the color used to fill in the container widget.
//! \param ulOutlineColor is the color used to outline the container widget.
//! \param ulTextColor is the color used to draw text on the container widget.
//! \param pFont is a pointer to the font to be used to draw text on the
//! container widget.
//! \param pcText is a poitner to the text to draw on the container widget.
//!
//! This macro provides an initialized container 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 #CTR_STYLE_OUTLINE to indicate that the container widget should be
//!   outlined.
//! - \b #CTR_STYLE_FILL to indicate that the container widget should be
//!   filled.
//! - \b #CTR_STYLE_TEXT to indicate that the container widget should have text
//!   drawn on it (using \e pFont and \e pcText).
//! - \b #CTR_STYLE_TEXT_OPAQUE to indicate that the container widget text
//!   should be drawn opaque (in other words, drawing the background pixels).
//! - \b #CTR_STYLE_TEXT_CENTER to indicate that the container widget text
//!   should be drawn centered horizontally.
//!
//! \return Nothing; this is not a function.
//
//*****************************************************************************
#define Container(sName, pParent, pNext, pChild, pDisplay, lX, lY, lWidth,    \
                  lHeight, ulStyle, ulFillColor, ulOutlineColor, ulTextColor, \
                  pFont, pcText)                                              \
        tContainerWidget sName =                                              \
            ContainerStruct(pParent, pNext, pChild, pDisplay, lX, lY, lWidth, \
                            lHeight, ulStyle, ulFillColor, ulOutlineColor,    \
                            ulTextColor, pFont, pcText)

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

//*****************************************************************************
//
//! Disables filling of a container widget.
//!
//! \param pWidget is a pointer to the container widget to modify.
//!
//! This function disables the filling of a container widget.  The display is
//! not updated until the next paint request.
//!
//! \return None.
//
//*****************************************************************************
#define ContainerFillOff(pWidget)             \
        do                                    \

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩免费看的电影| 欧美日韩成人综合天天影院 | 久久国产人妖系列| 亚洲成av人片一区二区三区| 亚洲欧美激情在线| 中文字幕一区二区日韩精品绯色| 国产精品久久久久久亚洲伦| 久久久99久久精品欧美| 久久久久久久久蜜桃| 精品av久久707| 欧美国产视频在线| 日韩av不卡一区二区| 日韩电影免费在线看| 久久99国产精品免费网站| 国产一区二区在线免费观看| 高清成人免费视频| 一本一道综合狠狠老| 欧美巨大另类极品videosbest| 91精品国产综合久久久久久久久久| 日韩三级视频在线看| 久久久久久久久久久久久夜| 国产精品久久久久久久久快鸭 | 99国产精品久| 在线亚洲+欧美+日本专区| 欧美日韩一区三区四区| 欧美va亚洲va在线观看蝴蝶网| 久久欧美中文字幕| 亚洲精品乱码久久久久久| 亚洲成人午夜影院| 国产美女精品在线| 在线观看中文字幕不卡| 精品久久国产97色综合| 亚洲色图色小说| 裸体歌舞表演一区二区| yourporn久久国产精品| 4438x亚洲最大成人网| 中文天堂在线一区| 日本午夜精品一区二区三区电影| 国产精品影音先锋| 欧美精品在线一区二区| 欧美极品少妇xxxxⅹ高跟鞋| 亚洲一区二区三区爽爽爽爽爽| 久久99精品久久久久久动态图| 91网站最新网址| 精品国产伦一区二区三区观看体验 | 欧美一区二区成人| 国产精品视频在线看| 午夜精品久久久久久| 成人动漫一区二区| 日韩三级在线观看| 香蕉成人啪国产精品视频综合网 | 国产精品全国免费观看高清 | 国产精品久久影院| 美女久久久精品| 欧美一区二区三区免费大片| 国产精品国产a级| 国产在线一区二区综合免费视频| 日本福利一区二区| 国产精品国产自产拍在线| 麻豆一区二区在线| 制服丝袜亚洲播放| 亚洲一区二区三区四区在线观看| 国产成人精品免费网站| 欧美mv和日韩mv国产网站| 日韩经典中文字幕一区| 精品视频一区二区不卡| 一区二区三区四区国产精品| 99久久国产免费看| 国产精品乱码久久久久久| 国产一区二区三区| 精品第一国产综合精品aⅴ| 日韩精品乱码免费| 8x福利精品第一导航| 亚洲成人av在线电影| 欧美在线观看视频在线| 一区二区欧美国产| 欧美午夜精品一区二区蜜桃| 亚洲大型综合色站| 7878成人国产在线观看| 三级欧美韩日大片在线看| 欧美日韩中文字幕一区二区| 亚洲成a人v欧美综合天堂| 欧美系列在线观看| 日韩不卡一二三区| 精品国产欧美一区二区| 国产麻豆精品在线观看| 中文字幕av一区 二区| 成人精品免费网站| 樱桃视频在线观看一区| 欧美日韩黄色影视| 人人精品人人爱| 亚洲精品在线电影| 成人av在线网| 亚洲久草在线视频| 91麻豆精品国产91| 激情成人综合网| 亚洲国产成人一区二区三区| 91在线精品秘密一区二区| 亚洲一区免费在线观看| 欧美一二三四在线| 国产成人av一区二区三区在线| 国产精品欧美综合在线| 精品视频在线免费| 国产九色sp调教91| 亚洲综合精品久久| 精品国产乱码久久| 97久久超碰精品国产| 日韩精品电影一区亚洲| 国产片一区二区| 欧美日韩成人一区二区| 国产在线视频精品一区| 亚洲乱码国产乱码精品精小说| 91麻豆精品国产91久久久久久久久 | 26uuu精品一区二区三区四区在线| 国产一区二区三区香蕉| 亚洲综合在线视频| 一区二区成人在线视频| 精品福利在线导航| 色偷偷一区二区三区| 韩国视频一区二区| 亚洲男人的天堂在线aⅴ视频| 日韩免费高清电影| 欧美性视频一区二区三区| 国产成人午夜99999| 天堂资源在线中文精品| 中文字幕一区二区三区四区 | 国产在线一区二区| 亚洲18色成人| 亚洲欧美综合在线精品| 久久综合av免费| 欧美日韩中文一区| 色偷偷久久人人79超碰人人澡| 精品一区二区三区视频在线观看| 亚洲综合av网| 综合分类小说区另类春色亚洲小说欧美| 日韩精品中文字幕在线不卡尤物| 在线观看成人小视频| 白白色亚洲国产精品| 粉嫩aⅴ一区二区三区四区五区| 免费在线视频一区| 亚洲成人资源在线| 一区二区三区精品在线| 亚洲视频一区二区在线| 国产精品美女一区二区三区| 久久久午夜精品理论片中文字幕| 欧美日韩国产一区| 欧美曰成人黄网| 26uuu精品一区二区| 欧美不卡一二三| 日韩精品一区二| 精品少妇一区二区三区在线播放| 51午夜精品国产| 91精品国产综合久久久久久| 欧美日本视频在线| 欧美一区二区高清| 欧美精品三级在线观看| 欧美日本乱大交xxxxx| 欧美日韩夫妻久久| 欧美一区二区视频在线观看2022| 91精品国产福利在线观看| 欧美一区二区三区成人| 欧美大片顶级少妇| 久久久国产午夜精品| 国产精品少妇自拍| 亚洲男同1069视频| 亚洲黄色录像片| 天堂av在线一区| 精品写真视频在线观看| 国产大片一区二区| 99久久er热在这里只有精品15| 欧美亚洲综合网| 欧美一区二区国产| 中文字幕精品在线不卡| 亚洲另类在线一区| 日本视频一区二区| 国产91在线观看丝袜| 一本大道久久a久久精品综合| 欧美视频完全免费看| 91精品一区二区三区在线观看| 亚洲精品一线二线三线无人区| 国产嫩草影院久久久久| 亚洲国产精品一区二区www| 久久精品999| 99久久夜色精品国产网站| 欧美精选在线播放| 国产婷婷色一区二区三区| 亚洲欧美日韩国产综合| 91亚洲午夜精品久久久久久| 欧美亚洲免费在线一区| 欧美精品一区二区蜜臀亚洲| 国产精品私人自拍| 亚洲成国产人片在线观看| 国产乱一区二区| 欧美视频一区二| 亚洲国产成人私人影院tom| 性做久久久久久免费观看| 成人av在线网站| 欧美一区日本一区韩国一区| 国产精品欧美一区喷水| 久久精品噜噜噜成人88aⅴ|