YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
样式无关的图形用户界面部件。 更多...
函数 | |
YSL_BEGIN bool | Contains (const IWidget &wgt, SPos x, SPos y) |
bool | ContainsVisible (const IWidget &wgt, SPos x, SPos y) |
void | SetBoundsOf (IWidget &wgt, const Rect &r) |
void | SetInvalidationOf (IWidget &wgt) |
void | SetInvalidationToParent (IWidget &wgt) |
void | SetLocationOf (IWidget &wgt, const Point &pt) |
void | SetSizeOf (IWidget &wgt, const Size &s) |
void | Close (IWidget &wgt) |
void | DrawArrow (PaintEventArgs &&e, IWidget &wgt, SDst half_size, Rotation rot, Color c) |
void | Hide (IWidget &wgt) |
void | Invalidate (IWidget &wgt) |
void | Invalidate (IWidget &wgt, const Rect &bounds) |
void | PaintChild (IWidget &wgt, PaintEventArgs &&e) |
Rect | PaintChild (IWidget &wgt, const PaintContext &pc) |
void | RequestToTop (IWidget &wgt) |
void | Show (IWidget &wgt) |
样式无关的图形用户界面部件。
在文件 ywidget.cpp 中定义.
void Close | ( | IWidget & | wgt | ) |
在文件 ywidget.cpp 第 86 行定义.
参考 ClearFocusingOf(),YSLib::UI::FetchContainerPtr() , 以及 Hide().
参考自 DecorateAsCloseButton(),ShlTextReader::OnClick() , 以及 platform::HFileNode::~HFileNode().
YSL_BEGIN bool Contains | ( | const IWidget & | wgt, |
SPos | x, | ||
SPos | y | ||
) |
在文件 ywidget.cpp 第 37 行定义.
参考 YSLib::Drawing::Rect::Contains() , 以及 YSLib::UI::GetBoundsOf().
参考自 YSLib::UI::MUIContainer::Add(),YSLib::UI::Contains(),YSLib::GEvent< _tRet(_tParams...)>::Contains(),ContainsVisible(),YSLib::UI::MenuHost::Hide(),YSLib::Drawing::PlotPixel(),YSLib::Drawing::PutPixel() , 以及 YSLib::UI::MenuHost::Show().
bool ContainsVisible | ( | const IWidget & | wgt, |
SPos | x, | ||
SPos | y | ||
) |
在文件 ywidget.cpp 第 43 行定义.
参考 Contains() , 以及 YSLib::UI::IsVisible().
参考自 YSLib::UI::ContainsVisible().
void DrawArrow | ( | PaintEventArgs && | e, |
IWidget & | wgt, | ||
SDst | half_size, | ||
Rotation | rot, | ||
Color | c | ||
) |
void Hide | ( | IWidget & | wgt | ) |
在文件 ywidget.cpp 第 102 行定义.
参考 YSLib::UI::Invalidate(),YSLib::UI::ReleaseFocus() , 以及 YSLib::UI::SetVisibleOf().
参考自 ShlTextReader::BaseSession::BaseSession() , 以及 Close().
void Invalidate | ( | IWidget & | wgt | ) |
void Invalidate | ( | IWidget & | wgt, |
const Rect & | bounds | ||
) |
在文件 ywidget.cpp 第 115 行定义.
参考 YSLib::UI::FetchContainerPtr() , 以及 YSLib::UI::GetLocationOf().
void PaintChild | ( | IWidget & | wgt, |
PaintEventArgs && | e | ||
) |
在文件 ywidget.cpp 第 128 行定义.
参考 YSLib::Drawing::Clip(),YSLib::UI::GetLocationOf() , 以及 YSLib::UI::GetSizeOf().
Rect PaintChild | ( | IWidget & | wgt, |
const PaintContext & | pc | ||
) |
void RequestToTop | ( | IWidget & | wgt | ) |
在文件 ywidget.cpp 第 146 行定义.
参考 YSLib::UI::FetchContainerPtr().
参考自 OnTouchDown_RequestToTopFocused().
void SetBoundsOf | ( | IWidget & | wgt, |
const Rect & | r | ||
) |
void SetInvalidationOf | ( | IWidget & | wgt | ) |
在文件 ywidget.cpp 第 57 行定义.
参考自 YSLib::UI::Panel::ClearContents(),GetDesktopDownHandle(),main() , 以及 YSL_BEGIN::Repaint().
void SetInvalidationToParent | ( | IWidget & | wgt | ) |
void SetLocationOf | ( | IWidget & | wgt, |
const Point & | pt | ||
) |
void SetSizeOf | ( | IWidget & | wgt, |
const Size & | s | ||
) |
在文件 ywidget.cpp 第 77 行定义.
参考自 ResizeForContent(),YSLib::UI::ListBox::ResizeForPreferred(),SetBoundsOf(),YSLib::UI::ATrack::SetThumbLength() , 以及 DualScreenReader::Stretch().
void Show | ( | IWidget & | wgt | ) |
在文件 ywidget.cpp 第 153 行定义.
参考 YSLib::UI::Invalidate(),YSLib::UI::RequestFocus() , 以及 YSLib::UI::SetVisibleOf().
参考自 ShlTextReader::BookmarkSession::BookmarkSession(),ShlTextReader::Execute(),GetDesktopDownHandle(),ShlTextReader::OnClick(),ShlTextReader::SettingSession::SettingSession() , 以及 ShlTextReader::BaseSession::~BaseSession().