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))
14 #define C_CHANGE 0x0002
16 /*** enums ***************************************************************************************/
18 /*** structures declarations (and typedefs of structures)*****************************************/
23 unsigned int state
; /* check button state */
24 hotkey_t text
; /* text of check button */
27 /*** global variables defined in .c file *********************************************************/
29 /*** declarations of public functions ************************************************************/
31 WCheck
*check_new (int y
, int x
, int state
, const char *text
);
33 /*** inline functions ****************************************************************************/
35 #endif /* MC__WIDGET_CHECK_H */