16 ImGui::Text(
"%s",
get_name().c_str());
17 entt::meta_any old_value_copy = old_value;
18 entt::meta_any new_value_copy = new_value;
19 ImGui::SetNextWindowSizeConstraints({}, {400.0f, ImGui::GetContentRegionAvail().y});
21 auto child_name = fmt::format(
"##tooltip_child_{}_{}",
name, uintptr_t(
this));
22 ImGui::BeginChild(child_name.c_str(), {}, ImGuiChildFlags_AlwaysAutoResize | ImGuiChildFlags_AutoResizeX | ImGuiChildFlags_AutoResizeY);
31 ImGui::SetNextWindowSizeConstraints({}, {400.0f, ImGui::GetContentRegionAvail().y});
33 auto child_name2 = fmt::format(
"##tooltip_child2_{}_{}",
name, uintptr_t(
this));
34 ImGui::BeginChild(child_name2.c_str(), {}, ImGuiChildFlags_AlwaysAutoResize | ImGuiChildFlags_AutoResizeX | ImGuiChildFlags_AutoResizeY);
auto inspect_var(rtti::context &ctx, entt::meta_any &var, const meta_any_proxy &var_proxy, const var_info &info, const entt::meta_custom &custom) -> inspect_result
Main entry point for inspecting any variable with automatic type resolution.