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

Go to the source code of this file.

Functions

static void glCompLabelDraw (void *label)
 
glCompLabelglCompLabelNew (void *par, char *text)
 

Function Documentation

◆ glCompLabelDraw()

static void glCompLabelDraw ( void *  label)
static

Definition at line 17 of file glcomplabel.c.

References glCompLabel::base, glCompObj_::common, glCompCommon::font, glCompCalcWidget(), glCompRenderText(), label(), glCompCommon::parent, and ref().

Referenced by glCompLabelNew().

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

◆ glCompLabelNew()

glCompLabel * glCompLabelNew ( void *  par,
char *  text 
)

Definition at line 24 of file glcomplabel.c.

References glCompLabel::base, glCompObj_::common, glCompCallBacks::draw, glCompCommon::font, glCompCommon::functions, glCompInitCommon(), glCompLabelDraw(), glDeleteFont(), glNewFontFromParent(), gv_alloc(), gv_strdup(), and glCompLabel::text.

Referenced by glCompButtonNew().

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