#ifndef _GUILIST_H_ #define _GUILIST_H_ #include "../Renderer.h" #include "../GuiComponent.h" #include #include class GuiList : public GuiComponent { public: GuiList(); void onRender(); void addObject(std::string name, void* obj); void clearObjects(); std::string getSelectedName(); void* getSelectedObject(); private: std::vector mNameVector; std::vector mPointerVector; unsigned int mSelection; }; #endif