MyGUI
3.2.1
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
File List
Globals
mygui
MyGUIEngine
src
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
Generated on Wed Aug 20 2014 00:03:33 for MyGUI by
1.8.3.1