YSTest
PreAlpha_b380_20130211
The YSLib Test Project
|
路由事件参数基类。 More...
#include <ywgtevt.h>
Public Types | |
enum | RoutingStrategy { Bubble = 0, Tunnel = 1, Direct = 2 } |
事件路由策略枚举。 More... | |
Public Member Functions | |
RoutedEventArgs (IWidget &wgt, RoutingStrategy strategy=Direct) | |
![]() | |
UIEventArgs (IWidget &wgt) | |
UIEventArgs (const UIEventArgs &)=default | |
复制构造:默认实现。 | |
UIEventArgs & | operator= (const UIEventArgs &)=default |
复制赋值:默认实现。 | |
IWidget & | GetSender () const ynothrow |
void | SetSender (IWidget &wgt) |
Public Attributes | |
RoutingStrategy | Strategy |
事件路由策略。 | |
bool | Handled |
事件已经被处理。 | |
|
inline |
bool YSLib::Components::RoutedEventArgs::Handled |
事件已经被处理。
Definition at line 99 of file ywgtevt.h.
Referenced by YSLib::Components::GUIState::ResponseKey(), and YSLib::Components::GUIState::ResponseTouch().
RoutingStrategy YSLib::Components::RoutedEventArgs::Strategy |
事件路由策略。
Definition at line 98 of file ywgtevt.h.
Referenced by YSLib::Components::GUIState::ResponseKey(), and YSLib::Components::GUIState::ResponseTouch().