Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
glcomptexture.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/*Open GL texture handling and storing mechanism
12 includes glPanel,glCompButton,glCompCustomButton,clCompLabel,glCompStyle
13*/
14
15#pragma once
16
17#ifdef _WIN32
18#include "windows.h"
19#endif
20#include <stdbool.h>
21#include <stdio.h>
22#include <glcomp/opengl.h>
23#include <glcomp/glcompdefs.h>
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29glCompTex *glCompSetAddNewTexImage(glCompSet *s, int width, int height,
30 const unsigned char *data, bool is2D);
31glCompTex *glCompSetAddNewTexLabel(glCompSet *s, char *def, int fs, char *text,
32 bool is2D);
33
34 extern void glCompDeleteTexture(glCompTex * t);
35#ifdef __cplusplus
36}
37#endif
glCompTex * glCompSetAddNewTexLabel(glCompSet *s, char *def, int fs, char *text, bool is2D)
void glCompDeleteTexture(glCompTex *t)
glCompTex * glCompSetAddNewTexImage(glCompSet *s, int width, int height, const unsigned char *data, bool is2D)
Definition legal.c:50
Definition grammar.c:93