radio_private.h
来自「一个在430单片机上移植UCGUI的例子」· C头文件 代码 · 共 72 行
H
72 行
/*
*********************************************************************************************************
* uC/GUI
* Universal graphic software for embedded applications
*
* (c) Copyright 2002, Micrium Inc., Weston, FL
* (c) Copyright 2002, SEGGER Microcontroller Systeme GmbH
*
* 礐/GUI is protected by international copyright laws. Knowledge of the
* source code may not be used to write a similar product. This file may
* only be used in accordance with a license and should not be redistributed
* in any way. We appreciate your understanding and fairness.
*
----------------------------------------------------------------------
File : RADIO_Private.h
Purpose : RADIO private header file
--------------------END-OF-HEADER-------------------------------------
*/
#ifndef RADIO_PRIVATE_H
#define RADIO_PRIVATE_H
#include "WM.h"
#if GUI_WINSUPPORT
#include "RADIO.h"
#include "WIDGET.h"
/*********************************************************************
*
* Object definition
*
**********************************************************************
*/
typedef struct {
WIDGET Widget;
const GUI_BITMAP * apBmRadio[2];
const GUI_BITMAP * pBmCheck;
I16 Sel; /* current selection */
I16 Spacing;
I16 Height;
I16 NumItems;
GUI_COLOR BkColor;
#if GUI_DEBUG_LEVEL >1
int DebugId;
#endif
} RADIO_Obj;
/*********************************************************************
*
* Macros for internal use
*
**********************************************************************
*/
#define RADIO_H2P(h) (RADIO_Obj*) GUI_ALLOC_h2p(h)
/*********************************************************************
*
* Extern data
*
**********************************************************************
*/
extern const GUI_BITMAP RADIO__abmRadio[2];
extern const GUI_BITMAP RADIO__bmCheck;
extern const GUI_BITMAP * RADIO__apDefaultImage[2];
extern const GUI_BITMAP * RADIO__pDefaultImageCheck;
#endif /* GUI_WINSUPPORT */
#endif /* RADIO_PRIVATE_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?