feat: Add frame time graph to FPS display

This commit is contained in:
WerWolv
2023-12-20 13:42:42 +01:00
parent bf6b2db0cb
commit e951359a46
5 changed files with 49 additions and 6 deletions

View File

@@ -366,6 +366,7 @@ namespace hex {
void addInitArgument(const std::string &key, const std::string &value = { });
void setLastFrameTime(double time);
}
struct ProgramArguments {
@@ -557,6 +558,8 @@ namespace hex {
bool updateImHex(UpdateType updateType);
void addStartupTask(const std::string &name, bool async, const std::function<bool()> &function);
double getLastFrameTime();
}
/**