2001-03-29 19:59:01 +02:00
|
|
|
/*******************/
|
2001-03-13 22:00:34 +01:00
|
|
|
/*** Layer Item ***/
|
2001-03-29 19:59:01 +02:00
|
|
|
/*******************/
|
2001-03-13 15:37:04 +01:00
|
|
|
|
2001-03-13 22:00:34 +01:00
|
|
|
#ifndef __LAYER_ITEM_HEADER__
|
|
|
|
#define __LAYER_ITEM_HEADER__
|
2001-03-13 15:37:04 +01:00
|
|
|
|
2001-03-26 23:29:09 +02:00
|
|
|
#include "LayerThing.h"
|
2001-03-13 15:37:04 +01:00
|
|
|
#include "Layer.h"
|
|
|
|
#include "MapEdit.h"
|
2001-03-31 03:30:53 +02:00
|
|
|
#include "GUILayerItem.h"
|
2001-03-26 23:29:09 +02:00
|
|
|
#include "Elem.h"
|
2001-03-13 15:37:04 +01:00
|
|
|
|
|
|
|
/*****************************************************************************/
|
2001-03-26 23:29:09 +02:00
|
|
|
class CLayerItem : public CLayerThing
|
2001-03-13 15:37:04 +01:00
|
|
|
{
|
|
|
|
public:
|
2001-03-26 23:29:09 +02:00
|
|
|
CLayerItem(sLayerDef &Def);
|
|
|
|
CLayerItem(CFile *File,int Version) {Load(File,Version);}
|
2001-03-13 15:37:04 +01:00
|
|
|
|
2001-03-29 19:59:01 +02:00
|
|
|
void InitLayer(sLayerDef &Def);
|
2001-03-13 15:37:04 +01:00
|
|
|
void InitSubView(CCore *Core);
|
|
|
|
|
2001-03-13 22:00:34 +01:00
|
|
|
void GUIInit(CCore *Core);
|
|
|
|
void GUIKill(CCore *Core);
|
|
|
|
void GUIUpdate(CCore *Core);
|
|
|
|
void GUIChanged(CCore *Core);
|
2001-03-29 19:59:01 +02:00
|
|
|
bool GUIReady();
|
2001-03-13 15:37:04 +01:00
|
|
|
|
2001-03-29 19:59:01 +02:00
|
|
|
void GUIThingDefClear();
|
2001-03-31 17:40:20 +02:00
|
|
|
void GUIThingUpdate(bool OnlySel=false);
|
2001-03-29 19:59:01 +02:00
|
|
|
|
2001-03-13 15:37:04 +01:00
|
|
|
protected:
|
2001-03-31 03:30:53 +02:00
|
|
|
CGUILayerItem GUI;
|
2001-03-13 15:37:04 +01:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
#endif
|