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