YSTest: DSWindow.h 源文件

YSTest PreAlpha_b500_20140530 The YSLib Test Project

- 首页
- 相关页面
- 模块
- 命名空间
- 类
- 文件

- 文件列表
- 文件成员

全部 类 命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 组 页
DSWindow.h
浏览该文件的文档.
1 /*
2 © 2013-2014 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_DSWindow_h_
29 #define Inc_Helper_DSWindow_h_ 1
30
31 #include "Helper/YModules.h"
32 #include YFM_Helper_HostWindow // for Host::Environment, Host::Window;
33 #include "DSScreen.h" // for Devices::DSScreen;
34
35 namespace YSLib
36 {
37
38 #if YF_Hosted
39 namespace Host
40 {
41
46 class DSWindow : public Window
47 {
48 private:
50 Devices::DSScreen& scr_up;
52 Devices::DSScreen& scr_dn;
53
54 public:
56 DSWindow(NativeWindowHandle, Devices::DSScreen&, Devices::DSScreen&,
57 Environment&);
58
59 pair<Drawing::Point, Drawing::Point>
60 GetInputBounds() const ynothrow override;
61 };
62
63 } // namespace Host;
64 #endif
65
66 } // namespace YSLib;
67
68 #endif
69
DSScreen.h
DS 屏幕。
YSLib::UI::Styles::Window
窗口背景。
Definition: ystyle.h:182
ynothrow
#define ynothrow
YSLib 无异常抛出保证：若支持 noexcept 关键字， 指定特定的 noexcept 异常规范。
Definition: ydef.h:514
platform_ex::NativeWindowHandle
::ANativeWindow * NativeWindowHandle
Definition: Android.h:50
YModules.h