Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
glcomppanel.c File Reference
#include <glcomp/glcomppanel.h>
#include <glcomp/glcompfont.h>
#include <glcomp/glcompset.h>
#include <glcomp/glcomptexture.h>
#include <glcomp/glutils.h>
#include <stdbool.h>
#include <util/alloc.h>
Include dependency graph for glcomppanel.c:

Go to the source code of this file.

Functions

static void glCompPanelDraw (void *o)
 
glCompPanelglCompPanelNew (void *parentObj, float x, float y, float w, float h)
 

Function Documentation

◆ glCompPanelDraw()

static void glCompPanelDraw ( void *  o)
static

Definition at line 19 of file glcomppanel.c.

References glCompImage::base, glCompPanel::base, glCompCommon::borderWidth, glCompCommon::callbacks, glCompObj_::common, glCompCallBacks::draw, glCompCalcWidget(), glCompDrawRectangle(), glCompDrawRectPrism(), glCompRect::h, glCompPanel::image, glCompCommon::parent, glCompRect::pos, ref(), glCompPanel::shadowwidth, glCompCommon::visible, glCompRect::w, glCompPoint::x, glCompPoint::y, and glCompPoint::z.

Referenced by glCompPanelNew().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glCompPanelNew()

glCompPanel * glCompPanelNew ( void *  parentObj,
float  x,
float  y,
float  w,
float  h 
)

Definition at line 54 of file glcomppanel.c.

References glCompPanel::base, glCompCommon::borderWidth, glCompObj_::common, glCompCallBacks::draw, glCompCommon::font, glCompCommon::functions, glCompInitCommon(), glCompPanelDraw(), GLCOMPSET_PANEL_BORDERWIDTH, GLCOMPSET_PANEL_SHADOW_WIDTH, glDeleteFont(), glNewFontFromParent(), gv_alloc(), glCompCommon::height, glCompPanel::image, NULL, glCompPanel::shadowwidth, glCompPanel::text, and glCompCommon::width.

Referenced by glcreate_gl_topview_menu().

Here is the call graph for this function:
Here is the caller graph for this function: