X-Git-Url: http://git.mutantstargoat.com?a=blobdiff_plain;f=src%2Fwindow.h;h=ee9c7a0fb08e9db4c8c09fcc3505cfe553178bb4;hb=d02747c88b1df856c5531cdc4b7af5b3ac8a0dc3;hp=25a12f7acb541687ee7bc084969d1d3e03b0cf22;hpb=981f0eab2195d34f7c186a2e3e891810e14ce5b4;p=winnie diff --git a/src/window.h b/src/window.h index 25a12f7..ee9c7a0 100644 --- a/src/window.h +++ b/src/window.h @@ -38,7 +38,7 @@ public: */ void invalidate(); - void draw(const Rect &dirty_region); + void draw(Rect *dirty_region); void draw_children(const Rect &dirty_region); unsigned char *get_win_start_on_fb(); @@ -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);