mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
update cursors
GuiCursor needs to be changed to use bitmapAsset guiTypes.GuiCursor safety around rendering getBitmap()
This commit is contained in:
parent
794a8c900d
commit
51b1e3b07e
3 changed files with 18 additions and 14 deletions
|
|
@ -27,48 +27,48 @@
|
|||
new GuiCursor(EditorHandCursor)
|
||||
{
|
||||
hotSpot = "7 0";
|
||||
bitmapName = "~/worldEditor/images/CUR_hand.png";
|
||||
bitmapAsset = "ToolsModule:CUR_hand_image";
|
||||
};
|
||||
|
||||
new GuiCursor(EditorRotateCursor)
|
||||
{
|
||||
hotSpot = "11 18";
|
||||
bitmapName = "~/worldEditor/images/CUR_rotate.png";
|
||||
bitmapAsset = "ToolsModule:CUR_rotate_image";
|
||||
};
|
||||
|
||||
new GuiCursor(EditorMoveCursor)
|
||||
{
|
||||
hotSpot = "9 13";
|
||||
bitmapName = "~/worldEditor/images/CUR_grab.png";
|
||||
bitmapAsset = "ToolsModule:CUR_grab_image";
|
||||
};
|
||||
|
||||
new GuiCursor(EditorArrowCursor)
|
||||
{
|
||||
hotSpot = "0 0";
|
||||
bitmapName = "~/worldEditor/images/CUR_3darrow.png";
|
||||
bitmapAsset = "ToolsModule:CUR_3darrow_image";
|
||||
};
|
||||
|
||||
new GuiCursor(EditorUpDownCursor)
|
||||
{
|
||||
hotSpot = "5 10";
|
||||
bitmapName = "~/worldEditor/images/CUR_3dupdown";
|
||||
bitmapAsset = "ToolsModule:CUR_3dupdown_image";
|
||||
};
|
||||
new GuiCursor(EditorLeftRightCursor)
|
||||
{
|
||||
hotSpot = "9 5";
|
||||
bitmapName = "~/worldEditor/images/CUR_3dleftright";
|
||||
bitmapAsset = "ToolsModule:CUR_3dleftright_image";
|
||||
};
|
||||
|
||||
new GuiCursor(EditorDiagRightCursor)
|
||||
{
|
||||
hotSpot = "8 8";
|
||||
bitmapName = "~/worldEditor/images/CUR_3ddiagright";
|
||||
bitmapAsset = "ToolsModule:CUR_3ddiagright_image";
|
||||
};
|
||||
|
||||
new GuiCursor(EditorDiagLeftCursor)
|
||||
{
|
||||
hotSpot = "8 8";
|
||||
bitmapName = "~/worldEditor/images/CUR_3ddiagleft";
|
||||
bitmapAsset = "ToolsModule:CUR_3ddiagleft_image";
|
||||
};
|
||||
|
||||
new GuiControl(EmptyControl)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue