sys: Update ImGui and ImPlot

This commit is contained in:
WerWolv
2021-08-21 00:51:50 +02:00
parent 5b84011888
commit 0f45bef980
28 changed files with 11812 additions and 6407 deletions

View File

@@ -0,0 +1,18 @@
#include <hex/plugin.hpp>
namespace hex::plugin::builtin {
void addFooterItems() {
ContentRegistry::Interface::addFooterItem([] {
static float framerate = 0;
if (ImGui::HasSecondPassed()) {
framerate = 1.0F / ImGui::GetIO().DeltaTime;
}
ImGui::TextUnformatted(hex::format("FPS {0:.2f}", framerate).c_str());
});
}
}