implement mouse cursor set in x11 platform

This commit is contained in:
Eduardo Bart
2012-01-11 23:12:25 -02:00
parent c1787c2a50
commit 34af633b47
7 changed files with 101 additions and 15 deletions

View File

@@ -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);
}