configure.c: fix AX_GCC_FUNC_ATTRIBUTE detection on custom CFLAGS
[midnight-commander.git] / lib / widget / radio.h
blobb7f85781eb8c67e2940f81f9d8f8e505f009c128
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 int pos;
21 int 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 */