25 float h,
char *caption) {
146 for (
size_t ind = 0; ind <
s->objcnt; ind++) {
169 if (((
glCompButton *) obj)->common.callbacks.doubleclick)
170 ((
glCompButton *) obj)->common.callbacks.doubleclick(obj, x, y, t);
182 ((
glCompButton *) obj)->common.callbacks.mousedown(obj, x, y, t);
188 ((
glCompButton *) obj)->common.callbacks.mousein(obj, x, y);
194 ((
glCompButton *) obj)->common.callbacks.mouseout(obj, x, y);
200 ((
glCompButton *) obj)->common.callbacks.mouseover(obj, x, y);
208 ((
glCompButton *) obj)->common.callbacks.mouseup(obj, x, y, t);
Memory allocation wrappers that exit on failure.
static void * gv_alloc(size_t size)
#define GLCOMPSET_BUTTON_COLOR_G
#define GLCOMPSET_BUTTON_COLOR_R
#define GLCOMPSET_BUTTON_BEVEL
#define GLCOMPSET_BUTTON_COLOR_ALPHA
void(* glcompdrawfunc_t)(void *obj)
#define GLCOMPSET_BUTTON_COLOR_B
glCompFont * glNewFontFromParent(glCompObj *o, char *text)
void glCompImageDelete(glCompImage *p)
int glCompImageLoadPng(glCompImage *i, char *pngFile)
glCompImage * glCompImageNew(glCompObj *par, float x, float y)
glCompLabel * glCompLabelNew(glCompObj *par, char *text)
void glCompInitCommon(glCompObj *childObj, glCompObj *parentObj, float x, float y)
void glCompCalcWidget(glCompCommon *parent, glCompCommon *child, glCompCommon *ref)
void glCompDrawRectPrism(glCompPoint *p, float w, float h, float b, float d, glCompColor *c, bool bumped)
char * fileName(ingraph_state *sp)
Return name of current file being processed.
glcompdoubleclickfunc_t doubleclick
glcompmouseoutfunc_t mouseout
glcompmouseupfunc_t mouseup
glcompmouseinfunc_t mousein
glcompmousedownfunc_t mousedown
glcompmouseoverfunc_t mouseover
glCompCallBacks callbacks
glCompCallBacks functions