Jump to content
Sign in to follow this  

checkbox.h FOR C++

Recommended Posts

if you use ugfx with c++, you need add this in checkbox.h( added code in red )

/* A Checkbox window */

typedef struct GCheckboxObject {

GWidgetObject w;


uint16_t toggle;


} GCheckboxObject;

#ifdef __cplusplus

extern "C" {



#ifdef __cplusplus



#endif /* _GWIN_CHECKBOX_H */

/** @} */

Share this post

Link to post
Share on other sites
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...