Graphviz
13.0.0~dev.20241220.2304
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
(
void
*par,
float
x,
float
y,
float
w,
float
h,
20
char
*caption);
21
extern
void
glCompButtonDraw
(
glCompButton
* p);
22
int
glCompButtonAddPngGlyph
(
glCompButton
*b,
const
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
glCompButtonAddPngGlyph
int glCompButtonAddPngGlyph(glCompButton *b, const char *fileName)
Definition
glcompbutton.c:64
glCompButtonDraw
void glCompButtonDraw(glCompButton *p)
Definition
glcompbutton.c:117
glCompButtonNew
glCompButton * glCompButtonNew(void *par, float x, float y, float w, float h, char *caption)
Definition
glcompbutton.c:23
glCompButtonMouseUp
void glCompButtonMouseUp(glCompObj *o, float x, float y, glMouseButtonType t)
Definition
glcompbutton.c:181
glCompButtonClick
void glCompButtonClick(glCompObj *o, float x, float y, glMouseButtonType t)
Definition
glcompbutton.c:135
glCompButtonMouseDown
void glCompButtonMouseDown(glCompObj *o, float x, float y, glMouseButtonType t)
Definition
glcompbutton.c:154
glCompButtonMouseIn
void glCompButtonMouseIn(glCompObj *o, float x, float y)
Definition
glcompbutton.c:166
glCompButtonShow
void glCompButtonShow(glCompButton *p)
Definition
glcompbutton.c:108
glCompButtonMouseOut
void glCompButtonMouseOut(glCompObj *o, float x, float y)
Definition
glcompbutton.c:171
glCompButtonDoubleClick
void glCompButtonDoubleClick(glCompObj *o, float x, float y, glMouseButtonType t)
Definition
glcompbutton.c:147
glCompButtonMouseOver
void glCompButtonMouseOver(glCompObj *o, float x, float y)
Definition
glcompbutton.c:176
glCompButtonHide
void glCompButtonHide(glCompButton *p)
Definition
glcompbutton.c:99
glcompdefs.h
glMouseButtonType
glMouseButtonType
Definition
glcompdefs.h:67
fileName
char * fileName(ingraph_state *sp)
Return name of current file being processed.
Definition
ingraphs.c:156
glCompButton
Definition
glcompdefs.h:225
glCompObj_
object prototype
Definition
glcompdefs.h:199
lib
glcomp
glcompbutton.h
Generated by
1.9.8