summaryrefslogtreecommitdiff
path: root/include/llmr/style/style_layer_group.hpp
blob: 90c02bc1f230904b574203b87f79135b2b0d66ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef LLMR_STYLE_STYLE_LAYER_GROUP
#define LLMR_STYLE_STYLE_LAYER_GROUP

#include <llmr/style/style_layer.hpp>

#include <vector>

namespace llmr {

class StyleLayerGroup {
public:
    void setClasses(const std::vector<std::string> &class_names, timestamp now,
                    const PropertyTransition &defaultTransition);
    void updateProperties(float z, timestamp t);

    bool hasTransitions() const;
public:
    std::vector<std::shared_ptr<StyleLayer>> layers;
};

}

#endif