X-Git-Url: http://git.mutantstargoat.com?a=blobdiff_plain;f=src%2Fwindow.h;h=028343e2b779c3c657db28f6ccfbb8bd89d12a17;hb=be0a7f10421181033894629afbba677986bb9f44;hp=3db8ec865d49fc0ff34e04b9049dd423bb2a9df8;hpb=6dc42c0e7292d6d94de640ddd7de3ee5c808e9c2;p=winnie diff --git a/src/window.h b/src/window.h index 3db8ec8..028343e 100644 --- a/src/window.h +++ b/src/window.h @@ -24,7 +24,7 @@ public: ~Window(); const Rect &get_rect() const; - const Rect &get_absolute_rect() const; + Rect get_absolute_rect() const; bool contains_point(int ptr_x, int ptr_y); void move(int x, int y); @@ -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);