Graphviz 13.0.0~dev.20241220.2304
|
#include <glcomp/glcompdefs.h>
Go to the source code of this file.
Functions | |
glCompButton * | glCompButtonNew (void *par, float x, float y, float w, float h, char *caption) |
void | glCompButtonDraw (glCompButton *p) |
int | glCompButtonAddPngGlyph (glCompButton *b, const 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) |
int glCompButtonAddPngGlyph | ( | glCompButton * | b, |
const char * | fileName | ||
) |
Definition at line 64 of file glcompbutton.c.
References glCompCommon::align, glCompCommon::anchor, glCompImage::base, glCompLabel::base, glCompAnchor::bottom, glCompAnchor::bottomAnchor, glCompObj_::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().
void glCompButtonClick | ( | glCompObj * | o, |
float | x, | ||
float | y, | ||
glMouseButtonType | t | ||
) |
Definition at line 135 of file glcompbutton.c.
References glCompButton::base, glCompCommon::callbacks, glCompCallBacks::click, glCompObj_::common, glCompButton::groupid, and glCompButton::status.
Referenced by glCompButtonNew().
void glCompButtonDoubleClick | ( | glCompObj * | o, |
float | x, | ||
float | y, | ||
glMouseButtonType | t | ||
) |
Definition at line 147 of file glcompbutton.c.
References glCompCommon::callbacks, glCompObj_::common, and glCompCallBacks::doubleclick.
Referenced by glCompButtonNew().
|
extern |
Definition at line 117 of file glcompbutton.c.
References glCompImage::base, glCompLabel::base, glCompButton::base, glCompCommon::borderWidth, glCompCommon::callbacks, glCompObj_::common, glCompCallBacks::draw, glCompCommon::functions, glCompCalcWidget(), glCompDrawRectPrism(), glCompButton::image, glCompButton::label, glCompCommon::parent, ref(), glCompButton::status, and glCompCommon::visible.
Referenced by glCompButtonNew().
|
extern |
Definition at line 99 of file glcompbutton.c.
References glCompImage::base, glCompLabel::base, glCompButton::base, glCompObj_::common, glCompButton::image, glCompButton::label, and glCompCommon::visible.
Referenced by glcreate_gl_topview_menu(), menu_switch_to_fisheye(), and switch2D3D().
void glCompButtonMouseDown | ( | glCompObj * | o, |
float | x, | ||
float | y, | ||
glMouseButtonType | t | ||
) |
Definition at line 154 of file glcompbutton.c.
References glCompCommon::callbacks, glCompObj_::common, and glCompCallBacks::mousedown.
Referenced by glCompButtonNew().
void glCompButtonMouseIn | ( | glCompObj * | o, |
float | x, | ||
float | y | ||
) |
Definition at line 166 of file glcompbutton.c.
References glCompCommon::callbacks, glCompObj_::common, and glCompCallBacks::mousein.
Referenced by glCompButtonNew().
void glCompButtonMouseOut | ( | glCompObj * | o, |
float | x, | ||
float | y | ||
) |
Definition at line 171 of file glcompbutton.c.
References glCompCommon::callbacks, glCompObj_::common, and glCompCallBacks::mouseout.
Referenced by glCompButtonNew().
void glCompButtonMouseOver | ( | glCompObj * | o, |
float | x, | ||
float | y | ||
) |
Definition at line 176 of file glcompbutton.c.
References glCompCommon::callbacks, glCompObj_::common, and glCompCallBacks::mouseover.
Referenced by glCompButtonNew().
void glCompButtonMouseUp | ( | glCompObj * | o, |
float | x, | ||
float | y, | ||
glMouseButtonType | t | ||
) |
Definition at line 181 of file glcompbutton.c.
References glCompCommon::callbacks, glCompObj_::common, and glCompCallBacks::mouseup.
Referenced by glCompButtonNew().
glCompButton * glCompButtonNew | ( | void * | par, |
float | x, | ||
float | y, | ||
float | w, | ||
float | h, | ||
char * | caption | ||
) |
Definition at line 23 of file glcompbutton.c.
References glCompColor::A, glCompCommon::align, glCompColor::B, glCompLabel::base, glCompButton::base, glCompCommon::borderWidth, glCompCommon::callbacks, glCompCallBacks::click, glCompCommon::color, glCompObj_::common, glCompCallBacks::doubleclick, glCompCallBacks::draw, glCompCommon::font, glCompCommon::functions, glCompColor::G, glAlignParent, 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, glDeleteFont(), 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, glCompColor::R, glCompButton::status, glCompJustify::VJustify, and glCompCommon::width.
Referenced by glcreate_gl_topview_menu().
|
extern |
Definition at line 108 of file glcompbutton.c.
References glCompImage::base, glCompLabel::base, glCompButton::base, glCompObj_::common, glCompButton::image, glCompButton::label, and glCompCommon::visible.
Referenced by menu_switch_to_fisheye(), and switch2D3D().