diff options
Diffstat (limited to 'src/mbgl/style/layers/background_layer_properties.hpp')
-rw-r--r-- | src/mbgl/style/layers/background_layer_properties.hpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/mbgl/style/layers/background_layer_properties.hpp b/src/mbgl/style/layers/background_layer_properties.hpp index 3a61392fb4..3765e2e569 100644 --- a/src/mbgl/style/layers/background_layer_properties.hpp +++ b/src/mbgl/style/layers/background_layer_properties.hpp @@ -3,6 +3,8 @@ #pragma once #include <mbgl/style/types.hpp> +#include <mbgl/style/layer_properties.hpp> +#include <mbgl/style/layers/background_layer.hpp> #include <mbgl/style/layout_property.hpp> #include <mbgl/style/paint_property.hpp> #include <mbgl/style/properties.hpp> @@ -30,5 +32,20 @@ class BackgroundPaintProperties : public Properties< BackgroundOpacity > {}; +class BackgroundLayerProperties final : public LayerProperties { +public: + explicit BackgroundLayerProperties(Immutable<BackgroundLayer::Impl>); + BackgroundLayerProperties( + Immutable<BackgroundLayer::Impl>, + CrossfadeParameters, + BackgroundPaintProperties::PossiblyEvaluated); + ~BackgroundLayerProperties() override; + + const BackgroundLayer::Impl& layerImpl() const; + // Data members. + CrossfadeParameters crossfade; + BackgroundPaintProperties::PossiblyEvaluated evaluated; +}; + } // namespace style } // namespace mbgl |