WCheck: remove unused C_CHANGE.
[midnight-commander.git] / lib / widget / check.h
blob1ddfa30931bb9989ed9ab69d6ad3e0018bd402c5
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 #define C_BOOL 0x0001
15 /*** enums ***************************************************************************************/
17 /*** structures declarations (and typedefs of structures)*****************************************/
19 typedef struct WCheck
21 Widget widget;
22 unsigned int state; /* check button state */
23 hotkey_t text; /* text of check button */
24 } WCheck;
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 */