00001 #ifndef OglGui_LayoutListener_h 00002 #include "OglGui/LayoutListener.h" 00003 #endif 00004 00005 namespace OglGui 00006 { 00007 00008 void LayoutComponent::StopLayoutListening() 00009 { 00010 int i; 00011 00012 for (i=(int)mLayoutFollowers.size()-1 ; i>=0 ; i--) 00013 delete mLayoutFollowers[i]; 00014 00015 for (i=(int)mLayoutLeaders.size()-1 ; i>=0 ; i--) 00016 delete mLayoutLeaders[i]; 00017 } 00018 00019 } // namespace OglGui 00020