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
|
|
@ -90,8 +90,10 @@ EndImplementEnumType;
|
|||
GuiAutoScrollCtrl::GuiAutoScrollCtrl()
|
||||
: mDirection( Up ),
|
||||
mIsLooping( true ),
|
||||
mCurrentPhase( PhaseComplete ),
|
||||
mCurrentPhase( GuiAutoScrollCtrl::PhaseComplete ),
|
||||
mCurrentTime( 0.f ),
|
||||
mCompleteTime(FLT_MAX),
|
||||
mCurrentPosition(0.0f),
|
||||
mStartDelay( 3.f ),
|
||||
mResetDelay( 5.f ),
|
||||
mChildBorder( 10 ),
|
||||
|
|
|
|||
|
|
@ -59,6 +59,7 @@ GuiFormCtrl::GuiFormCtrl()
|
|||
// The attached menu bar
|
||||
mHasMenu = false;
|
||||
mMenuBar = NULL;
|
||||
mMouseMovingWin = false;
|
||||
}
|
||||
|
||||
GuiFormCtrl::~GuiFormCtrl()
|
||||
|
|
|
|||
|
|
@ -114,10 +114,6 @@ protected:
|
|||
/* member variables */
|
||||
Vector<S32> mColumnOffsets;
|
||||
Vector<S32> mRowOffsets;
|
||||
GuiCursor *mMoveCursor;
|
||||
GuiCursor *mUpDownCursor;
|
||||
GuiCursor *mLeftRightCursor;
|
||||
GuiCursor *mDefaultCursor;
|
||||
FrameDetail mFramesetDetails;
|
||||
VectorPtr<FrameDetail *> mFrameDetails;
|
||||
bool mAutoBalance;
|
||||
|
|
|
|||
|
|
@ -74,7 +74,10 @@ GuiRolloutCtrl::GuiRolloutCtrl()
|
|||
mIsContainer = true;
|
||||
mCanCollapse = true;
|
||||
mAutoCollapseSiblings = false;
|
||||
mDefaultCursor = NULL;
|
||||
mVertSizingCursor = NULL;
|
||||
mHasTexture = false;
|
||||
mBitmapBounds = NULL;
|
||||
// Make sure we receive our ticks.
|
||||
setProcessTicks();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -74,10 +74,22 @@ GuiScrollCtrl::GuiScrollCtrl()
|
|||
mChildPos(0, 0),
|
||||
mChildExt(0, 0),
|
||||
mScrollTargetPos( -1, -1 ),
|
||||
mBaseThumbSize(0)
|
||||
mBaseThumbSize(0),
|
||||
mHBarEnabled(false),
|
||||
mVBarEnabled(false),
|
||||
mHasHScrollBar(false),
|
||||
mHasVScrollBar(false),
|
||||
mHThumbSize(1),
|
||||
mHThumbPos(0),
|
||||
mVThumbSize(1),
|
||||
mVThumbPos(0),
|
||||
mThumbMouseDelta(0)
|
||||
{
|
||||
mBitmapBounds = NULL;
|
||||
mIsContainer = true;
|
||||
setExtent(200,200);
|
||||
mLastPreRender = Platform::getVirtualMilliseconds();
|
||||
mLastUpdated = Platform::getVirtualMilliseconds();
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -116,6 +116,11 @@ GuiWindowCtrl::GuiWindowCtrl()
|
|||
mMaximizeButtonPressed = false;
|
||||
mMinimizeButtonPressed = false;
|
||||
|
||||
mRepositionWindow = false;
|
||||
mResizeWindow = false;
|
||||
mSnapSignal = false;
|
||||
mPreCollapsedYExtent = 200;
|
||||
mPreCollapsedYMinExtent = 176;
|
||||
mText = "New Window";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue