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))
15 /*** enums ***************************************************************************************/
17 /*** structures declarations (and typedefs of structures)*****************************************/
22 unsigned int state
; /* check button state */
23 hotkey_t text
; /* text of check button */
26 /*** global variables defined in .c file *********************************************************/
28 /*** declarations of public functions ************************************************************/
30 WCheck
*check_new (int y
, int x
, int state
, const char *text
);
32 /*** inline functions ****************************************************************************/
34 #endif /* MC__WIDGET_CHECK_H */