(exec_extension): rename variable.
[midnight-commander.git] / lib / widget / radio.h
blobc6addf8217ca4bd43a876ab2d3d1e0c6166fbd24
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 #define RADIO(x) ((WRadio *)(x))
13 /*** enums ***************************************************************************************/
15 /*** structures declarations (and typedefs of structures)*****************************************/
17 typedef struct WRadio
19 Widget widget;
20 unsigned int state; /* radio button state */
21 int pos, sel;
22 int count; /* number of members */
23 hotkey_t *texts; /* texts of labels */
24 } WRadio;
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 */