4#include <imgui_internal.h>
14 float tile,
float uiScale,
15 ImU32 colBg, ImU32 colHover, ImU32 colActive,
16 ImU32 colText, ImU32 colLabel);
17 inline void Spring(
float weight = 1.0f,
const float spacing = 0.0f)
19 ImGui::Dummy(ImVec2(spacing, 0));
20 ImGui::SameLine(0, 0);
24 if (
id) ImGui::PushID(
id);
34 inline bool BeginVertical(
const void*
id =
nullptr,
float spacing = 0.0f)
36 if (
id) ImGui::PushID(
id);
44 if (ImGui::GetID(
static_cast<const void*
>(
nullptr)) != 0) ImGui::PopID();
50 ImVec2 topLeftPosition;
54 Card(std::string
id,
const ImVec2& topLeftPosition,
const ImVec2& size, std::string title);
55 [[nodiscard]]
bool beginCard(
const float& uiScale)
const;