radio.h

来自「uCGUI」· C头文件 代码 · 共 58 行

H
58
字号
/*************************************************************************************************************
                                                   uC/GUI
                                               嵌入式通用图形软件
文    件: RADIO.H
描    述: RADIO include
************************************************************************************************************/
#ifndef RADIO_H
#define RADIO_H

#include "WM.H"
#include "Dialog_Intern.h"      /* Req. for Create indirect data structure */

#if GUI_WINSUPPORT

/*************************************************************************************************************
            Defaults for public configuration switches
The following are defaults for config switches which affect the
interface specified in this module
*************************************************************************************************************/

/*************************************************************************************************************
           defines
*************************************************************************************************************/

/*************************************************************************************************************
       States
*************************************************************************************************************/


/*************************************************************************************************************
                         Public Types
*************************************************************************************************************/
typedef WM_HMEM RADIO_Handle;

/*************************************************************************************************************
                 Create functions
*************************************************************************************************************/

RADIO_Handle RADIO_Create        (int x0, int y0, int xsize, int ysize, WM_HWIN hParent, int Id, int Flags, unsigned Para);
RADIO_Handle RADIO_CreateIndirect(const GUI_WIDGET_CREATE_INFO* pCreateInfo, WM_HWIN hWinParent, int x0, int y0, WM_CALLBACK* cb);

/*************************************************************************************************************
                 Member functions
*************************************************************************************************************/

void RADIO_SetValue(RADIO_Handle hObj, int v);
void RADIO_Inc(RADIO_Handle hObj);
void RADIO_Dec(RADIO_Handle hObj);

/*************************************************************************************************************
                 Query state
*************************************************************************************************************/
int RADIO_GetValue(RADIO_Handle hObj);


#endif   /* if GUI_WINSUPPORT */
#endif   /* RADIO_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?