SBSPSS/Utils/MapEdit/LayerItem.h
2001-03-31 01:30:53 +00:00

43 lines
921 B
C++

/*******************/
/*** Layer Item ***/
/*******************/
#ifndef __LAYER_ITEM_HEADER__
#define __LAYER_ITEM_HEADER__
#include "LayerThing.h"
#include "Layer.h"
#include "MapEdit.h"
#include "GUILayerItem.h"
#include "Elem.h"
/*****************************************************************************/
class CLayerItem : public CLayerThing
{
public:
CLayerItem(sLayerDef &Def);
CLayerItem(CFile *File,int Version) {Load(File,Version);}
void InitLayer(sLayerDef &Def);
void InitSubView(CCore *Core);
void GUIInit(CCore *Core);
void GUIKill(CCore *Core);
void GUIUpdate(CCore *Core);
void GUIChanged(CCore *Core);
bool GUIReady();
void GUIThingDefClear();
void GUIThingUpdate();
void ExportThing(CExport &Exp,sLayerThing &ThisThing);
protected:
CGUILayerItem GUI;
};
/*****************************************************************************/
#endif