X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fframe.hh;h=f163298180e6249f999f060044cd130953e41dee;hb=73f6bb1a7b6bb5f8b9cf22587722d713a1f15b59;hp=7814ed3563e608862680549b8142bbecbbdd4f34;hpb=f424471009859c23309428e38002c29f4e4d2bc5;p=chaz%2Fopenbox diff --git a/src/frame.hh b/src/frame.hh index 7814ed35..f1632981 100644 --- a/src/frame.hh +++ b/src/frame.hh @@ -9,14 +9,14 @@ extern "C" { #include } -#include - #include "client.hh" #include "otk/strut.hh" #include "otk/rect.hh" #include "otk/screeninfo.hh" #include "otk/style.hh" +#include + namespace ob { //! Holds and decorates a frame around an OBClient (client window) @@ -104,6 +104,16 @@ public: //! Returns the frame's most-parent window, which is a child of the root //! window inline Window window() const { return _window; } + + inline Window titlebar() const { return _titlebar; } + inline Window label() const { return _label; } + inline Window buttonIconify() const { return _button_iconify; } + inline Window buttonMax() const { return _button_max; } + inline Window buttonStick() const { return _button_stick; } + inline Window buttonClose() const { return _button_close; } + inline Window handle() const { return _handle; } + inline Window gripLeft() const { return _grip_left; } + inline Window gripRight() const { return _grip_right; } }; }