YSTest: YDevice.cpp 源文件

YSTest PreAlpha_b700_20160611 The YSLib Test Project

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

- 文件列表
- 文件成员

YDevice.cpp
浏览该文件的文档.
1 /*
2 © 2009-2015 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/Core/YModules.h"
29 #include YFM_YSLib_Core_YDevice
30
31 namespace YSLib
32 {
33
34 using namespace Drawing;
35
36 namespace Devices
37 {
38
39 ImplDeDtor(GraphicDevice)
40
41
42 ImplDeDtor(KeyInputDevice)
43
44
45 void
46 Screen::Update(ConstBitmapPtr p_buf) ynothrow
47 {
48 // TODO: Explicitly assert that copy cannot throw.
49 Drawing::CopyBitmapBuffer(GetBufferPtr(), p_buf, GetSize());
50 }
51
52 } // namespace Devices;
53
54 } // namespace YSLib;
55
YModules.h
YSLib
YSLib 命名空间。
Definition: AndroidHost.h:45
YSLib::Drawing::ConstBitmapPtr
const Pixel * ConstBitmapPtr
Definition: YGraphics.h:44
YSLib::ynothrow
YB_PURE const _type size_t n ynothrow
Definition: YCoreUtilities.h:168
Drawing
YSLib::Drawing::ImplDeDtor
ImplDeDtor(FontException) namespace
Definition: Font.cpp:80
YSLib::Drawing::CopyBitmapBuffer
void CopyBitmapBuffer(_tOut p_dst, _tIn p_src, const Size &s)
Definition: YGraphics.h:50