~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);
*/
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();
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);