|
@@ -89,7 +89,9 @@ void GuiWindowCtrl::initPersistFields()
|
|
|
addField("canClose", TypeBool, Offset(mCanClose, GuiWindowCtrl));
|
|
|
addField("canMinimize", TypeBool, Offset(mCanMinimize, GuiWindowCtrl));
|
|
|
addField("canMaximize", TypeBool, Offset(mCanMaximize, GuiWindowCtrl));
|
|
|
- addField("titleHeight", TypeS32, Offset(mTitleHeight, GuiWindowCtrl));
|
|
|
+ addField("titleHeight", TypeS32, Offset(mTitleHeight, GuiWindowCtrl));
|
|
|
+ addField("resizeRightWidth", TypeS32, Offset(mResizeRightWidth, GuiWindowCtrl));
|
|
|
+ addField("resizeBottomHeight", TypeS32, Offset(mResizeBottomHeight, GuiWindowCtrl));
|
|
|
addField("contentProfile", TypeGuiProfile, Offset(mContentProfile, GuiWindowCtrl));
|
|
|
addField("closeButtonProfile", TypeGuiProfile, Offset(mCloseButtonProfile, GuiWindowCtrl));
|
|
|
addField("minButtonProfile", TypeGuiProfile, Offset(mMinButtonProfile, GuiWindowCtrl));
|
|
@@ -644,12 +646,6 @@ void GuiWindowCtrl::onRender(Point2I offset, const RectI &updateRect)
|
|
|
else if (hasFocus)
|
|
|
{
|
|
|
currentState = SelectedState;
|
|
|
-
|
|
|
- GuiControl *parent = getParent();
|
|
|
- if (parent)
|
|
|
- {
|
|
|
- parent->pushObjectToBack(this);
|
|
|
- }
|
|
|
}
|
|
|
else if (curHitRegion == TitleBar)
|
|
|
{
|