Example #1
0
void UI::OptionsList::resetEventHandlers()
{
    clearEventHandlers();
    Component::assignEventHandlers();
    addEventHandler(DrawAllEvent(), DrawEventHandler(*this));
    addEventHandler(TerminalGeometryChangedEvent(), DrawEventHandler(*this));
}
Example #2
0
	bool quit()
		{
		clearEventHandlers();
		SDL_Quit();
		return true;
		}