29 #ifndef INCL_OGRE_GTKWINDOW_H 30 #define INCL_OGRE_GTKWINDOW_H 34 #include <gtkmm/main.h> 35 #include <gtkmm/window.h> 42 class OGREWidget :
public Gtk::GL::DrawingArea
48 class GTKWindow :
public RenderWindow,
public SigC::Object
65 void create(
const String& name,
unsigned int width,
unsigned int height,
unsigned int colourDepth,
66 bool fullScreen,
int left,
int top,
bool depthBuffer,
67 void* miscParam, ...);
69 void setFullscreen(
bool fullScreen,
unsigned int width,
unsigned int height);
71 bool isActive(
void)
const;
72 bool isClosed(
void)
const;
73 void reposition(
int left,
int top);
74 void resize(
unsigned int width,
unsigned int height);
76 void copyContentsToMemory(
const PixelBox &dst, FrameBuffer buffer);
86 void getCustomAttribute(
const String& name,
void* pData );
89 bool on_delete_event(GdkEventAny* event);
90 bool on_expose_event(GdkEventExpose* event);
94 Gtk::Window *mGtkWindow;
100 #endif // INCL_OGRE_GTKWINDOW_H
bool requiresTextureFlipping() const
This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info...