Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef GTK_GLU_GTKGLEXT_H
00020 #define GTK_GLU_GTKGLEXT_H
00021
00022 #ifdef HAVE_CONFIG_H
00023 #include "gnashconfig.h"
00024 #endif
00025
00026 #include <gtk/gtk.h>
00027 #include <gdk/gdk.h>
00028 #include <boost/scoped_array.hpp>
00029
00030 #include <gtk/gtkgl.h>
00031
00032 #include "opengl/Renderer_ogl.h"
00033 #include "gtk_glue.h"
00034 #include "tu_opengl_includes.h"
00035
00036 namespace gnash
00037 {
00038
00039 class GtkGlExtGlue : public GtkGlue
00040 {
00041 public:
00042 GtkGlExtGlue();
00043 ~GtkGlExtGlue();
00044
00045 bool init(int argc, char **argv[]);
00046 void prepDrawingArea(GtkWidget *drawing_area);
00047 Renderer* createRenderHandler();
00048 void render();
00049 void render(int , int , int , int ) { render(); };
00050 void configure(GtkWidget *const widget, GdkEventConfigure *const event);
00051 private:
00052 GdkGLConfig *_glconfig;
00053 };
00054
00055 }
00056
00057
00058 #endif
00059
00060
00061
00062
00063