YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
图形用户界面焦点特性。 更多...
#include "YSLib/UI/ycontrol.h"
函数 | |
YSL_BEGIN bool | IsFocused (const IWidget &wgt) |
bool | DoRequestFocus (IWidget &wgt, bool release_event) |
bool | DoReleaseFocus (IWidget &wgt) |
void | RequestFocusFrom (IWidget &dst, IWidget &src) |
void | ReleaseFocusFrom (IWidget &dst, IWidget &src) |
void | ClearFocusingOf (IWidget &wgt) |
void | RequestFocusCascade (IWidget &wgt) |
void | ReleaseFocusCascade (IWidget &wgt) |
图形用户界面焦点特性。
在文件 yfocus.cpp 中定义.
void ClearFocusingOf | ( | IWidget & | wgt | ) |
在文件 yfocus.cpp 第 96 行定义.
参考 YSLib::UI::FetchFocusingPtr().
参考自 YSLib::UI::Panel::ClearContents(),Close() , 以及 OnTouchDown_RequestToTopFocused().
bool DoReleaseFocus | ( | IWidget & | wgt | ) |
在文件 yfocus.cpp 第 66 行定义.
参考 YSLib::UI::FetchContainerPtr().
参考自 DoRequestFocus(),ReleaseFocusFrom() , 以及 YSLib::UI::Widget::~Widget().
bool DoRequestFocus | ( | IWidget & | wgt, |
bool | release_event | ||
) |
在文件 yfocus.cpp 第 43 行定义.
参考 DoReleaseFocus(),YSLib::UI::FetchContainerPtr(),IsFocused() , 以及 ReleaseFocusFrom().
参考自 RequestFocusFrom().
YSL_BEGIN bool IsFocused | ( | const IWidget & | wgt | ) |
在文件 yfocus.cpp 第 35 行定义.
参考 YSLib::UI::FetchContainerPtr() , 以及 YSLib::UI::FetchFocusingPtr().
参考自 DoRequestFocus(),DrawThumbBackground() , 以及 YSLib::UI::CheckBox::PaintBox().
void ReleaseFocusCascade | ( | IWidget & | wgt | ) |
void ReleaseFocusFrom | ( | IWidget & | dst, |
IWidget & | src | ||
) |
在文件 yfocus.cpp 第 89 行定义.
参考 DoReleaseFocus().
参考自 DoRequestFocus() , 以及 YSLib::UI::ReleaseFocus().
void RequestFocusCascade | ( | IWidget & | wgt | ) |
在文件 yfocus.cpp 第 106 行定义.
参考 YSLib::UI::FetchContainerPtr() , 以及 YSLib::UI::RequestFocus().
void RequestFocusFrom | ( | IWidget & | dst, |
IWidget & | src | ||
) |