19 const Rect &get_rect() const;
20 bool contains_ptr(int ptr_x, int ptr_y);
22 void move(int x, int y);
23 void resize(int x, int y);
25 void set_title(const char *s);
26 const char *get_title() const;
28 /* mark this window as dirty, and notify the window manager
29 * to repaint it, and anything it used to cover.
35 unsigned char *get_win_start_on_fb();
36 int get_scanline_width();
38 void set_display_callback(DisplayFuncType func);
39 void set_keyboard_callback(KeyboardFuncType func);
40 void set_mouse_button_callback(MouseButtonFuncType func);
41 void set_mouse_motion_callback(MouseMotionFuncType func);
43 const DisplayFuncType get_display_callback() const;
44 const KeyboardFuncType get_keyboard_callback() const;
45 const MouseButtonFuncType get_mouse_button_callback() const;
46 const MouseMotionFuncType get_mouse_motion_callback() const;
48 // XXX remove if not needed
49 friend class WindowManager;