3 * \brief Header: WCheck widget
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)*****************************************/
20 gboolean state
; /* check button state */
21 hotkey_t text
; /* text of check button */
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
);
29 void check_set_text (WCheck
* check
, const char *text
);
31 /*** inline functions ****************************************************************************/
33 #endif /* MC__WIDGET_CHECK_H */