28 #ifndef Inc_Helper_DSScreen_h_
29 #define Inc_Helper_DSScreen_h_ 1
32 #include YFM_DS_Helper_DSMain // for ScreenWidth, ScreenHeight, Host::Environment;
33 #include YFM_YSLib_Core_YDevice
34 #include YFM_Helper_ScreenBuffer
35 #if YCL_MULTITHREAD == 1
74 #elif YCL_Win32 || YCL_Android
104 template<
typename _type>
106 UpdateToSurface(_type& sf)
108 sf.Update(rbuf, Offset);
111 # error "Unsupported platform found."
130 throw LoggedEvent(
"Screen initialization failed.");
pBuffer DefGetter(const ynothrow, const Size &, Size, sGraphics) DefGetter(const ynothrow
#define ynothrow
YSLib 无异常抛出保证:若支持 noexcept 关键字, 指定特定的 noexcept 异常规范。
virtual void Update(Drawing::BitmapPtr) ynothrow
更新。
::ANativeWindow * NativeWindowHandle
void InitDSScreen(unique_ptr< DSScreen > &p_up, unique_ptr< DSScreen > &p_dn) ynothrow
初始化 DS 屏幕。
ScreenRegionBuffer(const YSLib::Drawing::Size &, YSLib::SDst)
构造:使用指定的缓冲区大小和像素跨距。 像素跨距小于缓冲区大小。