YSTest  PreAlpha_b400_20130424
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
Console.h
浏览该文件的文档.
1 /*
2  Copyright by FrankHB 2011 - 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 YSL_INC_UI_Console_h_
29 #define YSL_INC_UI_Console_h_ 1
30 
31 #include "ycomp.h"
32 #include "../Core/ydevice.h"
33 
35 
37 
38 
40 {
41 public:
43 
48  explicit
49  Console(Devices::Screen& scr, bool a = true,
52  : Screen(scr)
53  {
54  if(a)
55  Activate(*this, fc, bc);
56  }
61  virtual
62  ~Console()
63  {
64  Deactivate(*this);
65  }
66 
70  friend void
73 
77  friend void
78  Deactivate(Console&);
79 
80  void
81  Pause();
82 };
83 
85 
86 YSL_END
87 
88 #endif
89