9c823b26b4feb7f8108f20869a9524f1b27f7e34
[midnight-commander.git] / lib / widget / check.h
blob9c823b26b4feb7f8108f20869a9524f1b27f7e34
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 C_BOOL 0x0001
12 #define C_CHANGE 0x0002
14 /*** enums ***************************************************************************************/
16 /*** structures declarations (and typedefs of structures)*****************************************/
18 typedef struct WCheck
20 Widget widget;
21 unsigned int state; /* check button state */
22 hotkey_t text; /* text of check button */
23 } WCheck;
25 /*** global variables defined in .c file *********************************************************/
27 /*** declarations of public functions ************************************************************/
29 WCheck *check_new (int y, int x, int state, const char *text);
31 /*** inline functions ****************************************************************************/
33 #endif /* MC__WIDGET_CHECK_H */