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 
43 	// glgtk.
44 
45 	Linker.link(gtk_widget_set_gl_capability, \"gtk_widget_set_gl_capability\", LIBRARY.GLGTK);
46 	Linker.link(gtk_widget_is_gl_capable, \"gtk_widget_is_gl_capable\", LIBRARY.GLGTK);
47 	Linker.link(gtk_widget_get_gl_config, \"gtk_widget_get_gl_config\", LIBRARY.GLGTK);
48 	Linker.link(gtk_widget_create_gl_context, \"gtk_widget_create_gl_context\", LIBRARY.GLGTK);
49 	Linker.link(gtk_widget_get_gl_context, \"gtk_widget_get_gl_context\", LIBRARY.GLGTK);
50 	Linker.link(gtk_widget_get_gl_window, \"gtk_widget_get_gl_window\", LIBRARY.GLGTK);
51 
52 	// glgtk.
53 
54 }");
55 
56 mixin( gshared ~"extern(C)
57 {
58 	// glgtk.GLtInit
59 
60 	void function(int* argc, char*** argv) c_gtk_gl_init;
61 	gboolean function(int* argc, char*** argv) c_gtk_gl_init_check;
62 
63 	// glgtk.
64 
65 	gboolean function(GtkWidget* widget, GdkGLConfig* glconfig, GdkGLContext* shareList, gboolean direct, int renderType) c_gtk_widget_set_gl_capability;
66 	gboolean function(GtkWidget* widget) c_gtk_widget_is_gl_capable;
67 	GdkGLConfig* function(GtkWidget* widget) c_gtk_widget_get_gl_config;
68 	GdkGLContext* function(GtkWidget* widget, GdkGLContext* shareList, gboolean direct, int renderType) c_gtk_widget_create_gl_context;
69 	GdkGLContext* function(GtkWidget* widget) c_gtk_widget_get_gl_context;
70 	GdkGLWindow* function(GtkWidget* widget) c_gtk_widget_get_gl_window;
71 
72 	// glgtk.
73 
74 }");
75 
76 // glgtk.GLtInit
77 
78 alias c_gtk_gl_init  gtk_gl_init;
79 alias c_gtk_gl_init_check  gtk_gl_init_check;
80 
81 // glgtk.
82 
83 alias c_gtk_widget_set_gl_capability  gtk_widget_set_gl_capability;
84 alias c_gtk_widget_is_gl_capable  gtk_widget_is_gl_capable;
85 alias c_gtk_widget_get_gl_config  gtk_widget_get_gl_config;
86 alias c_gtk_widget_create_gl_context  gtk_widget_create_gl_context;
87 alias c_gtk_widget_get_gl_context  gtk_widget_get_gl_context;
88 alias c_gtk_widget_get_gl_window  gtk_widget_get_gl_window;
89 
90 // glgtk.
91