Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
glcompbutton.h File Reference
Include dependency graph for glcompbutton.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

glCompButtonglCompButtonNew (glCompObj *par, float x, float y, float w, float h, char *caption)
 
void glCompButtonDraw (glCompButton *p)
 
int glCompButtonAddPngGlyph (glCompButton *b, char *fileName)
 
void glCompButtonClick (glCompObj *o, float x, float y, glMouseButtonType t)
 
void glCompButtonDoubleClick (glCompObj *o, float x, float y, glMouseButtonType t)
 
void glCompButtonMouseDown (glCompObj *o, float x, float y, glMouseButtonType t)
 
void glCompButtonMouseIn (glCompObj *o, float x, float y)
 
void glCompButtonMouseOut (glCompObj *o, float x, float y)
 
void glCompButtonMouseOver (glCompObj *o, float x, float y)
 
void glCompButtonMouseUp (glCompObj *o, float x, float y, glMouseButtonType t)
 
void glCompButtonHide (glCompButton *p)
 
void glCompButtonShow (glCompButton *p)
 

Function Documentation

◆ glCompButtonAddPngGlyph()

int glCompButtonAddPngGlyph ( glCompButton b,
char *  fileName 
)
extern

Definition at line 65 of file glcompbutton.c.

References glCompCommon::align, glCompCommon::anchor, glCompAnchor::bottom, glCompAnchor::bottomAnchor, glCompImage::common, glCompLabel::common, fileName(), glAlignNone, glCompImageDelete(), glCompImageLoadPng(), glCompImageNew(), _glCompButton::image, _glCompButton::label, glCompAnchor::left, glCompAnchor::leftAnchor, glCompAnchor::right, glCompAnchor::rightAnchor, glCompAnchor::top, glCompAnchor::topAnchor, 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:

◆ glCompButtonClick()

void glCompButtonClick ( glCompObj o,
float  x,
float  y,
glMouseButtonType  t 
)

Definition at line 139 of file glcompbutton.c.

References glCompCommon::callbacks, glCompCallBacks::click, _glCompButton::common, _glCompObj::common, glCompCommon::compset, glButtonObj, _glCompButton::groupid, _glCompObj::objType, and _glCompButton::status.

Referenced by glCompButtonNew().

Here is the caller graph for this function:

◆ glCompButtonDoubleClick()

void glCompButtonDoubleClick ( glCompObj o,
float  x,
float  y,
glMouseButtonType  t 
)

Definition at line 165 of file glcompbutton.c.

Referenced by glCompButtonNew().

Here is the caller graph for this function:

◆ glCompButtonDraw()

void glCompButtonDraw ( glCompButton p)
extern

Definition at line 119 of file glcompbutton.c.

References glCompCommon::borderWidth, glCompCommon::callbacks, glCompImage::common, glCompLabel::common, _glCompButton::common, glCompCallBacks::draw, glCompCommon::functions, glCompCalcWidget(), glCompDrawRectPrism(), _glCompButton::image, _glCompButton::label, glCompCommon::parent, ref(), _glCompButton::status, and glCompCommon::visible.

Referenced by glCompButtonNew().

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

◆ glCompButtonHide()

void glCompButtonHide ( glCompButton p)
extern

Definition at line 101 of file glcompbutton.c.

References glCompImage::common, glCompLabel::common, _glCompButton::common, _glCompButton::image, _glCompButton::label, and glCompCommon::visible.

Referenced by glcreate_gl_topview_menu(), menu_switch_to_fisheye(), and switch2D3D().

Here is the caller graph for this function:

◆ glCompButtonMouseDown()

void glCompButtonMouseDown ( glCompObj o,
float  x,
float  y,
glMouseButtonType  t 
)

Definition at line 173 of file glcompbutton.c.

Referenced by glCompButtonNew().

Here is the caller graph for this function:

◆ glCompButtonMouseIn()

void glCompButtonMouseIn ( glCompObj o,
float  x,
float  y 
)

Definition at line 185 of file glcompbutton.c.

Referenced by glCompButtonNew().

Here is the caller graph for this function:

◆ glCompButtonMouseOut()

void glCompButtonMouseOut ( glCompObj o,
float  x,
float  y 
)

Definition at line 191 of file glcompbutton.c.

Referenced by glCompButtonNew().

Here is the caller graph for this function:

◆ glCompButtonMouseOver()

void glCompButtonMouseOver ( glCompObj o,
float  x,
float  y 
)

Definition at line 197 of file glcompbutton.c.

Referenced by glCompButtonNew().

Here is the caller graph for this function:

◆ glCompButtonMouseUp()

void glCompButtonMouseUp ( glCompObj o,
float  x,
float  y,
glMouseButtonType  t 
)

Definition at line 203 of file glcompbutton.c.

Referenced by glCompButtonNew().

Here is the caller graph for this function:

◆ glCompButtonNew()

glCompButton * glCompButtonNew ( glCompObj par,
float  x,
float  y,
float  w,
float  h,
char *  caption 
)

Definition at line 24 of file glcompbutton.c.

References glCompColor::A, glCompCommon::align, glCompColor::B, glCompCommon::borderWidth, glCompCommon::callbacks, glCompCallBacks::click, glCompCommon::color, glCompLabel::common, _glCompButton::common, glCompCallBacks::doubleclick, glCompCallBacks::draw, glCompCommon::font, glCompCommon::functions, glCompColor::G, glAlignParent, glButtonObj, glCompButtonClick(), glCompButtonDoubleClick(), glCompButtonDraw(), glCompButtonMouseDown(), glCompButtonMouseIn(), glCompButtonMouseOut(), glCompButtonMouseOver(), glCompButtonMouseUp(), glCompInitCommon(), glCompLabelNew(), GLCOMPSET_BUTTON_BEVEL, GLCOMPSET_BUTTON_COLOR_ALPHA, GLCOMPSET_BUTTON_COLOR_B, GLCOMPSET_BUTTON_COLOR_G, GLCOMPSET_BUTTON_COLOR_R, glFontHJustifyCenter, glFontVJustifyCenter, glNewFontFromParent(), _glCompButton::groupid, gv_alloc(), glCompCommon::height, glCompJustify::HJustify, _glCompButton::image, glCompFont::justify, _glCompButton::label, glCompCallBacks::mousedown, glCompCallBacks::mousein, glCompCallBacks::mouseout, glCompCallBacks::mouseover, glCompCallBacks::mouseup, NULL, _glCompButton::objType, glCompColor::R, _glCompButton::status, glCompJustify::VJustify, 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:

◆ glCompButtonShow()

void glCompButtonShow ( glCompButton p)
extern

Definition at line 110 of file glcompbutton.c.

References glCompImage::common, glCompLabel::common, _glCompButton::common, _glCompButton::image, _glCompButton::label, and glCompCommon::visible.

Referenced by menu_switch_to_fisheye(), and switch2D3D().

Here is the caller graph for this function: