Platform/Cursor: Fixed SystemCursor_Move on Windows
This commit is contained in:
parent
8c91d6a77d
commit
ec3cb12451
|
|
@ -163,6 +163,7 @@ Nazara Engine:
|
||||||
- Added possibility to change the RigidBody2D velocity function called by the physics engine
|
- Added possibility to change the RigidBody2D velocity function called by the physics engine
|
||||||
- Fixed MouseButtonEvent and MouseMoveEvent mouse absolute position being unsigned (now signed)
|
- Fixed MouseButtonEvent and MouseMoveEvent mouse absolute position being unsigned (now signed)
|
||||||
- Fixed Window::SetCursor changing cursor even if window was in foreground on Windows
|
- Fixed Window::SetCursor changing cursor even if window was in foreground on Windows
|
||||||
|
- Fixed SystemCursor_Move not showing up on Windows
|
||||||
|
|
||||||
Nazara Development Kit:
|
Nazara Development Kit:
|
||||||
- Added ImageWidget (#139)
|
- Added ImageWidget (#139)
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ namespace Nz
|
||||||
|
|
||||||
bool CursorImpl::Create(SystemCursor cursor)
|
bool CursorImpl::Create(SystemCursor cursor)
|
||||||
{
|
{
|
||||||
if (cursor != SystemCursor_Move)
|
if (cursor != SystemCursor_None)
|
||||||
m_cursor = static_cast<HCURSOR>(LoadImage(nullptr, s_systemCursorIds[cursor], IMAGE_CURSOR, 0, 0, LR_SHARED));
|
m_cursor = static_cast<HCURSOR>(LoadImage(nullptr, s_systemCursorIds[cursor], IMAGE_CURSOR, 0, 0, LR_SHARED));
|
||||||
else
|
else
|
||||||
m_cursor = nullptr;
|
m_cursor = nullptr;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue