UINewProject.h 778 B

123456789101112131415161718192021222324252627282930313233
  1. // Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
  2. // Please see LICENSE.md in repository root for license information
  3. // https://github.com/AtomicGameEngine/AtomicGameEngine
  4. #pragma once
  5. #include "UIModalOps.h"
  6. #include <TurboBadger/tb_select.h>
  7. #include <TurboBadger/tb_select_item.h>
  8. namespace AtomicEditor
  9. {
  10. class UINewProject: public UIModalOpWindow
  11. {
  12. OBJECT(UINewProject);
  13. public:
  14. UINewProject(Context* context);
  15. virtual ~UINewProject();
  16. bool OnEvent(const TBWidgetEvent &ev);
  17. private:
  18. bool CreateEmptyProject(const String& projectPath, const String &filename);
  19. bool Create2DProject(const String& projectPath, const String &filename);
  20. bool Create3DProject(const String& projectPath, const String &filename);
  21. };
  22. }