With Clang on macOS, this causes compiler warnings due to initializing a pointer
with `'\0'`. This fails the CMake build which will be enabled in a future
commit. We could rephrase this, but it is simpler to just remove this unused
member.
Gitlab: #1836, #1854
p->status = 0; //0 not pressed 1 pressed;
p->groupid = 0;
p->common.callbacks.click = '\0';
- p->customptr = '\0';
/*set event functions */
p->common.functions.draw = (glcompdrawfunc_t)glCompButtonDraw;
int groupid;
glCompImage *image; /*glyph */
glCompButtonGlyph glyphPos;
- void *customptr; //general purpose void pointer to pass to call back
int data;
};