aboutsummaryrefslogtreecommitdiff
path: root/Source/MapEditor/mainwindow.h
diff options
context:
space:
mode:
authorXaviDCR92 <xavi.dcr@gmail.com>2018-02-25 05:25:33 +0100
committerXaviDCR92 <xavi.dcr@gmail.com>2018-02-25 05:25:33 +0100
commitbaa647ad7caf95ea2619d8456bcfd0f04a08a719 (patch)
tree7a7f5408a8ae0cc18a70d7795a2a47af30cf59f5 /Source/MapEditor/mainwindow.h
parent81d9242514b4e8e3fe97cf7063a15680f610bf2f (diff)
downloadairport-baa647ad7caf95ea2619d8456bcfd0f04a08a719.tar.gz
+ Added Message module, used for tutorials.
+ Added first tutorial level. * Font now inserts line feed automatically if the next word is too long to fit. * Gfx.c: added primitive list double buffering in order to gain some performance. * MapEditor: now airport can be defined inside the tool.
Diffstat (limited to 'Source/MapEditor/mainwindow.h')
-rw-r--r--Source/MapEditor/mainwindow.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/MapEditor/mainwindow.h b/Source/MapEditor/mainwindow.h
index 4926772..705404f 100644
--- a/Source/MapEditor/mainwindow.h
+++ b/Source/MapEditor/mainwindow.h
@@ -9,6 +9,9 @@
#include "mygraphicsscene.h"
#include "ui_mainwindow.h"
+#define APP_NAME QString("Airport Map Editor")
+#define APP_VERSION_STRING QString("0.2")
+
#define TILE_SIZE 64
#define DATA_HEADER_SIZE 0x3F
#define TILE_MIRROR_FLAG ((char) 0x80)
@@ -38,15 +41,16 @@ private:
int selected_item;
QHash<int, QString> tilesetData;
-protected slots:
+private slots:
void onLoadMap(void);
void onCreateMap(void);
- void onProcessMapFile(QByteArray data);
+ void onProcessMapFile(QByteArray);
void onMapItemClicked(QPointF);
void onNoItemSelected(void);
void onListItemSelected(void);
void onSaveMap(void);
void onShowNumbers(int);
+ void onAirportNameModified(QString);
};
#endif // MAINWINDOW_H