save some space in the title
This commit is contained in:
parent
396fb88860
commit
e5061b86b9
2 changed files with 3 additions and 3 deletions
|
@ -252,10 +252,10 @@ void update_and_render(Arena *arena, App_State &app, f32 delta_time_ms)
|
||||||
|
|
||||||
String8 ntpl_desc = rntuple_description(scratch.arena, app.tfile_data.rntuple_anchor);
|
String8 ntpl_desc = rntuple_description(scratch.arena, app.tfile_data.rntuple_anchor);
|
||||||
if (rntuple_is_old_version(app.tfile_data.rntuple_anchor))
|
if (rntuple_is_old_version(app.tfile_data.rntuple_anchor))
|
||||||
ImGui::TextColored(ImColor(1.f, 0.f, 0.f), "RNTuple \"%s\" (%s) from file \"%s\" ** old version, some data missing! **",
|
ImGui::TextColored(ImColor(1.f, 0.f, 0.f), "\"%s\" (%s) from file \"%s\" ** old version, some data missing! **",
|
||||||
app.ntpl_name.c(), ntpl_desc.c(), app.inspected_file.name.c());
|
app.ntpl_name.c(), ntpl_desc.c(), app.inspected_file.name.c());
|
||||||
else
|
else
|
||||||
ImGui::Text("RNTuple \"%s\" (%s) from file \"%s\"", app.ntpl_name.c(), ntpl_desc.c(), app.inspected_file.name.c());
|
ImGui::Text("\"%s\" (%s) from file \"%s\"", app.ntpl_name.c(), ntpl_desc.c(), app.inspected_file.name.c());
|
||||||
|
|
||||||
// Draw stats
|
// Draw stats
|
||||||
{
|
{
|
||||||
|
|
|
@ -7,7 +7,7 @@ b8 rntuple_is_old_version(const ROOT::RNTuple &ntuple)
|
||||||
internal
|
internal
|
||||||
String8 rntuple_description(Arena *arena, const ROOT::RNTuple &ntuple)
|
String8 rntuple_description(Arena *arena, const ROOT::RNTuple &ntuple)
|
||||||
{
|
{
|
||||||
String8 desc = push_str8f(arena, "version %u.%u.%u.%u",
|
String8 desc = push_str8f(arena, "v %u.%u.%u.%u",
|
||||||
ntuple.GetVersionEpoch(),
|
ntuple.GetVersionEpoch(),
|
||||||
ntuple.GetVersionMajor(),
|
ntuple.GetVersionMajor(),
|
||||||
ntuple.GetVersionMinor(),
|
ntuple.GetVersionMinor(),
|
||||||
|
|
Loading…
Add table
Reference in a new issue