summaryrefslogtreecommitdiff
path: root/src/mbgl/layer/background_layer_impl.hpp
blob: 6af31dd921921cdc8bc11f39ba4e1a3d02f33b15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once

#include <mbgl/layer/layer_impl.hpp>
#include <mbgl/layer/background_layer.hpp>
#include <mbgl/layer/background_layer_properties.hpp>

namespace mbgl {

class BackgroundLayer::Impl : public Layer::Impl {
public:
    std::unique_ptr<Layer> clone() const override;

    void parseLayout(const JSValue&) override {};
    void parsePaints(const JSValue&) override;

    void cascade(const StyleCascadeParameters&) override;
    bool recalculate(const StyleCalculationParameters&) override;

    std::unique_ptr<Bucket> createBucket(StyleBucketParameters&) const override;

    BackgroundPaintProperties paint;
};

} // namespace mbgl