#pragma once #include "gui_text.hpp" #include "shape.hpp" #include "std/vector.hpp" namespace gui { using TUpdateDebugLabelFn = function; class DebugInfoLabels : public Shape { public: DebugInfoLabels(gui::Position const & position) : Shape(position) {} void AddLabel(ref_ptr tex, string const & caption, TUpdateDebugLabelFn const & onUpdateFn); drape_ptr Draw(ref_ptr tex); private: vector m_labelsParams; uint32_t m_labelsCount = 0; }; } // namespace gui