summaryrefslogtreecommitdiff
path: root/tools/shell/fps_widget.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/shell/fps_widget.hpp')
-rw-r--r--tools/shell/fps_widget.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/shell/fps_widget.hpp b/tools/shell/fps_widget.hpp
new file mode 100644
index 0000000000..88fc494a1f
--- /dev/null
+++ b/tools/shell/fps_widget.hpp
@@ -0,0 +1,17 @@
+#pragma once
+
+#include "widget.hpp"
+
+namespace mbgl {
+namespace shell {
+
+class FPSWidget final : public Widget {
+public:
+ FPSWidget(Window &window);
+
+protected:
+ void render() override;
+};
+
+} // namespace shell
+} // namespace mbgl