From: Eleni Maria Stea Date: Sun, 24 Feb 2013 22:17:24 +0000 (+0200) Subject: get dirty X-Git-Url: https://eleni.mutantstargoat.com/git/?p=winnie;a=commitdiff_plain;h=be0a7f10421181033894629afbba677986bb9f44 get dirty --- 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);