28 #ifndef INC_Helper_HostWindow_h_
29 #define INC_Helper_HostWindow_h_ 1
32 #include YFM_Helper_YGlobal
34 # include YFM_MinGW32_YCLib_Win32GUI
36 # include YFM_Android_YCLib_Android
47 using namespace platform_ex;
57 std::reference_wrapper<Environment> env;
69 bool UseOpacity{
false};
94 virtual pair<YSLib::Drawing::
Point, YSLib::Drawing::Point>
void Refresh(PaintEventArgs &&) override
刷新:按指定参数绘制界面并更新状态。
#define DefGetter(_q, _t, _n,...)
GBinaryGroup< SPos > Point
屏幕二维点(直角坐标表示)。
DefGetter(ynothrow, ScreenBuffer &, ScreenBufferRef,*this) using ScreenBuffer voi UpdateFrom)(YSLib::Drawing::BitmapPtr) ynothrow
#define ynothrow
YSLib 无异常抛出保证:若支持 noexcept 关键字, 指定特定的 noexcept 异常规范。
::ANativeWindow * NativeWindowHandle
ScreenRegionBuffer(const YSLib::Drawing::Size &, YSLib::SDst)
构造:使用指定的缓冲区大小和像素跨距。 像素跨距小于缓冲区大小。