MyGUI: MyGUI_MainSkin.cpp Source File

MyGUI 3.4.3

MyGUI_MainSkin.cpp
Go to the documentation of this file.
1/*
2 * This source file is part of MyGUI. For the latest info, see http://mygui.info/
3 * Distributed under the MIT License
4 * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
5 */
6
7#include "MyGUI_Precompiled.h"
8#include "MyGUI_MainSkin.h"
9#include "MyGUI_RenderItem.h"
10#include "MyGUI_LayerManager.h"
11#include "MyGUI_CommonStateInfo.h"
12
13namespace MyGUI
14{
15
16 void MainSkin::_setAlign(const IntSize& _oldsize)
17 {
18 mCurrentCoord.set(0, 0, mCroppedParent->getWidth(), mCroppedParent->getHeight());
19 mAlign = Align::Stretch;
20
21 Base::_setAlign(_oldsize);
22 }
23
24} // 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