facf0c92e0
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
34 lines
1.1 KiB
C
34 lines
1.1 KiB
C
|
|
/** \file check.h
|
|
* \brief Header: WCheck widget
|
|
*/
|
|
|
|
#ifndef MC__WIDGET_CHECK_H
|
|
#define MC__WIDGET_CHECK_H
|
|
|
|
/*** typedefs(not structures) and defined constants **********************************************/
|
|
|
|
#define CHECK(x) ((WCheck *)(x))
|
|
|
|
/*** enums ***************************************************************************************/
|
|
|
|
/*** structures declarations (and typedefs of structures)*****************************************/
|
|
|
|
typedef struct WCheck
|
|
{
|
|
Widget widget;
|
|
gboolean state; /* check button state */
|
|
hotkey_t text; /* text of check button */
|
|
} WCheck;
|
|
|
|
/*** global variables defined in .c file *********************************************************/
|
|
|
|
/*** declarations of public functions ************************************************************/
|
|
|
|
WCheck *check_new (int y, int x, gboolean state, const char *text);
|
|
void check_set_text (WCheck * check, const char *text);
|
|
|
|
/*** inline functions ****************************************************************************/
|
|
|
|
#endif /* MC__WIDGET_CHECK_H */
|