YSTest  PreAlpha_b500_20140530
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
GUIShell.h
浏览该文件的文档.
1 /*
2  © 2013 FrankHB.
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_Helper_GUIShell_h_
29 #define INC_Helper_GUIShell_h_ 1
30 
31 #include "YModules.h"
32 #include YFM_YSLib_Core_YShell
33 #include YFM_YSLib_Core_YString
34 #include YFM_Helper_InputManager
35 
36 namespace YSLib
37 {
38 
39 namespace Shells
40 {
41 
46 class YF_API GUIShell : public Shell
47 {
48 protected:
53 
54 public:
59  std::chrono::nanoseconds IdleSleep{1000000};
60 
64  GUIShell();
65 
74  void
75  OnGotMessage(const Message&) override;
76 
84  virtual void
85  OnInput();
86 
90  virtual void
91  OnPaint();
92 };
93 
94 } // namespace Shells;
95 
96 } // namespace YSLib;
97 
98 #endif
99 
外壳程序:实现运行期控制流映像语义。
Definition: yshell.h:42
#define YF_API
Definition: Platform.h:64
Devices::InputManager imMain
输入管理器。
Definition: GUIShell.h:52
GUI Shell 基类。
Definition: GUIShell.h:46
输入管理器。
Definition: InputManager.h:45