get dirty
authorEleni Maria Stea <elene.mst@gmail.com>
Sun, 24 Feb 2013 22:17:24 +0000 (00:17 +0200)
committerEleni Maria Stea <elene.mst@gmail.com>
Sun, 24 Feb 2013 22:17:24 +0000 (00:17 +0200)
src/window.cc
src/window.h

index 21ff70f..59302d4 100644 (file)
@@ -143,6 +143,11 @@ bool Window::get_focusable() const
        return focusable;
 }
 
+bool Window::get_dirty() const
+{
+       return dirty;
+}
+
 void Window::set_display_callback(DisplayFuncType func)
 {
        callbacks.display = func;
index 25a12f7..028343e 100644 (file)
@@ -50,6 +50,8 @@ public:
        void set_focusable(bool focusable);
        bool get_focusable() const;
 
+       bool get_dirty() const;
+
        void set_display_callback(DisplayFuncType func);
        void set_keyboard_callback(KeyboardFuncType func);
        void set_mouse_button_callback(MouseButtonFuncType func);