YSTest: Console.cpp 源文件

YSTest PreAlpha_b900_20201012 The YSLib Test Project

Console.cpp
浏览该文件的文档.
1 /*
2 © 2011-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 #include "YSLib/UI/YModules.h"
29 #include YFM_YSLib_UI_Console
30 #include YFM_YCLib_Input // platform::WaitForInput;
31
32 namespace YSLib
33 {
34
35 namespace UI
36 {
37
38 void
39 Console::Pause()
40 {
41 platform::WaitForInput();
42 }
43
44 void
45 Activate(Console&, Drawing::Color, Drawing::Color)
46 {
47 }
48
49 void
50 Deactivate(Console&)
51 {
52 }
53
54 } // namespace UI;
55
56 } // namespace YSLib;
57
YSLib::Drawing::Color
The boundary is out of the const Rect SDst SPos SPos SPos Color
Definition: YDraw.h:128
YSLib::UI::Deactivate
void Deactivate(Console &)
Definition: Console.cpp:50
YSLib::UI::Console
控制台。
Definition: Console.h:43
platform::WaitForInput
YF_API void WaitForInput()
等待任意按键。
Definition: Input.cpp:46
YSLib::UI::Activate
void Activate(Console &, Drawing::Color, Drawing::Color)
Definition: Console.cpp:45
YSLib::UI::Console::Pause
void Pause()
Definition: Console.cpp:39
YSLib
YSLib 命名空间。
Definition: AndroidHost.h:46
YModules.h
YSLib 用户界面模块配置文件。