diff options
Diffstat (limited to 'iup/src/iup_toggle.h')
-rwxr-xr-x | iup/src/iup_toggle.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/iup/src/iup_toggle.h b/iup/src/iup_toggle.h new file mode 100755 index 0000000..08e14b0 --- /dev/null +++ b/iup/src/iup_toggle.h @@ -0,0 +1,37 @@ +/** \file + * \brief Toggle Controls Private Declarations + * + * See Copyright Notice in "iup.h" + */ + +#ifndef __IUP_TOGGLE_H +#define __IUP_TOGGLE_H + +#ifdef __cplusplus +extern "C" { +#endif + + +void iupdrvButtonAddBorders(int *x, int *y); /* reuse button borders */ + +void iupdrvToggleInitClass(Iclass* ic); +void iupdrvToggleAddCheckBox(int *x, int *y); + +Ihandle *iupRadioFindToggleParent(Ihandle* ih_toggle); +char* iupToggleGetPaddingAttrib(Ihandle* ih); + +enum {IUP_TOGGLE_IMAGE, IUP_TOGGLE_TEXT}; + +struct _IcontrolData +{ + int type, /* the 2 toggle possibilities */ + radio, + horiz_padding, vert_padding; /* toggle margin for images */ +}; + + +#ifdef __cplusplus +} +#endif + +#endif |