1 /*
2  * This file is part of gtkD.
3  *
4  * gtkD is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser General Public License
6  * as published by the Free Software Foundation; either version 3
7  * of the License, or (at your option) any later version, with
8  * some exceptions, please read the COPYING file.
9  *
10  * gtkD is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with gtkD; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
18  */
19  
20 // generated automatically - do not change
21 // find conversion definition on APILookup.txt
22 // implement new conversion functionalities on the wrap.utils pakage
23 
24 
25 module gtkglc.glgtk;
26 
27 version(Tango)
28 	private import tango.stdc.stdio;
29 else
30 	private import std.stdio;
31 
32 private import gtkglc.glgtktypes;
33 private import gtkc.Loader;
34 private import gtkc.paths;
35 
36 mixin( _shared ~ "static this()
37 {
38 	// glgtk.GLtInit
39 
40 	Linker.link(gtk_gl_init, \"gtk_gl_init\", LIBRARY.GLGTK);
41 	Linker.link(gtk_gl_init_check, \"gtk_gl_init_check\", LIBRARY.GLGTK);
42 	Linker.link(gtk_gl_parse_args, \"gtk_gl_parse_args\", LIBRARY.GLGTK);
43 
44 	// glgtk.GLWidget
45 
46 	Linker.link(gtk_widget_set_gl_capability, \"gtk_widget_set_gl_capability\", LIBRARY.GLGTK);
47 	Linker.link(gtk_widget_is_gl_capable, \"gtk_widget_is_gl_capable\", LIBRARY.GLGTK);
48 	Linker.link(gtk_widget_get_gl_config, \"gtk_widget_get_gl_config\", LIBRARY.GLGTK);
49 	Linker.link(gtk_widget_create_gl_context, \"gtk_widget_create_gl_context\", LIBRARY.GLGTK);
50 	Linker.link(gtk_widget_get_gl_context, \"gtk_widget_get_gl_context\", LIBRARY.GLGTK);
51 	Linker.link(gtk_widget_get_gl_window, \"gtk_widget_get_gl_window\", LIBRARY.GLGTK);
52 
53 	// glgtk.GLtVersion
54 
55 
56 	// glgtk.
57 
58 }");
59 
60 mixin( gshared ~"extern(C)
61 {
62 	// glgtk.GLtInit
63 
64 	void function(int* argc, char*** argv) c_gtk_gl_init;
65 	gboolean function(int* argc, char*** argv) c_gtk_gl_init_check;
66 	gboolean function(int* argc, char*** argv) c_gtk_gl_parse_args;
67 
68 	// glgtk.GLWidget
69 
70 	gboolean function(GtkWidget* widget, GdkGLConfig* glconfig, GdkGLContext* shareList, gboolean direct, int renderType) c_gtk_widget_set_gl_capability;
71 	gboolean function(GtkWidget* widget) c_gtk_widget_is_gl_capable;
72 	GdkGLConfig* function(GtkWidget* widget) c_gtk_widget_get_gl_config;
73 	GdkGLContext* function(GtkWidget* widget, GdkGLContext* shareList, gboolean direct, int renderType) c_gtk_widget_create_gl_context;
74 	GdkGLContext* function(GtkWidget* widget) c_gtk_widget_get_gl_context;
75 	GdkGLWindow* function(GtkWidget* widget) c_gtk_widget_get_gl_window;
76 
77 	// glgtk.GLtVersion
78 
79 
80 	// glgtk.
81 
82 }");
83 
84 // glgtk.GLtInit
85 
86 alias c_gtk_gl_init  gtk_gl_init;
87 alias c_gtk_gl_init_check  gtk_gl_init_check;
88 alias c_gtk_gl_parse_args  gtk_gl_parse_args;
89 
90 // glgtk.GLWidget
91 
92 alias c_gtk_widget_set_gl_capability  gtk_widget_set_gl_capability;
93 alias c_gtk_widget_is_gl_capable  gtk_widget_is_gl_capable;
94 alias c_gtk_widget_get_gl_config  gtk_widget_get_gl_config;
95 alias c_gtk_widget_create_gl_context  gtk_widget_create_gl_context;
96 alias c_gtk_widget_get_gl_context  gtk_widget_get_gl_context;
97 alias c_gtk_widget_get_gl_window  gtk_widget_get_gl_window;
98 
99 // glgtk.GLtVersion
100 
101 
102 // glgtk.
103