X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgbase%2Fsimplewindow.h;h=807e69f2492baa0653bef21c827b2727b63e09db;hb=47df97f4381412236a02f0fcf71a2e9b23f78187;hp=a506636a4ae8047b6823210c0bb4c0518ae7eb58;hpb=fbefc4904d290205658209bbe2392b4b7f9e2711;p=libs%2Fgui.git diff --git a/source/gbase/simplewindow.h b/source/gbase/simplewindow.h index a506636..807e69f 100644 --- a/source/gbase/simplewindow.h +++ b/source/gbase/simplewindow.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspgbase -Copyright © 2008 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_GBASE_SIMPLEWINDOW_H_ #define MSP_GBASE_SIMPLEWINDOW_H_ @@ -33,7 +26,9 @@ A simplified Window that encapsulates a Display. class SimpleWindow: public SimpleWindowBase, public Window { public: - SimpleWindow(unsigned, unsigned); + SimpleWindow(unsigned, unsigned, bool =false); + + void tick(); }; @@ -46,7 +41,7 @@ private: GLContext gl_ctx; public: - SimpleGLWindow(unsigned, unsigned); + SimpleGLWindow(unsigned, unsigned, bool =false); GLContext &get_gl_context() { return gl_ctx; } void swap_buffers(); };