3 * \brief Header: WRadio widget
6 #ifndef MC__WIDGET_RADIO_H
7 #define MC__WIDGET_RADIO_H
9 /*** typedefs(not structures) and defined constants **********************************************/
11 #define RADIO(x) ((WRadio *)(x))
13 /*** enums ***************************************************************************************/
15 /*** structures declarations (and typedefs of structures)*****************************************/
20 unsigned int state
; /* radio button state */
22 int count
; /* number of members */
23 hotkey_t
*texts
; /* texts of labels */
26 /*** global variables defined in .c file *********************************************************/
28 /*** declarations of public functions ************************************************************/
30 WRadio
*radio_new (int y
, int x
, int count
, const char **text
);
32 /*** inline functions ****************************************************************************/
34 #endif /* MC__WIDGET_RADIO_H */