Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
glcomppanel.c File Reference
#include <cgraph/alloc.h>
#include <glcomp/glcomppanel.h>
#include <glcomp/glcompfont.h>
#include <glcomp/glcompset.h>
#include <glcomp/glcomptexture.h>
#include <glcomp/glutils.h>
#include <stdbool.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 glCompColor::A, glCompColor::B, glCompCommon::borderWidth, glCompCommon::callbacks, glCompImage::common, glCompPanel::common, glCompCallBacks::draw, glCompColor::G, glCompCalcWidget(), glCompDrawRectangle(), glCompDrawRectPrism(), glPanelObj, glCompRect::h, glCompPanel::image, glCompPanel::objType, glCompCommon::parent, glCompRect::pos, glCompColor::R, ref(), glCompPanel::shadowcolor, 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 53 of file glcomppanel.c.

References glCompColor::A, glCompColor::B, glCompCommon::borderWidth, glCompPanel::common, glCompCallBacks::draw, glCompCommon::font, glCompCommon::functions, glCompColor::G, glCompInitCommon(), glCompPanelDraw(), GLCOMPSET_PANEL_BORDERWIDTH, GLCOMPSET_PANEL_SHADOW_COLOR_A, GLCOMPSET_PANEL_SHADOW_COLOR_B, GLCOMPSET_PANEL_SHADOW_COLOR_G, GLCOMPSET_PANEL_SHADOW_COLOR_R, GLCOMPSET_PANEL_SHADOW_WIDTH, glNewFontFromParent(), gv_alloc(), glCompCommon::height, glCompPanel::image, NULL, glCompColor::R, glCompPanel::shadowcolor, 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: