YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
#include <ShlExplorer.h>
Public 成员函数 | |
ShlExplorer (const IO::Path &=IO::GetNowDirectory(), const shared_ptr< Desktop > &={}, const shared_ptr< Desktop > &={}) | |
构造:使用指定路径和上下桌面。 | |
void | OnPaint () override |
处理绘制消息:更新到屏幕并刷新 FPS 。 | |
![]() | |
ShlDS (const shared_ptr< Desktop > &={}, const shared_ptr< Desktop > &={}) | |
构造:使用指定上下桌面。 | |
DefGetter (const ynothrow, const shared_ptr< Desktop > &, DesktopUpHandle, desktop_up_ptr) DefGetter(const ynothrow | |
const shared_ptr< Desktop > desktop_down_ptr | DefGetter (const ynothrow, Desktop &, DesktopUp,*desktop_up_ptr) DefGetter(const ynothrow |
const shared_ptr< Desktop > desktop_down_ptr Desktop *desktop_down_ptr void | OnGotMessage (const Message &) override |
消息处理函数。 | |
void | OnInput () override |
处理输入消息:发送绘制消息。 | |
Protected 属性 | |
Label | lblTitle |
Label | lblPath |
Label | lblInfo |
信息标签:说明用户操作内容等。 | |
FileBox | fbMain |
Button | btnTest |
Button | btnOK |
Button | btnMenu |
DialogPanel | pnlSetting |
CheckButton | cbHex |
CheckButton | cbFPS |
CheckButton | cbPreview |
复选按钮:指定开启切换背景时的预览。 | |
Label | lblDragTest |
Button | btnEnterTest |
Button | btnTestEx |
Button | btnPrevBackground |
Button | btnNextBackground |
unique_ptr< FrmAbout > | pFrmAbout |
MenuHost | mhMain |
FPSCounter | fpsCounter |
![]() | |
bool | bUpdateUp |
指定当前桌面是否需要更新。 | |
bool | bUpdateDown |
Private 成员函数 | |
IWidget * | GetBoundControlPtr (const KeyInput &) |
额外继承的成员函数 | |
![]() | |
const shared_ptr< Desktop > | DesktopDownHandle |
const shared_ptr< Desktop > desktop_down_ptr Desktop | DesktopDown |
在文件 ShlExplorer.h 第 35 行定义.
ShlExplorer::ShlExplorer | ( | const IO::Path & | path = IO::GetNowDirectory() , |
const shared_ptr< Desktop > & | h_dsk_up = {} , |
||
const shared_ptr< Desktop > & | h_dsk_dn = {} |
||
) |
|
private |
在文件 ShlExplorer.cpp 第 389 行定义.
参考 platform::KeyCodes::A,btnOK,btnTest,platform::KeyCodes::X , 以及 YCL_KEY.
|
override |
处理绘制消息:更新到屏幕并刷新 FPS 。
在文件 ShlExplorer.cpp 第 363 行定义.
参考 platform::ColorSpace::Blue,ShlDS::bUpdateUp,cbFPS,YSLib::Drawing::DefaultMargin(),YSLib::Drawing::DrawText(),FillRect(),fpsCounter,FPSCounter::Refresh(),platform::ColorSpace::White , 以及 yconstexpr.
|
protected |
在文件 ShlExplorer.h 第 55 行定义.
|
protected |
在文件 ShlExplorer.h 第 47 行定义.
|
protected |
在文件 ShlExplorer.h 第 55 行定义.
|
protected |
在文件 ShlExplorer.h 第 46 行定义.
参考自 GetBoundControlPtr().
|
protected |
在文件 ShlExplorer.h 第 55 行定义.
|
protected |
在文件 ShlExplorer.h 第 46 行定义.
参考自 GetBoundControlPtr().
|
protected |
在文件 ShlExplorer.h 第 55 行定义.
|
protected |
在文件 ShlExplorer.h 第 49 行定义.
参考自 OnPaint().
|
protected |
在文件 ShlExplorer.h 第 49 行定义.
|
protected |
复选按钮:指定开启切换背景时的预览。
在文件 ShlExplorer.h 第 53 行定义.
|
protected |
在文件 ShlExplorer.h 第 45 行定义.
|
protected |
在文件 ShlExplorer.h 第 58 行定义.
参考自 OnPaint().
|
protected |
在文件 ShlExplorer.h 第 54 行定义.
|
protected |
信息标签:说明用户操作内容等。
在文件 ShlExplorer.h 第 44 行定义.
|
protected |
在文件 ShlExplorer.h 第 40 行定义.
|
protected |
在文件 ShlExplorer.h 第 40 行定义.
|
protected |
在文件 ShlExplorer.h 第 57 行定义.
|
protected |
在文件 ShlExplorer.h 第 56 行定义.
|
protected |
在文件 ShlExplorer.h 第 48 行定义.