summaryrefslogtreecommitdiff
path: root/tools/shell/fps_widget.hpp
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2020-02-08 17:30:57 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2020-02-16 21:13:02 +0200
commit9f682ec3a43e7263f6c265f91a9dba070b71a0b6 (patch)
treee4e2f9712d779ef3d0277d1b692dfd176b07e78e /tools/shell/fps_widget.hpp
parent59294aaef333bdd455bd13d6bab6fca730379b52 (diff)
downloadqtlocation-mapboxgl-9f682ec3a43e7263f6c265f91a9dba070b71a0b6.tar.gz
glfw
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