|
|
|
@ -253,15 +253,13 @@ void plInputInterfaceMgr::IUpdateCursor( Int32 newCursor )
|
|
|
|
|
{ |
|
|
|
|
char* mouseCursorResID; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fCurrentCursor = newCursor; |
|
|
|
|
if( fCurrentCursor == plInputInterface::kCursorHidden ) |
|
|
|
|
if (newCursor == plInputInterface::kCursorHidden) { |
|
|
|
|
plMouseDevice::HideCursor(); |
|
|
|
|
else |
|
|
|
|
{ |
|
|
|
|
} else { |
|
|
|
|
if (fCurrentCursor == plInputInterface::kCursorHidden) |
|
|
|
|
plMouseDevice::ShowCursor(); |
|
|
|
|
|
|
|
|
|
switch( fCurrentCursor ) |
|
|
|
|
switch(newCursor) |
|
|
|
|
{ |
|
|
|
|
case plInputInterface::kCursorUp: mouseCursorResID = CURSOR_UP; break; |
|
|
|
|
case plInputInterface::kCursorLeft: mouseCursorResID = CURSOR_LEFT; break; |
|
|
|
@ -286,12 +284,12 @@ void plInputInterfaceMgr::IUpdateCursor( Int32 newCursor )
|
|
|
|
|
case plInputInterface::kCursorHand: mouseCursorResID = CURSOR_HAND; break; |
|
|
|
|
case plInputInterface::kCursorUpward: mouseCursorResID = CURSOR_UPWARD; break; |
|
|
|
|
default: mouseCursorResID = CURSOR_OPEN; break; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plMouseDevice::NewCursor( mouseCursorResID ); |
|
|
|
|
plMouseDevice::NewCursor(mouseCursorResID); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
fCurrentCursor = newCursor; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//// IEval ///////////////////////////////////////////////////////////////////
|
|
|
|
|