My favorites | Sign in
Project Home Downloads Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef MAP_EDITOR__LEVEL_EDITOR_H
#define MAP_EDITOR__LEVEL_EDITOR_H

#include "MapEditor.h"

class LevelEditor : public WithLevelEditLayout<TopWindow>
{
typedef LevelEditor CLASSNAME;

public:
LevelEditor(Map& map, Level& level, int pos);

virtual int Execute();

protected:
void OnLayerAdd();
void OnLayerEdit();
void OnLayerRemove();
void OnChangePoint();

void OnItemAdd();
void OnItemEdit();
void OnItemRemove();
void OnItemSelect();
void OnItemProperties();

void LoadMap();
void UpdateMap(bool editMode);
void UpdateItemList();
void UpdateLayerList();

void CreateItemToolBar(Bar& bar);
void CreateLayerToolBar(Bar& bar);

void OpenItemProperties();

private:
int _item;
Level* _level;
Map* _map;
int _pos;
};

#endif

Change log

r4180 by Sc0rch on Nov 17, 2011   Diff
MapRender: First release
(FormEditorCommon, FormEditorProperties,
Map, MapBG, MapCommon, MapEditor,
MapRenderTest.
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 793 bytes, 44 lines
Powered by Google Project Hosting