]> git.tdb.fi Git - libs/gui.git/commitdiff
Add tick() method to SimpleWindow
authorMikko Rasa <tdb@tdb.fi>
Tue, 2 Nov 2010 13:12:05 +0000 (13:12 +0000)
committerMikko Rasa <tdb@tdb.fi>
Tue, 2 Nov 2010 13:12:05 +0000 (13:12 +0000)
source/gbase/simplewindow.cpp
source/gbase/simplewindow.h

index 406090d760319fe03d280a983ffc7d79250654ad..b0ba23298423ad84f4d04059de10b200b687048f 100644 (file)
@@ -14,6 +14,11 @@ SimpleWindow::SimpleWindow(unsigned w, unsigned h, bool fs):
        Window(dpy, w, h, fs)
 { }
 
+void SimpleWindow::tick()
+{
+       dpy.tick();
+}
+
 
 SimpleGLWindow::SimpleGLWindow(unsigned w, unsigned h, bool fs):
        SimpleWindow(w, h, fs),
index 1f5bb7dbf00f94654a131f4b6390f80e2936a362..1caa5e7bf202deaeaa5c27d8cd9d42e24141a3af 100644 (file)
@@ -34,6 +34,8 @@ class SimpleWindow: public SimpleWindowBase, public Window
 {
 public:
        SimpleWindow(unsigned, unsigned, bool =false);
+
+       void tick();
 };