📄 radio_private.h
字号:
/*
*********************************************************************************************************
* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -