29 #ifndef INCL_OGRE_GTKWINDOW_H
30 #define INCL_OGRE_GTKWINDOW_H
34 #include <gtkmm/main.h>
35 #include <gtkmm/window.h>
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);
74 void resize(
unsigned int width,
unsigned int height);
100 #endif // INCL_OGRE_GTKWINDOW_H
Manages the target rendering window.
void getCustomAttribute(const String &name, void *pData)
Get a custom, GTK specific attribute.
void swapBuffers(bool waitForVSync)
Swaps the frame buffers to display the next frame.
void reposition(int left, int top)
Reposition the window.
void destroy(void)
Destroys the window.
bool requiresTextureFlipping() const
void resize(unsigned int width, unsigned int height)
Alter the size of the window.
void copyContentsToMemory(const PixelBox &dst, FrameBuffer buffer)
Copies the current contents of the render target to a pixelbox.
void create(const String &name, unsigned int width, unsigned int height, unsigned int colourDepth, bool fullScreen, int left, int top, bool depthBuffer, void *miscParam,...)
OGREWidget * get_ogre_widget()
Get the actual widget that is housing OGRE's GL view.
bool isClosed(void) const
Indicates whether the window has been closed by the user.
bool on_delete_event(GdkEventAny *event)
bool on_expose_event(GdkEventExpose *event)
A primitive describing a volume (3D), image (2D) or line (1D) of pixels in memory.
bool pump_events()
Pump the main loop to actually generate events.
void setFullscreen(bool fullScreen, unsigned int width, unsigned int height)
Alter fullscreen mode options.
bool isActive(void) const
Overridden from RenderTarget, flags invisible windows as inactive.