added 3dengfx into the repo, probably not the correct version for this
[summerhack] / src / 3dengfx / src / fxwt / init.hpp
diff --git a/src/3dengfx/src/fxwt/init.hpp b/src/3dengfx/src/fxwt/init.hpp
new file mode 100644 (file)
index 0000000..9168b29
--- /dev/null
@@ -0,0 +1,18 @@
+#ifndef _FXWT_INIT_HPP_
+#define _FXWT_INIT_HPP_
+
+#include "gfx_library.h"
+#include "3dengfx/3denginefx_types.hpp"
+
+#if GFX_LIBRARY == GTK
+extern GtkWidget *gl_drawing_area;
+#endif // GTK
+
+namespace fxwt {
+       bool init_graphics(GraphicsInitParameters *gip);
+       void destroy_graphics();
+
+       void swap_buffers();
+}
+
+#endif // _FXWT_INIT_HPP_