MyGUI
3.2.1
|
00001 /* 00002 * This source file is part of MyGUI. For the latest info, see http://mygui.info/ 00003 * Distributed under the MIT License 00004 * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT) 00005 */ 00006 00007 #include "MyGUI_Precompiled.h" 00008 #include "MyGUI_MainSkin.h" 00009 #include "MyGUI_RenderItem.h" 00010 #include "MyGUI_LayerManager.h" 00011 #include "MyGUI_CommonStateInfo.h" 00012 00013 namespace MyGUI 00014 { 00015 00016 MainSkin::MainSkin() : 00017 SubSkin() 00018 { 00019 } 00020 00021 MainSkin::~MainSkin() 00022 { 00023 } 00024 00025 void MainSkin::_setAlign(const IntSize& _oldsize) 00026 { 00027 mCurrentCoord.set(0, 0, mCroppedParent->getWidth(), mCroppedParent->getHeight()); 00028 mAlign = Align::Stretch; 00029 00030 Base::_setAlign(_oldsize); 00031 } 00032 00033 } // namespace MyGUI