spicetools/overlay/windows/fps.h

20 lines
343 B
C
Raw Normal View History

2024-08-28 15:10:34 +00:00
#pragma once
#include <chrono>
#include "overlay/window.h"
namespace overlay::windows {
class FPS : public Window {
private:
std::chrono::system_clock::time_point start_time;
public:
FPS(SpiceOverlay *overlay);
void calculate_initial_window() override;
void build_content() override;
};
}