123456789101112131415161718192021222324252627282930313233343536373839404142 |
- #pragma once
- #include "Dialog.h"
- #include <AuswahlBox.h>
- #include <Bild.h>
- #include <M2DVorschau.h>
- #include "../../Karte/EditorKarte.h"
- #include <Knopf.h>
- enum ResourceDialogType
- {
- MODEL2D = 1,
- TEXTUR = 2,
- ALLOW_RESOURCES = 4,
- SELECT_OLD_Model2D = 5,
- SELECT_OLD_Textur = 6,
- ALLOW_NEW_RESOURCES = 8,
- SELECT_NEW_MODEL2D = 9,
- SELECT_NEW_TEXTUR = 10,
- SELECT_MODEL2D = 13,
- SELECT_TEXTUR = 14,
- };
- class ResourceDialog : public Dialog
- {
- private:
- AuswahlBox *paths;
- M2DVorschau *m2v;
- Editor::KarteDaten *daten;
- BildZ *bv;
- public:
-
-
-
-
-
-
- ResourceDialog( TextRenderer *tr, UIInit &uiFactory, ResourceDialogType typ, Editor::KarteDaten *daten, std::function< void( const char *path ) > onClose, Punkt screenSize );
-
- ~ResourceDialog();
- };
|