From be0a7f10421181033894629afbba677986bb9f44 Mon Sep 17 00:00:00 2001 From: Eleni Maria Stea Date: Mon, 25 Feb 2013 00:17:24 +0200 Subject: [PATCH 1/1] get dirty --- src/window.cc | 5 +++++ src/window.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/window.cc b/src/window.cc index 21ff70f..59302d4 100644 --- a/src/window.cc +++ b/src/window.cc @@ -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; diff --git a/src/window.h b/src/window.h index 25a12f7..028343e 100644 --- a/src/window.h +++ b/src/window.h @@ -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); -- 1.7.10.4