diff options
Diffstat (limited to 'core/src/Model/Workflow/Value.hpp')
-rw-r--r-- | core/src/Model/Workflow/Value.hpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/core/src/Model/Workflow/Value.hpp b/core/src/Model/Workflow/Value.hpp index 6cd42f3..8b3e63a 100644 --- a/core/src/Model/Workflow/Value.hpp +++ b/core/src/Model/Workflow/Value.hpp @@ -1,5 +1,8 @@ #pragma once +#include "cplt_fwd.hpp" +#include "Utils/Color.hpp" + #include <iosfwd> #include <memory> @@ -17,11 +20,18 @@ public: KindCount = InvalidKind, }; + struct KindInfo + { + ImGui::IconType PinIcon; + RgbaColor PinColor; + }; + private: Kind mKind; public: - static const char* FormatKind(Kind kind); + static const KindInfo& QueryInfo(Kind kind); + static const char* Format(Kind kind); static std::unique_ptr<BaseValue> CreateByKind(Kind kind); BaseValue(Kind kind); |