mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Changes for Linux.
This commit is contained in:
parent
aa35157eef
commit
3336bffad2
30 changed files with 99 additions and 173 deletions
|
|
@ -28,8 +28,8 @@ void PlatformCursorController::pushCursor( S32 cursorID )
|
|||
// Place the new cursor shape onto the stack
|
||||
mCursors.increment();
|
||||
|
||||
CursorShape &shape = mCursors.last();
|
||||
shape.mCursorType = CursorShape::TYPE_RESOURCE;
|
||||
Cursor_Shape &shape = mCursors.last();
|
||||
shape.mCursorType = Cursor_Shape::TYPE_RESOURCE;
|
||||
shape.mCursorID = cursorID;
|
||||
|
||||
// Now Change the Cursor Shape.
|
||||
|
|
@ -42,8 +42,8 @@ void PlatformCursorController::pushCursor( const UTF8 *fileName )
|
|||
mCursors.increment();
|
||||
|
||||
// Store the Details.
|
||||
CursorShape &shape = mCursors.last();
|
||||
shape.mCursorType = CursorShape::TYPE_FILE;
|
||||
Cursor_Shape &shape = mCursors.last();
|
||||
shape.mCursorType = Cursor_Shape::TYPE_FILE;
|
||||
shape.mCursorFile = String::ToString( "%s", fileName );
|
||||
|
||||
// Now Change the Cursor Shape.
|
||||
|
|
@ -71,11 +71,11 @@ void PlatformCursorController::refreshCursor()
|
|||
setCursorShape( mCursors.last(), false );
|
||||
}
|
||||
|
||||
void PlatformCursorController::setCursorShape( const CursorShape &shape, bool reload )
|
||||
void PlatformCursorController::setCursorShape( const Cursor_Shape &shape, bool reload )
|
||||
{
|
||||
switch( shape.mCursorType )
|
||||
{
|
||||
case CursorShape::TYPE_RESOURCE :
|
||||
case Cursor_Shape::TYPE_RESOURCE :
|
||||
{
|
||||
|
||||
// Set Resource.
|
||||
|
|
@ -83,7 +83,7 @@ void PlatformCursorController::setCursorShape( const CursorShape &shape, bool re
|
|||
|
||||
} break;
|
||||
|
||||
case CursorShape::TYPE_FILE :
|
||||
case Cursor_Shape::TYPE_FILE :
|
||||
{
|
||||
|
||||
// Set File.
|
||||
|
|
@ -91,4 +91,4 @@ void PlatformCursorController::setCursorShape( const CursorShape &shape, bool re
|
|||
|
||||
} break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue