YSTest  PreAlpha_b400_20130424
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
ShlExplorer.h
浏览该文件的文档.
1 /*
2  Copyright by FrankHB 2013.
3 
4  This file is part of the YSLib project, and may only be used,
5  modified, and distributed under the terms of the YSLib project
6  license, LICENSE.TXT. By continuing to use, modify, or distribute
7  this file you indicate that you have read the license and
8  understand and accept it fully.
9 */
10 
28 #ifndef INC_YReader_ShlExplorer_h_
29 #define INC_YReader_ShlExplorer_h_ 1
30 
31 #include "About.h"
32 
33 YSL_BEGIN_NAMESPACE(YReader)
34 
35 class ShlExplorer : public ShlDS
36 {
37 protected:
39 
40  Label lblTitle, lblPath;
44  Label lblInfo;
45  FileBox fbMain;
46  Button btnTest, btnOK;
47  Button btnMenu;
48  DialogPanel pnlSetting;
49  CheckButton cbHex, cbFPS;
53  CheckButton cbPreview;
54  Label lblDragTest;
56  unique_ptr<FrmAbout> pFrmAbout;
57  MenuHost mhMain;
60 
61 public:
69  const shared_ptr<Desktop>& = {}, const shared_ptr<Desktop>& = {});
70 
75  void
76  OnPaint() override;
77 
78 private:
79  IWidget*
80  GetBoundControlPtr(const KeyInput&);
81 };
82 
83 YSL_END_NAMESPACE(YReader)
84 
85 #endif
86