MyGUI_MainSkin.cpp
Go to the documentation of this file.
/*
* This source file is part of MyGUI. For the latest info, see http://mygui.info/
* Distributed under the MIT License
* (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
*/
#include "MyGUI_Precompiled.h"
#include "MyGUI_MainSkin.h"
#include "MyGUI_RenderItem.h"
#include "MyGUI_LayerManager.h"
#include "MyGUI_CommonStateInfo.h"
namespace MyGUI
{
void MainSkin::_setAlign(const IntSize& _oldsize)
{
mCurrentCoord.set(0, 0, mCroppedParent->getWidth(), mCroppedParent->getHeight());
mAlign = Align::Stretch;
Base::_setAlign(_oldsize);
}
} // namespace MyGUI
MyGUI_CommonStateInfo.h
MyGUI_LayerManager.h
MyGUI_MainSkin.h
MyGUI_Precompiled.h
MyGUI_RenderItem.h
MyGUI::ICroppedRectangle::mCroppedParent
ICroppedRectangle * mCroppedParent
Definition MyGUI_ICroppedRectangle.h:249
MyGUI::ISubWidget::mAlign
Align mAlign
Definition MyGUI_ISubWidget.h:67
MyGUI::MainSkin::_setAlign
void _setAlign(const IntSize &_oldsize) override
Definition MyGUI_MainSkin.cpp:16
MyGUI::SubSkin::mCurrentCoord
IntCoord mCurrentCoord
Definition MyGUI_SubSkin.h:59
MyGUI
Definition MyGUI_ActionController.h:15
MyGUI::IntSize
types::TSize< int > IntSize
Definition MyGUI_Types.h:30
MyGUI::Align::Stretch
@ Stretch
Definition MyGUI_Align.h:35