#include "StdAfx.h" #include "UIContainer.h" //#include "InputSystem.h" //#include "TabWindow.h" //#include "RadioButton.h" #include "UIManager.h" #include "UIRootNode.h" #include "UIEvent.h" cUIContainerSkin::cUIContainerSkin( eUINodeType type ) : cUINodeSkin( type ) { } cUIContainerSkin::~cUIContainerSkin() { } ///////////////////////////////////////////////////////////////////////////////////////////// cUIContainer::cUIContainer( eUINodeType type ) : cUINode( type ) { mOnlyBackground = false; mHoldView = false; mExceptSnap = false; } /// ÁÖÀÇ»çÇ× : cUIContainer::~cUIContainer() { /// Àڽĵ鿡°Ô ¾Ë¸² cChildList::cIterator i = mChildList.Begin(); cChildList::cIterator end = mChildList.End(); for( ; i != end; ++i ) { cUINode* n = (cUINode*)(*i); if( n ) { n->mpParent = 0; delete n; } else { assert(0); } } }