Debian Codegraph @

lib/glcomp/glcomptexture.h

raw
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
26 extern "C" {
27 #endif
28
29 glCompTex *glCompSetAddNewTexImage(glCompSet *s, int width, int height,
30 const unsigned char *data, bool is2D);
31 glCompTex *glCompSetAddNewTexLabel(glCompSet *s, char *def, int fs,
32 const char *text, bool is2D);
33
34 extern void glCompDeleteTexture(glCompTex * t);
35 #ifdef __cplusplus
36 }
37 #endif