|
YSTest
PreAlpha_b380_20130211
The YSLib Test Project
|
输入事件参数类。 More...
#include <ywgtevt.h>


Public Member Functions | |
| InputEventArgs (IWidget &, const KeyInput &={}, RoutingStrategy=Direct) | |
| 构造:使用本机键按下对象和路由事件类型。 | |
| operator const KeyInput & () const ynothrow | |
| 转换为按键代码类型。 | |
| const KeyInput & | GetKeys () const ynothrow |
| 取按键代码。 | |
Public Member Functions inherited from YSLib::Components::RoutedEventArgs | |
| RoutedEventArgs (IWidget &wgt, RoutingStrategy strategy=Direct) | |
Public Member Functions inherited from YSLib::Components::UIEventArgs | |
| UIEventArgs (IWidget &wgt) | |
| UIEventArgs (const UIEventArgs &)=default | |
| 复制构造:默认实现。 | |
| UIEventArgs & | operator= (const UIEventArgs &)=default |
| 复制赋值:默认实现。 | |
| IWidget & | GetSender () const ynothrow |
| void | SetSender (IWidget &wgt) |
Public Attributes | |
| KeyInput | Keys |
| 包含的按键代码。 | |
Public Attributes inherited from YSLib::Components::RoutedEventArgs | |
| RoutingStrategy | Strategy |
| 事件路由策略。 | |
| bool | Handled |
| 事件已经被处理。 | |
Additional Inherited Members | |
Public Types inherited from YSLib::Components::RoutedEventArgs | |
| enum | RoutingStrategy { Bubble = 0, Tunnel = 1, Direct = 2 } |
| 事件路由策略枚举。 More... | |
| YSL_BEGIN InputEventArgs::InputEventArgs | ( | IWidget & | wgt, |
| const KeyInput & | k = {}, |
||
| RoutingStrategy | s = Direct |
||
| ) |
|
inline |
|
inline |
| KeyInput YSLib::Components::InputEventArgs::Keys |