YSTest  PreAlpha_b400_20130424
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
DSWindow.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_Helper_DSWindow_h_
29 #define Inc_Helper_DSWindow_h_ 1
30 
31 #include "Helper/HostWindow.h" // for Host::Environment, Host::Window;
32 #include "DSScreen.h" // for Devices::DSScreen;
33 
35 
36 #if YCL_HOSTED
38 
39 
43 class DSWindow : public Window
44 {
45 private:
47  Devices::DSScreen& scr_up;
49  Devices::DSScreen& scr_dn;
50 
51 public:
53  DSWindow(NativeWindowHandle, Devices::DSScreen&, Devices::DSScreen&,
54  Environment&);
55 
56  pair<Drawing::Point, Drawing::Point>
57  GetInputBounds() const ynothrow override;
58 
59  void
60  OnDestroy() override;
61 
62  void
63  OnPaint() override;
64 };
65 
67 #endif
68 
69 YSL_END
70 
71 #endif
72