28 const float SHADOW_COLOR_R = 0.0f;
29 const float SHADOW_COLOR_G = 0.0f;
30 const float SHADOW_COLOR_B = 0.0f;
31 const float SHADOW_COLOR_A = 0.3f;
32 glColor4f(SHADOW_COLOR_R, SHADOW_COLOR_G, SHADOW_COLOR_B, SHADOW_COLOR_A);
Memory allocation wrappers that exit on failure.
static void * gv_alloc(size_t size)
#define GLCOMPSET_PANEL_SHADOW_WIDTH
#define GLCOMPSET_PANEL_BORDERWIDTH
glCompFont glNewFontFromParent(glCompObj *o, char *text)
void glDeleteFont(glCompFont *f)
static void glCompPanelDraw(void *o)
glCompPanel * glCompPanelNew(void *parentObj, float x, float y, float w, float h)
void glCompInitCommon(glCompObj *childObj, glCompObj *parentObj, float x, float y)
void glCompDrawRectangle(glCompRect *r)
void glCompCalcWidget(glCompCommon *parent, glCompCommon *child, glCompCommon *ref)
void glCompDrawRectPrism(glCompPoint *p, float w, float h, float b, float d, glCompColor *c, bool bumped)
glCompCallBacks callbacks
glCompCallBacks functions
glCompFont font
font to use