16 lines
346 B
C++
16 lines
346 B
C++
|
|
#pragma once
|
||
|
|
#include "Element.hpp"
|
||
|
|
#include "Helpers/ConvertVec.hpp"
|
||
|
|
|
||
|
|
namespace GUIStuff {
|
||
|
|
|
||
|
|
class MutableTextLabel : public Element {
|
||
|
|
public:
|
||
|
|
MutableTextLabel(GUIManager& gui);
|
||
|
|
void layout(const Clay_ElementId& id, const std::string& text, Clay_TextElementConfig* textConfig);
|
||
|
|
private:
|
||
|
|
std::string oldText;
|
||
|
|
};
|
||
|
|
|
||
|
|
}
|