YSTest  PreAlpha_b400_20130424
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
HostedUI.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_HostedUI_h_
29 #define INC_Helper_HostedUI_h_ 1
30 
31 #include "Helper/GUIApplication.h"
32 #include "YSLib/UI/yrender.h"
33 
35 
36 #if YCL_HOSTED
38 
39 
44 YF_API UI::BufferedRenderer*
45 GetHostRendererPtrOf(UI::IWidget&);
46 
53 GetWindowPtrOf(UI::IWidget&);
54 
55 
61 YF_API unique_ptr<UI::BufferedRenderer>
62 MakeHostRenderer(UI::IWidget&, std::function<NativeWindowHandle()>);
63 
65 #endif
66 
67 YSL_END
68 
69 #endif
70