3 * \brief Header: WRadio widget
6 #ifndef MC__WIDGET_RADIO_H
7 #define MC__WIDGET_RADIO_H
9 #include "lib/keybind.h" /* global_keymap_t */
11 /*** typedefs(not structures) and defined constants **********************************************/
13 #define RADIO(x) ((WRadio *)(x))
15 /*** enums ***************************************************************************************/
17 /*** structures declarations (and typedefs of structures)*****************************************/
24 int count
; /* number of members */
25 hotkey_t
*texts
; /* texts of labels */
28 /*** global variables defined in .c file *********************************************************/
30 extern const global_keymap_t
*radio_map
;
32 /*** declarations of public functions ************************************************************/
34 WRadio
*radio_new (int y
, int x
, int count
, const char **text
);
36 /*** inline functions ****************************************************************************/
38 #endif /* MC__WIDGET_RADIO_H */