Refactor|Widgets: Conditional tree notification, pre/post handlers
Improved the widget tree notification mechanism to include an optional condition callback and pre/post handlers to be called before/after notifying the children of a widget.
Classes derived from GuiWidget now need to override drawContent() rather than draw() because the latter contains additional logic common to all GuiWidgets.
Refactor|Widgets: Conditional tree notification, pre/post handlers
Improved the widget tree notification mechanism to include an optional
condition callback and pre/post handlers to be called before/after
notifying the children of a widget.
Classes derived from GuiWidget now need to override drawContent()
rather than draw() because the latter contains additional logic
common to all GuiWidgets.