| 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 |
/*Open GL basic component set |
| 12 |
includes glPanel,glCompButton,glCompCustomButton,clCompLabel,glCompStyle |
| 13 |
*/ |
| 14 |
|
| 15 |
#pragma once |
| 16 |
|
| 17 |
#include <glcomp/glcompfont.h> |
| 18 |
#include <glcomp/glcomptextpng.h> |
| 19 |
|
| 20 |
#ifdef __cplusplus |
| 21 |
extern "C" { |
| 22 |
#endif |
| 23 |
|
| 24 |
void glCompInitCommon(glCompObj *childObj, glCompObj *parentObj, float x, |
| 25 |
float y); |
| 26 |
void glCompEmptyCommon(glCompCommon * c); |
| 27 |
extern glCompSet *glCompSetNew(int w, int h); |
| 28 |
extern void glCompSetDraw(glCompSet *s); |
| 29 |
extern void glcompsetUpdateBorder(glCompSet * s, int w, int h); |
| 30 |
extern void glCompDrawBegin(void); |
| 31 |
extern void glCompDrawEnd(void); |
| 32 |
extern void glCompSetAddObj(glCompSet * s, glCompObj * obj); |
| 33 |
|
| 34 |
#ifdef __cplusplus |
| 35 |
} |
| 36 |
#endif |