MyGUI 3.2.2

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files
- Examples

- File List
- Globals

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
13 namespace MyGUI
14 {
15
16 MainSkin::MainSkin() :
17 SubSkin()
18 {
19 }
20
21 MainSkin::~MainSkin()
22 {
23 }
24
25 void MainSkin::_setAlign(const IntSize& _oldsize)
26 {
27 mCurrentCoord.set(0, 0, mCroppedParent->getWidth(), mCroppedParent->getHeight());
28 mAlign = Align::Stretch;
29
30 Base::_setAlign(_oldsize);
31 }
32
33 } // namespace MyGUI
MyGUI::SubSkin
Definition: MyGUI_SubSkin.h:23
MyGUI_LayerManager.h
MyGUI_Precompiled.h
MyGUI::ICroppedRectangle::getHeight
int getHeight() const
Definition: MyGUI_ICroppedRectangle.h:119
MyGUI::types::TSize< int >
MyGUI::types::TCoord::set
void set(T const &_left, T const &_top, T const &_width, T const &_height)
Definition: MyGUI_TCoord.h:165
MyGUI::ICroppedRectangle::mCroppedParent
ICroppedRectangle * mCroppedParent
Definition: MyGUI_ICroppedRectangle.h:249
MyGUI::Align::Stretch
Definition: MyGUI_Align.h:35
MyGUI_MainSkin.h
MyGUI
Definition: MyGUI_ActionController.h:14
MyGUI::ICroppedRectangle::getWidth
int getWidth() const
Definition: MyGUI_ICroppedRectangle.h:114
MyGUI_CommonStateInfo.h
MyGUI_RenderItem.h
MyGUI::MainSkin::MainSkin
MainSkin()
Definition: MyGUI_MainSkin.cpp:16
MyGUI::MainSkin::_setAlign
virtual void _setAlign(const IntSize &_oldsize)
Definition: MyGUI_MainSkin.cpp:25
MyGUI::ISubWidget::mAlign
Align mAlign
Definition: MyGUI_ISubWidget.h:60
MyGUI::MainSkin::~MainSkin
virtual ~MainSkin()
Definition: MyGUI_MainSkin.cpp:21
MyGUI::SubSkin::mCurrentCoord
IntCoord mCurrentCoord
Definition: MyGUI_SubSkin.h:61