48 for(std::forward_list<Widget*>::iterator i =
widgets.begin(); i !=
widgets.end(); i++)
71 for(std::forward_list<Widget*>::iterator i =
widgets.begin(); i !=
widgets.end(); i++)
96 for(std::forward_list<Widget*>::iterator i =
widgets.begin(); i !=
widgets.end(); i++)
112 for(std::forward_list<Widget*>::iterator i =
widgets.begin(); i !=
widgets.end(); i++)
121 if(newFocus !=
focus)
167 button->
setQueue(static_cast<AddToQueue>(addToQueue));
182 textField->
setQueue(static_cast<AddToQueue>(addToQueue));
203 editBox->
setQueue(static_cast<AddToQueue>(addToQueue));
219 scrollbar->
setQueue(static_cast<AddToQueue>(addToQueue));
228 Widget *widget = createWidget(
this);
236 widget->
setQueue(static_cast<AddToQueue>(addToQueue));
247 throw std::invalid_argument(
"Type not found.");
251 Event event(eventType, evtObj);
264 throw std::invalid_argument(
"Type not found.");
296 evtObj =
new MouseEvent(*static_cast<MouseEvent*>(obj));
308 evtObj =
new KeyboardEvent(*static_cast<KeyboardEvent*>(obj));
317 throw std::runtime_error(
"Type already registered.");