summaryrefslogtreecommitdiff
path: root/tools/shell/demo_widget.hpp
blob: 07a8a4ea94f05618b9fb9a7203b16e396084acf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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