94 mForegroundColor(0x000000),
95 mBackgroundColor(0xffffff),
101 mInternalFocusHandler(
nullptr),
123 (*iter)->death(event);
136 newDimension.
width = width;
143 newDimension.
height = height;
246 if (focusHandler !=
nullptr)
247 focusHandler->
add(
this);
344 if ((*iter)->mCurrentFont ==
nullptr)
345 (*iter)->fontChanged();
358 (*iter)->windowResized();
370 newDimension.
width = width;
371 newDimension.
height = height;
453 return Rect(0, 0, 0, 0);
471 (*iter)->widgetResized(event);
480 (*iter)->widgetMoved(event);
489 (*iter)->widgetHidden(event);
498 (*iter)->action(actionEvent);
507 (*iter)->widgetShown(event);
524 if (widget !=
nullptr)
void add(Widget *const widget)
void requestModalFocus(Widget *const widget)
Widget * getModalMouseInputFocused() const
void requestModalMouseInputFocus(Widget *const widget)
void requestFocus(const Widget *const widget)
void releaseModalMouseInputFocus(const Widget *const widget)
void releaseModalFocus(Widget *const widget)
void remove(Widget *const widget)
Widget * getModalFocused() const
bool isFocused(const Widget *const widget) const
#define FOR_EACH(type, iter, array)