mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
uninitialized variables-gui
This commit is contained in:
parent
b9c207765e
commit
9fef1b3cd1
43 changed files with 119 additions and 33 deletions
|
|
@ -54,7 +54,8 @@ ConsoleDocClass( GuiDecoyCtrl,
|
|||
|
||||
GuiDecoyCtrl::GuiDecoyCtrl() : mMouseOver(false),
|
||||
mIsDecoy(true),
|
||||
mDecoyReference(NULL)
|
||||
mDecoyReference(NULL),
|
||||
mMouseOverDecoy(false)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -235,4 +236,4 @@ void GuiDecoyCtrl::onMiddleMouseUp(const GuiEvent &)
|
|||
|
||||
void GuiDecoyCtrl::onMiddleMouseDragged(const GuiEvent &)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -280,6 +280,10 @@ GuiPopUpMenuCtrl::GuiPopUpMenuCtrl(void)
|
|||
mBitmapName = StringTable->EmptyString(); // Added
|
||||
mBitmapBounds.set(16, 16); // Added
|
||||
mIdMax = -1;
|
||||
mBackground = NULL;
|
||||
mTl = NULL;
|
||||
mSc = NULL;
|
||||
mReplaceText = false;
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -332,6 +332,10 @@ GuiPopUpMenuCtrlEx::GuiPopUpMenuCtrlEx(void)
|
|||
mBitmapBounds.set(16, 16); // Added
|
||||
mHotTrackItems = false;
|
||||
mIdMax = -1;
|
||||
mBackground = NULL;
|
||||
mTl = NULL;
|
||||
mSc = NULL;
|
||||
mReplaceText = false;
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -100,8 +100,10 @@ GuiSliderCtrl::GuiSliderCtrl()
|
|||
mMouseOver( false ),
|
||||
mDepressed( false ),
|
||||
mMouseDragged( false ),
|
||||
mHasTexture(false),
|
||||
mUseFillBar(false),
|
||||
mFillBarColor(ColorI(255,255,255))
|
||||
mFillBarColor(ColorI(255,255,255)),
|
||||
mBitmapBounds(NULL)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@ GuiTabPageCtrl::GuiTabPageCtrl(void)
|
|||
dStrcpy(mText,(UTF8*)"TabPage", MAX_STRING_LENGTH);
|
||||
mActive = true;
|
||||
mIsContainer = true;
|
||||
mTabIndex = -1;
|
||||
}
|
||||
|
||||
void GuiTabPageCtrl::initPersistFields()
|
||||
|
|
|
|||
|
|
@ -95,6 +95,8 @@ GuiTextEditSliderBitmapCtrl::GuiTextEditSliderBitmapCtrl()
|
|||
mTextAreaHit = None;
|
||||
mFocusOnMouseWheel = false;
|
||||
mBitmapName = StringTable->insert( "" );
|
||||
mMouseDownTime = 0;
|
||||
mNumberOfBitmaps = 0;
|
||||
}
|
||||
|
||||
GuiTextEditSliderBitmapCtrl::~GuiTextEditSliderBitmapCtrl()
|
||||
|
|
@ -444,4 +446,4 @@ void GuiTextEditSliderBitmapCtrl::setBitmap(const char *name)
|
|||
if(awake)
|
||||
onWake();
|
||||
setUpdate();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -62,6 +62,7 @@ GuiTextEditSliderCtrl::GuiTextEditSliderCtrl()
|
|||
mFormat = StringTable->insert("%3.2f");
|
||||
mTextAreaHit = None;
|
||||
mFocusOnMouseWheel = false;
|
||||
mMouseDownTime = 0.0f;
|
||||
}
|
||||
|
||||
GuiTextEditSliderCtrl::~GuiTextEditSliderCtrl()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue