mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-20 07:03:46 +00:00
fixed lots of tabs and space
This commit is contained in:
parent
d30a3f9271
commit
bb38a40bcb
53 changed files with 2695 additions and 2695 deletions
|
|
@ -716,16 +716,16 @@ void GuiEditCtrl::onRender(Point2I offset, const RectI &updateRect)
|
|||
ctOffset = getCurrentAddSet()->localToGlobalCoord(Point2I(0,0));
|
||||
RectI box(ctOffset.x, ctOffset.y, cext.x, cext.y);
|
||||
|
||||
box.inset( -5, -5 );
|
||||
box.inset( -5, -5 );
|
||||
drawer->drawRect( box, ColorI( 50, 101, 152, 128 ) );
|
||||
box.inset( 1, 1 );
|
||||
box.inset( 1, 1 );
|
||||
drawer->drawRect( box, ColorI( 50, 101, 152, 128 ) );
|
||||
box.inset( 1, 1 );
|
||||
box.inset( 1, 1 );
|
||||
drawer->drawRect( box, ColorI( 50, 101, 152, 128 ) );
|
||||
box.inset( 1, 1 );
|
||||
box.inset( 1, 1 );
|
||||
drawer->drawRect( box, ColorI( 50, 101, 152, 128 ) );
|
||||
box.inset( 1, 1 );
|
||||
drawer->drawRect( box, ColorI( 50, 101, 152, 128 ) );
|
||||
box.inset( 1, 1 );
|
||||
drawer->drawRect( box, ColorI( 50, 101, 152, 128 ) );
|
||||
}
|
||||
Vector<GuiControl *>::iterator i;
|
||||
bool multisel = mSelectedControls.size() > 1;
|
||||
|
|
@ -2481,16 +2481,16 @@ DefineConsoleMethod( GuiEditCtrl, getContentControl, S32, (), , "() - Return the
|
|||
|
||||
DefineConsoleMethod( GuiEditCtrl, setContentControl, void, (GuiControl *ctrl ), , "( GuiControl ctrl ) - Set the toplevel control to edit in the GUI editor." )
|
||||
{
|
||||
if (ctrl)
|
||||
object->setContentControl(ctrl);
|
||||
if (ctrl)
|
||||
object->setContentControl(ctrl);
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
DefineConsoleMethod( GuiEditCtrl, addNewCtrl, void, (GuiControl *ctrl), , "(GuiControl ctrl)")
|
||||
{
|
||||
if (ctrl)
|
||||
object->addNewControl(ctrl);
|
||||
if (ctrl)
|
||||
object->addNewControl(ctrl);
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
@ -2518,7 +2518,7 @@ DefineConsoleMethod( GuiEditCtrl, clearSelection, void, (), , "Clear selected co
|
|||
|
||||
DefineConsoleMethod( GuiEditCtrl, select, void, (GuiControl *ctrl), , "(GuiControl ctrl)")
|
||||
{
|
||||
if (ctrl)
|
||||
if (ctrl)
|
||||
object->setSelection(ctrl, false);
|
||||
}
|
||||
|
||||
|
|
@ -2526,7 +2526,7 @@ DefineConsoleMethod( GuiEditCtrl, select, void, (GuiControl *ctrl), , "(GuiContr
|
|||
|
||||
DefineConsoleMethod( GuiEditCtrl, setCurrentAddSet, void, (GuiControl *addSet), , "(GuiControl ctrl)")
|
||||
{
|
||||
if (addSet)
|
||||
if (addSet)
|
||||
object->setCurrentAddSet(addSet);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue