Graphviz
12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
glcompbutton.h
Go to the documentation of this file.
1
/*************************************************************************
2
* Copyright (c) 2011 AT&T Intellectual Property
3
* All rights reserved. This program and the accompanying materials
4
* are made available under the terms of the Eclipse Public License v1.0
5
* which accompanies this distribution, and is available at
6
* https://www.eclipse.org/legal/epl-v10.html
7
*
8
* Contributors: Details at https://graphviz.org
9
*************************************************************************/
10
11
#pragma once
12
13
#include <
glcomp/glcompdefs.h
>
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
19
glCompButton
*
glCompButtonNew
(
glCompObj
*par,
float
x,
float
y,
float
w,
20
float
h,
char
*caption);
21
extern
void
glCompButtonDraw
(
glCompButton
* p);
22
extern
int
glCompButtonAddPngGlyph
(
glCompButton
* b,
char
*
fileName
);
23
void
glCompButtonClick
(
glCompObj
*o,
float
x,
float
y,
glMouseButtonType
t);
24
void
glCompButtonDoubleClick
(
glCompObj
*o,
float
x,
float
y,
25
glMouseButtonType
t);
26
void
glCompButtonMouseDown
(
glCompObj
*o,
float
x,
float
y,
27
glMouseButtonType
t);
28
void
glCompButtonMouseIn
(
glCompObj
*o,
float
x,
float
y);
29
void
glCompButtonMouseOut
(
glCompObj
*o,
float
x,
float
y);
30
void
glCompButtonMouseOver
(
glCompObj
*o,
float
x,
float
y);
31
void
glCompButtonMouseUp
(
glCompObj
*o,
float
x,
float
y,
glMouseButtonType
t);
32
extern
void
glCompButtonHide
(
glCompButton
* p);
33
extern
void
glCompButtonShow
(
glCompButton
* p);
34
35
#ifdef __cplusplus
36
}
37
#endif
glCompButtonDraw
void glCompButtonDraw(glCompButton *p)
Definition
glcompbutton.c:119
glCompButtonAddPngGlyph
int glCompButtonAddPngGlyph(glCompButton *b, char *fileName)
Definition
glcompbutton.c:65
glCompButtonNew
glCompButton * glCompButtonNew(glCompObj *par, float x, float y, float w, float h, char *caption)
Definition
glcompbutton.c:24
glCompButtonMouseUp
void glCompButtonMouseUp(glCompObj *o, float x, float y, glMouseButtonType t)
Definition
glcompbutton.c:203
glCompButtonClick
void glCompButtonClick(glCompObj *o, float x, float y, glMouseButtonType t)
Definition
glcompbutton.c:139
glCompButtonMouseDown
void glCompButtonMouseDown(glCompObj *o, float x, float y, glMouseButtonType t)
Definition
glcompbutton.c:173
glCompButtonMouseIn
void glCompButtonMouseIn(glCompObj *o, float x, float y)
Definition
glcompbutton.c:185
glCompButtonShow
void glCompButtonShow(glCompButton *p)
Definition
glcompbutton.c:110
glCompButtonMouseOut
void glCompButtonMouseOut(glCompObj *o, float x, float y)
Definition
glcompbutton.c:191
glCompButtonDoubleClick
void glCompButtonDoubleClick(glCompObj *o, float x, float y, glMouseButtonType t)
Definition
glcompbutton.c:165
glCompButtonMouseOver
void glCompButtonMouseOver(glCompObj *o, float x, float y)
Definition
glcompbutton.c:197
glCompButtonHide
void glCompButtonHide(glCompButton *p)
Definition
glcompbutton.c:101
glcompdefs.h
glMouseButtonType
glMouseButtonType
Definition
glcompdefs.h:89
fileName
char * fileName(ingraph_state *sp)
Return name of current file being processed.
Definition
ingraphs.c:156
_glCompButton
Definition
glcompdefs.h:256
_glCompObj
Definition
glcompdefs.h:272
lib
glcomp
glcompbutton.h
Generated by
1.9.8