X-Git-Url: http://git.mutantstargoat.com?p=winnie;a=blobdiff_plain;f=src%2Fwindow.h;h=1eebed0469e7e15d6200a35b72890152d645a060;hp=040f6b578f47a1ab08333402fa9c4e95b73acf49;hb=d114b136897ca569d819da5f9b75bd08f9cbe2c0;hpb=a43297a61d69ca5fa5bb7ae8407757da978b4dd4 diff --git a/src/window.h b/src/window.h index 040f6b5..1eebed0 100644 --- a/src/window.h +++ b/src/window.h @@ -17,6 +17,7 @@ private: bool dirty; bool managed; // whether the wm manages (+decorates) this win + bool focusable; public: Window(); @@ -45,6 +46,9 @@ public: void set_managed(bool managed); bool get_managed() const; + void set_focusable(bool focusable); + bool get_focusable() const; + void set_display_callback(DisplayFuncType func); void set_keyboard_callback(KeyboardFuncType func); void set_mouse_button_callback(MouseButtonFuncType func); @@ -59,6 +63,9 @@ public: void add_child(Window *win); void remove_child(Window *win); + Window **get_children(); + int get_children_count() const; + const Window *get_parent() const; Window *get_parent();