|
YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|
类 | |
| class | GSurface |
| 显式区域表面:储存显式区域上的二维图形绘制状态。 更多... | |
| class | HostWindow |
| 宿主窗口。 更多... | |
| class | RegisterKey |
| 注册表键。 更多... | |
| class | ScreenBuffer |
| 虚拟屏幕缓存。 更多... | |
| class | Win32Exception |
| Win32 错误引起的宿主异常。 更多... | |
| class | WindowClass |
| 窗口类。 更多... | |
| class | WindowDeviceContext |
| 窗口设备上下文。 更多... | |
| class | WindowDeviceContextBase |
| class | WindowMemorySurface |
| 窗口内存表面:储存窗口上的二维图形绘制状态。 更多... | |
| class | WindowReference |
| 本机窗口引用。 更多... | |
| class | WindowRegionDeviceContext |
| 窗口区域设备上下文。 更多... | |
函数 | |
| YF_API bool | CheckWine () |
| 判断是否在 Wine 环境下运行。 更多... | |
| YF_API std::string | MBCSToMBCS (const char *, std::size_t, int=CP_UTF8, int=CP_ACP) |
| 转换第一个 int 参数指定编码的字符串为第二个 int 参数指定的编码。 更多... | |
| RegisterKey (::HKEY h_parent, const wchar_t *key) | |
| 注册表键。 更多... | |
| ~RegisterKey () | |
| DefGetter (const ynothrow,::HKEY, Key, h_key)} | |
| YF_API NativeWindowHandle | CreateNativeWindow (const wchar_t *, const YSLib::Drawing::Size &, const wchar_t *=L"",::DWORD=WS_POPUP,::DWORD=WS_EX_LTRREADING) |
| 按指定窗口类名、客户区大小、标题文本、样式和附加样式创建本机顶层窗口。 更多... | |
| err (ec) | |
| std::string | WCSToMBCS (const wchar_t *str, std::size_t len, int cp) |
| std::wstring | MBCSToWCS (const char *str, std::size_t len, int cp) |
| hBitmap (sbuf.hBitmap) | |
| YF_API std::string | UTF8ToMBCS (const char *, std::size_t, int=CP_ACP) |
| std::string | UTF8ToMBCS (const char *str, int cp=CP_ACP) |
| std::string | UTF8ToMBCS (const std::string &str, int cp=CP_ACP) |
| std::string | WCSToMBCS (const wchar_t *str, int cp=CP_ACP) |
| std::string | WCSToMBCS (const std::wstring &str, int cp=CP_ACP) |
| std::wstring | MBCSToWCS (const char *str, int cp=CP_ACP) |
| std::wstring | MBCSToWCS (const std::string &str, int cp=CP_ACP) |
| void | UpdateFrom (YSLib::Drawing::BitmapPtr) ynothrow |
| void | UpdatePremultipliedTo (NativeWindowHandle, YSLib::Drawing::AlphaType=0xFF, const YSLib::Drawing::Point &={}) ynothrow |
| void | UpdateTo (NativeWindowHandle, const YSLib::Drawing::Point &={}) ynothrow |
变量 | |
| yconstexpr wchar_t | WindowClassName [] {L"YFramework Window"} |
| Win32Exception::Win32Exception(ErrorCode ec, const std::string &s, LevelType l) ynothrow | catch (...) |
| return | s |
| l | |
Windows 平台扩展接口。
| YF_API bool platform_ex::Windows::CheckWine | ( | ) |
判断是否在 Wine 环境下运行。
在文件 MinGW32.cpp 第 80 行定义.
参考 yunused.
| YF_API NativeWindowHandle platform_ex::Windows::CreateNativeWindow | ( | const wchar_t * | , |
| const YSLib::Drawing::Size & | , | ||
| const wchar_t * | = L"", |
||
| ::DWORD | = WS_POPUP, |
||
| ::DWORD | = WS_EX_LTRREADING |
||
| ) |
按指定窗口类名、客户区大小、标题文本、样式和附加样式创建本机顶层窗口。
在文件 Win32GUI.cpp 第 222 行定义.
参考 YSLib::Drawing::Size::Height , 以及 YSLib::Drawing::Size::Width.
| platform_ex::Windows::err | ( | ec | ) |
在文件 MinGW32.cpp 第 51 行定义.
参考 YAssert.
参考自 YSLib::Drawing::NativeFontSize::NativeFontSize().

| platform_ex::Windows::hBitmap | ( | sbuf. | hBitmap | ) |
|
related |
虚拟屏幕区域缓存。
在文件 E/include/YCLib/Win32GUI.h 第 235 行定义.
| void platform_ex::Windows::UpdateFrom | ( | YSLib::Drawing::BitmapPtr | ) |
| void platform_ex::Windows::UpdatePremultipliedTo | ( | NativeWindowHandle | , |
| YSLib::Drawing::AlphaType | = 0xFF, |
||
| const YSLib::Drawing::Point & | = {} |
||
| ) |
在文件 Win32GUI.cpp 第 313 行定义.
参考 platform_ex::Windows::WindowMemorySurface::UpdatePremultiplied().

| void platform_ex::Windows::UpdateTo | ( | NativeWindowHandle | , |
| const YSLib::Drawing::Point & | = {} |
||
| ) |
| Win32Exception::Win32Exception (ErrorCode ec, const std::string& s, LevelType l) ynothrow platform_ex::Windows::catch(...) |
在文件 MinGW32.cpp 第 47 行定义.
| platform_ex::Windows::l |
在文件 MinGW32.cpp 第 50 行定义.
参考自 YSLib::UI::AScrollBar::AScrollBar(), YSLib::Drawing::ColorToHSL(), ystdex::get_mid(), CHRLib::GUCS2Mapper< CharSet::UTF_8 >::InverseMap(), ystdex::openmode_conv(), YSLib::Drawing::operator*(), YSLib::UI::GSequenceViewer< _tCon >::SetLength(), CHRLib::UCToMBC(), YSLib::UI::HexViewArea::UpdateData() , 以及 YSLib::UI::BufferedRenderer::Validate().
| return platform_ex::Windows::s |
在文件 MinGW32.cpp 第 49 行定义.
参考自 YSLib::UI::AScrollBar::AScrollBar(), YSLib::Drawing::Shaders::Blend(), YSLib::Drawing::ColorToHSL(), YSLib::Drawing::Shaders::Composite(), YSLib::Drawing::Shaders::GPixelCompositor< _vDstAlphaBits, 0 >::CompositeComponentOver(), YSLib::Drawing::DrawText(), YSLib::Drawing::FetchStringWidth(), ystdex::path< _tSeqCon, _tNorm >::filter_self(), YSLib::Drawing::GetAreaOf(), YSLib::TextFile::GetBOM(), CHRLib::GUCS2Mapper< CharSet::UTF_8 >::InverseMap(), NPL::LexicalAnalyzer::Literalize(), YSLib::DS::UI::DualScreenReader::Locate(), YReader::ShlTextReader::Locate(), ystdex::ntctslen(), YSLib::Drawing::operator+(), ystdex::fixed_point< _tBase, _vInt, _vFrac >::operator<<=(), ystdex::fixed_point< _tBase, _vInt, _vFrac >::operator>>=(), YSLib::UI::TabBar::PerformLayout(), YSLib::Drawing::PrintLine(), YSLib::Drawing::PrintString(), YSLib::Drawing::PutLine(), YSLib::Drawing::PutString(), YSLib::UI::ProgressBar::Refresh(), YSLib::UI::CheckButton::Refresh(), YSLib::UI::RadioButton::Refresh(), YSLib::Drawing::TextRegion::Scroll(), YSLib::UI::SetBufferRendererAndText(), YSLib::Drawing::CompactPixmap::SetSize(), YSLib::SwitchAddedInterval(), ystdex::path< _tSeqCon, _tNorm >::to_string_d(), NPL::TransformNPLA1(), YSLib::Drawing::TransformRect(), CHRLib::UCS2Mapper(), platform_ex::Windows::WindowMemorySurface::Update() , 以及 platform::YDebugSetStatus().
| yconstexpr wchar_t platform_ex::Windows::WindowClassName {L"YFramework Window"} |
在文件 include/YCLib/Win32GUI.h 第 412 行定义.
参考自 platform_ex::Windows::HostWindow::HostWindow() , 以及 platform_ex::Windows::WindowClass::~WindowClass().