+ inline EventDispatcher *eventDispatcher(void)
+ { return _event_dispatcher; }
+ void setEventDispatcher(EventDispatcher *disp);
+
+protected:
+
+ bool _dirty;
+ bool _focused;
+
+ virtual void adjust(void);
+ virtual void create(bool override_redirect = false);
+ virtual void adjustHorz(void);
+ virtual void adjustVert(void);
+ virtual void internalResize(int width, int height);
+ virtual void render(void);
+ virtual void renderForeground() {} // for overriding