mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-20 20:23:03 +02:00
31 lines
461 B
C++
31 lines
461 B
C++
#ifndef EDITOR_H
|
|
#define EDITOR_H
|
|
|
|
#include <memory>
|
|
#include <QtWidgets/QMainWindow>
|
|
#include "ui_editor.h"
|
|
|
|
class CConsoleHandler;
|
|
class CMap;
|
|
|
|
class Editor : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
Editor(QWidget *parent = 0);
|
|
~Editor();
|
|
void createMenus();
|
|
|
|
std::unique_ptr<CMap> map;
|
|
private:
|
|
|
|
std::vector<std::string> txtEditor, txtEditorCmd;
|
|
|
|
CConsoleHandler * console;
|
|
|
|
Ui::EditorClass ui;
|
|
};
|
|
|
|
#endif // EDITOR_H
|