mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 22:54:34 +00:00
Replaced StringTable->insert("") with StringTable->EmptyString()
This commit is contained in:
parent
bcc5459818
commit
27e2871b01
33 changed files with 304 additions and 304 deletions
|
|
@ -85,7 +85,7 @@ ConsoleDocClass( GuiIconButtonCtrl,
|
|||
|
||||
GuiIconButtonCtrl::GuiIconButtonCtrl()
|
||||
{
|
||||
mBitmapName = StringTable->insert("");
|
||||
mBitmapName = StringTable->EmptyString();
|
||||
mTextLocation = TextLocLeft;
|
||||
mIconLocation = IconLocLeft;
|
||||
mTextMargin = 4;
|
||||
|
|
@ -94,7 +94,7 @@ GuiIconButtonCtrl::GuiIconButtonCtrl()
|
|||
mFitBitmapToButton = false;
|
||||
mMakeIconSquare = false;
|
||||
|
||||
mErrorBitmapName = StringTable->insert("");
|
||||
mErrorBitmapName = StringTable->EmptyString();
|
||||
mErrorTextureHandle = NULL;
|
||||
|
||||
mAutoSize = false;
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ ConsoleDocClass( GuiToggleButtonCtrl,
|
|||
GuiToggleButtonCtrl::GuiToggleButtonCtrl()
|
||||
{
|
||||
setExtent(140, 30);
|
||||
mButtonText = StringTable->insert("");
|
||||
mButtonText = StringTable->EmptyString();
|
||||
mStateOn = false;
|
||||
mButtonType = ButtonTypeCheck;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ ConsoleDocClass( GuiToolboxButtonCtrl,
|
|||
//-------------------------------------
|
||||
GuiToolboxButtonCtrl::GuiToolboxButtonCtrl()
|
||||
{
|
||||
mNormalBitmapName = StringTable->insert("");
|
||||
mNormalBitmapName = StringTable->EmptyString();
|
||||
mLoweredBitmapName = StringTable->insert("sceneeditor/client/images/buttondown");
|
||||
mHoverBitmapName = StringTable->insert("sceneeditor/client/images/buttonup");
|
||||
setMinExtent(Point2I(16,16));
|
||||
|
|
@ -225,4 +225,4 @@ void GuiToolboxButtonCtrl::renderButton(GFXTexHandle &texture, Point2I &offset,
|
|||
GFX->getDrawUtil()->drawBitmap(texture, finalOffset);
|
||||
renderChildControls( offset, updateRect);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue