2
3
4
5
27 ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2{ 0, 3.0f });
28 float columeWidth = ImGuiH::GetLineItemSize().x * 6.5f;
33 ImGuiH::DrawPropertyItem(
"UUID", columeWidth,
nullptr, [&]() {
34 ImGui::PushItemWidth(ImGui::GetContentRegionAvail().x - ImGuiH::GetLineItemSize().x);
35 char buffer[256] = {};
36 ImGui::InputTextWithHint(
"##",
ICON_TEXT_ROW(
" ", std::to_string(m_uuid).c_str()), buffer,
sizeof(buffer));
37 ImGui::PopItemWidth();
39 ImGuiH::DrawResetIcon(
false);
#define ICON_TEXT_ROW(icon, text)
#define SPICES_PROFILE_ZONEN(...)
#define SPICES_PROFILE_ZONE
virtual void OnSerialize() override
This interface defines how to serialize.
virtual void DrawThis() override
This interface defines how to draw this component to property panel.
virtual void OnDeSerialize() override
This interface defines how to deserialize.
UUIDComponent Class. This class defines the specific behaves of UUIDComponent.