summaryrefslogtreecommitdiff
path: root/src/mbgl/style/property_transition.hpp
blob: 4515fdc921fa608c12f30f9f81cb25dcab5961f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef MBGL_STYLE_PROPERTY_TRANSITION
#define MBGL_STYLE_PROPERTY_TRANSITION

#include <mbgl/util/chrono.hpp>

#include <cstdint>

namespace mbgl {

struct PropertyTransition {
    explicit inline PropertyTransition(const Duration& duration_, const Duration& delay_)
        : duration(duration_), delay(delay_) {}
    Duration duration = Duration::zero();
    Duration delay = Duration::zero();
};

}

#endif