mirror of
https://github.com/edubart/otclient.git
synced 2025-11-03 20:26:23 +01:00
implement mouse cursor set in x11 platform
This commit is contained in:
@@ -526,6 +526,16 @@ void WIN32Window::hideMouse()
|
||||
ShowCursor(false);
|
||||
}
|
||||
|
||||
void WIN32Window::displayFatalError(const std::string& message)
|
||||
{
|
||||
MessageBoxA(m_window, message.c_str(), "FATAL ERROR", MB_OK | MB_ICONERROR);
|
||||
}
|
||||
|
||||
void WIN32Window::setMouseCursor(const std::string& file)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void WIN32Window::setTitle(const std::string& title)
|
||||
{
|
||||
SetWindowTextA(m_window, title.c_str());
|
||||
@@ -662,8 +672,3 @@ std::string WIN32Window::getPlatformType()
|
||||
{
|
||||
return "WIN32-WGL";
|
||||
}
|
||||
|
||||
void WIN32Window::displayFatalError(const std::string& message)
|
||||
{
|
||||
MessageBoxA(m_window, message.c_str(), "FATAL ERROR", MB_OK | MB_ICONERROR);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user