configure.c: fix AX_GCC_FUNC_ATTRIBUTE detection on custom CFLAGS
[midnight-commander.git] / lib / widget / check.h
blob3f23e0216471e64254829d1e32af7a5e8f047eb8
2 /** \file check.h
3 * \brief Header: WCheck widget
4 */
6 #ifndef MC__WIDGET_CHECK_H
7 #define MC__WIDGET_CHECK_H
9 /*** typedefs(not structures) and defined constants **********************************************/
11 #define CHECK(x) ((WCheck *)(x))
13 /*** enums ***************************************************************************************/
15 /*** structures declarations (and typedefs of structures)*****************************************/
17 typedef struct WCheck
19 Widget widget;
20 gboolean state; /* check button state */
21 hotkey_t text; /* text of check button */
22 } WCheck;
24 /*** global variables defined in .c file *********************************************************/
26 /*** declarations of public functions ************************************************************/
28 WCheck *check_new (int y, int x, gboolean state, const char *text);
30 /*** inline functions ****************************************************************************/
32 #endif /* MC__WIDGET_CHECK_H */