mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-10 07:50:44 +00:00
Fix uninit vars in gui
This commit is contained in:
parent
81e7dafb94
commit
2fc1ac4816
4 changed files with 12 additions and 3 deletions
|
|
@ -56,6 +56,10 @@ IMPLEMENT_CALLBACK( GuiRolloutCtrl, onCollapsed, void, (), (),
|
|||
//-----------------------------------------------------------------------------
|
||||
|
||||
GuiRolloutCtrl::GuiRolloutCtrl()
|
||||
: mHeader(0,0,0,0),
|
||||
mExpanded(0,0,0,0),
|
||||
mChildRect(0,0,0,0),
|
||||
mMargin(0,0,0,0)
|
||||
{
|
||||
mExpanded.set(0,0,200,60);
|
||||
mCaption = StringTable->EmptyString();
|
||||
|
|
@ -70,6 +74,7 @@ GuiRolloutCtrl::GuiRolloutCtrl()
|
|||
mIsContainer = true;
|
||||
mCanCollapse = true;
|
||||
mAutoCollapseSiblings = false;
|
||||
mHasTexture = false;
|
||||
// Make sure we receive our ticks.
|
||||
setProcessTicks();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue