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
45
46
47
48
#ifndef MAP_EDITOR__MAP_EDITOR_H
#define MAP_EDITOR__MAP_EDITOR_H

#include <GridCtrl/GridCtrl.h>
using namespace Upp;

#include <Map/Map.h>

#define LAYOUTFILE <MapEditor/MapEditor.lay>
#include <CtrlCore/lay.h>

#define IMAGECLASS MapEditorImg
#define IMAGEFILE <MapEditor/MapEditor.iml>
#include <Draw/iml_header.h>

class MapEditor : public WithMapEditorLayout<TopWindow>
{
public:
typedef MapEditor CLASSNAME;
MapEditor();

void OnClose();
void OnNewMap();
void OnSaveMap();
void OnLoadMap();
void OnViewMap();
void OnEditLevel();
void OnMapProperties();

void OnAddLevel();
void OnMoveLevel(int s, int e);
void OnChangeLevel();
void OnRemoveLevel();

void UpdateLevelList();
void UpdateEditorCtrls();

protected:
void RealizeDirectories();
void CalculateAllPrompt();
void OnLevelMapCalc(Level& level, int number);
void OnLevelMapList(VectorMapEx<String, Value>& mapList);

private:
Map _map;
};

#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: 977 bytes, 48 lines
Powered by Google Project Hosting