AppEasy Core SDK  1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
CzUIPanel.h
Go to the documentation of this file.
00001 // 
00002 //
00003 // AppEasy SDK - Cross Platform Multi-purpose Game and App Engine
00004 //
00005 // Developed by Matthew Hopwood of Pocketeers Limited - www.pocketeers.co.uk
00006 //
00007 // For updates, tutorials and more details check out www.appeasymobile.com
00008 //
00009 // This code is provided free of charge and without any warranty whatsoever. You must ensure that this whole notice is present in all files and derivatives, so the reader knows its origin.
00010 // If you use this SDK in your product then please ensure that you credit AppEasy's usage appropriately. Please see www.appeasymobile.com for licensing details and support
00011 //
00012 //
00013 
00014 #if !defined(_CCZ_UI_PANEL_H_)
00015 #define _CCZ_UI_PANEL_H_
00016 
00017 #include "CzActor.h"
00018 #include "CzScene.h"
00019 #include "CzUIBase.h"
00020 
00021 class CzUIPanel : public CzUIBase
00022 {
00023 public:
00024     // Public access to actor iteration
00025     typedef CzList<CzActor*>::iterator _Iterator;
00026     _Iterator                   begin() { return Children.begin(); }
00027     _Iterator                   end() { return Children.end(); }
00028 
00029     // Properties
00030 protected:
00031 public:
00032     // Properties end
00033 protected:
00034     CzList<CzActor*>            Children;               ///< Collection of actors that are linked to this panel
00035     virtual void                LinkChanged(CzActor* child, bool remove);
00036     void                        RemoveActor(CzActor* actor);
00037 public:
00038     CzUIPanel() : CzUIBase() { }
00039     virtual ~CzUIPanel();
00040 };
00041 
00042 
00043 
00044 #endif  // _CCZ_UI_PANEL_H_