#pragma once #include "../GuiComponent.h" #include "ComponentListComponent.h" #include "../MetaData.h" #include "TextComponent.h" #include "../GameData.h" #include "NinePatchComponent.h" #include "ButtonComponent.h" class GuiGameEd : public GuiComponent { public: GuiGameEd(Window* window, GameData* game, const std::vector& mdd); virtual ~GuiGameEd(); private: void save(); void populateList(const std::vector& mdd); NinePatchComponent mBox; ComponentListComponent mList; TextComponent mPathDisp; std::vector mLabels; std::vector mEditors; GameData* mGame; ButtonComponent mDeleteButton; ButtonComponent mFetchButton; ButtonComponent mSaveButton; };