bool tdispatcher::fire(const tevent event , twidget& target , const SDLKey key , const SDLMod modifier , const Uint16 unicode) { return fire_event<tsignal_keyboard_function>(event , dynamic_cast<twidget*>(this) , &target , ttrigger_keyboard(key, modifier, unicode)); }
bool tdispatcher::fire(const tevent event, twidget& target, const SDLKey key, const SDLMod modifier, const utf8::string& unicode) { assert(find<tset_event_keyboard>(event, tevent_in_set())); return fire_event<tsignal_keyboard_function>( event, dynamic_cast<twidget*>(this), &target, ttrigger_keyboard(key, modifier, unicode)); }