X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fwidget.hh;h=337bbf14a493a1002e09820cccd9d186c2c48c56;hb=bd748f74022019c4c9ee3e078afcef14cf47d370;hp=fd14e57b1c0e0039e08009d1525742cd622e5c86;hpb=5869cc29ef15181427e65079d9a52c5d21190206;p=chaz%2Fopenbox diff --git a/otk/widget.hh b/otk/widget.hh index fd14e57b..337bbf14 100644 --- a/otk/widget.hh +++ b/otk/widget.hh @@ -28,7 +28,7 @@ public: OtkWidget(otk::OtkWidget *parent, Direction = Horizontal); OtkWidget(otk::OtkEventDispatcher *event_dispatcher, otk::Style *style, Direction direction = Horizontal, Cursor cursor = 0, - int bevel_width = 1); + int bevel_width = 1, bool override_redirect = false); virtual ~OtkWidget(); @@ -120,15 +120,13 @@ public: { return _event_dispatcher; } void setEventDispatcher(otk::OtkEventDispatcher *disp); - void unmanaged(void) { _unmanaged = true; } - protected: bool _dirty; bool _focused; virtual void adjust(void); - virtual void create(void); + virtual void create(bool override_redirect = false); virtual void adjustHorz(void); virtual void adjustVert(void); virtual void internalResize(int width, int height); @@ -166,8 +164,6 @@ protected: bool _fixed_width; bool _fixed_height; - bool _unmanaged; - OtkEventDispatcher *_event_dispatcher; };