87a88d82e472819ac532208628c36d1d9511b837
[midnight-commander.git] / lib / widget / radio.h
blob87a88d82e472819ac532208628c36d1d9511b837
2 /** \file radio.h
3 * \brief Header: WRadio widget
4 */
6 #ifndef MC__WIDGET_RADIO_H
7 #define MC__WIDGET_RADIO_H
9 /*** typedefs(not structures) and defined constants **********************************************/
11 /*** enums ***************************************************************************************/
13 /*** structures declarations (and typedefs of structures)*****************************************/
15 typedef struct WRadio
17 Widget widget;
18 unsigned int state; /* radio button state */
19 int pos, sel;
20 int count; /* number of members */
21 hotkey_t *texts; /* texts of labels */
22 } WRadio;
24 /*** global variables defined in .c file *********************************************************/
26 /*** declarations of public functions ************************************************************/
28 WRadio *radio_new (int y, int x, int count, const char **text);
30 /*** inline functions ****************************************************************************/
32 #endif /* MC__WIDGET_RADIO_H */