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
CzUIIcon.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_ICON_H_)
00015 #define _CCZ_UI_ICON_H_
00016 
00017 #include "CzUIBase.h"
00018 
00019 //
00020 //
00021 //
00022 //
00023 // CzUIIcon- An image based actor that acts as an icon
00024 //
00025 //
00026 //
00027 //
00028 class CzUIIcon : public CzUIBase
00029 {
00030     // Properties
00031 protected:
00032 public:
00033     // Properties end
00034 protected:
00035 public:
00036     CzUIIcon() : CzUIBase() { setActualClassType("icon"); }
00037 
00038 //  bool                Update(float dt);
00039     // Implementation of IzXomlClass interface
00040 //  int                 LoadFromXoml(IzXomlResource* parent, bool load_children, CzXmlNode* node);
00041 };
00042 
00043 //
00044 //  CzUIIconCreator - Creates an instance of an icon actor object
00045 //
00046 class CzUIIconCreator : public IzXomlClassCreator
00047 {
00048 public:
00049     CzUIIconCreator()
00050     {
00051         setClassName("icon");
00052     }
00053     IzXomlResource* CreateInstance(IzXomlResource* parent)  { return new CzUIIcon(); }
00054 };
00055 
00056 
00057 
00058 #endif  // _CCZ_UI_ICON_H_