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
16extern "C" {
17#endif
18
19glCompButton *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);
23void glCompButtonClick(glCompObj *o, float x, float y, glMouseButtonType t);
24void glCompButtonDoubleClick(glCompObj *o, float x, float y,
26void glCompButtonMouseDown(glCompObj *o, float x, float y,
28void glCompButtonMouseIn(glCompObj *o, float x, float y);
29void glCompButtonMouseOut(glCompObj *o, float x, float y);
30void glCompButtonMouseOver(glCompObj *o, float x, float y);
31void 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
void glCompButtonDraw(glCompButton *p)
int glCompButtonAddPngGlyph(glCompButton *b, char *fileName)
glCompButton * glCompButtonNew(glCompObj *par, float x, float y, float w, float h, char *caption)
void glCompButtonMouseUp(glCompObj *o, float x, float y, glMouseButtonType t)
void glCompButtonClick(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 glCompButtonShow(glCompButton *p)
void glCompButtonMouseOut(glCompObj *o, float x, float y)
void glCompButtonDoubleClick(glCompObj *o, float x, float y, glMouseButtonType t)
void glCompButtonMouseOver(glCompObj *o, float x, float y)
void glCompButtonHide(glCompButton *p)
glMouseButtonType
Definition glcompdefs.h:89
char * fileName(ingraph_state *sp)
Return name of current file being processed.
Definition ingraphs.c:156