diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2020-02-08 17:30:57 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2020-02-16 21:13:02 +0200 |
commit | 9f682ec3a43e7263f6c265f91a9dba070b71a0b6 (patch) | |
tree | e4e2f9712d779ef3d0277d1b692dfd176b07e78e /tools/shell/demo_widget.hpp | |
parent | 59294aaef333bdd455bd13d6bab6fca730379b52 (diff) | |
download | qtlocation-mapboxgl-9f682ec3a43e7263f6c265f91a9dba070b71a0b6.tar.gz |
glfw
Diffstat (limited to 'tools/shell/demo_widget.hpp')
-rw-r--r-- | tools/shell/demo_widget.hpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/shell/demo_widget.hpp b/tools/shell/demo_widget.hpp new file mode 100644 index 0000000000..07a8a4ea94 --- /dev/null +++ b/tools/shell/demo_widget.hpp @@ -0,0 +1,20 @@ +#pragma once + +#include "widget.hpp" + +namespace mbgl { +namespace shell { + +class DemoWidget final : public Widget { +public: + DemoWidget(Window &window); + + bool isVisible() const override { return visible; } + void render() override; + +private: + bool visible = true; +}; + +} // namespace shell +} // namespace mbgl |