mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-07-23 10:35:35 -04:00
35 lines
919 B
C++
35 lines
919 B
C++
|
|
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
|
#ifndef TILEMAPIMPORTERDIALOG_H
|
|
#define TILEMAPIMPORTERDIALOG_H
|
|
|
|
#include "TileMapDialogs.h"
|
|
|
|
class TileSet;
|
|
class TileMap;
|
|
namespace gd{ class Project; }
|
|
|
|
class TileMapImporterDialog : public TileMapImporterDialogBase
|
|
{
|
|
public:
|
|
TileMapImporterDialog(wxWindow* parent, TileSet tileset, TileMap tilemap, gd::Project &project);
|
|
virtual ~TileMapImporterDialog();
|
|
|
|
const TileSet& GetTileSet() const { return m_tileset; }
|
|
const TileMap& GetTileMap() const { return m_tilemap; }
|
|
|
|
protected:
|
|
virtual void OnBrowserBtClicked(wxCommandEvent& event);
|
|
virtual void OnImportButtonClicked(wxCommandEvent& event);
|
|
virtual void OnOkBtClicked(wxCommandEvent& event);
|
|
virtual void OnCancelBtClicked(wxCommandEvent& event);
|
|
|
|
private:
|
|
TileSet m_tileset;
|
|
TileMap m_tilemap;
|
|
gd::Project &m_project;
|
|
};
|
|
|
|
#endif
|
|
#endif // TILEMAPIMPORTERDIALOG_H
|