summaryrefslogtreecommitdiff
path: root/include/mbgl/layer/background_layer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/layer/background_layer.hpp')
-rw-r--r--include/mbgl/layer/background_layer.hpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/include/mbgl/layer/background_layer.hpp b/include/mbgl/layer/background_layer.hpp
index 79f24990e6..211597f6ea 100644
--- a/include/mbgl/layer/background_layer.hpp
+++ b/include/mbgl/layer/background_layer.hpp
@@ -3,6 +3,7 @@
#pragma once
#include <mbgl/style/layer.hpp>
+#include <mbgl/style/property_value.hpp>
namespace mbgl {
@@ -13,14 +14,14 @@ public:
// Paint properties
- Function<Color> getBackgroundColor() const;
- void setBackgroundColor(Function<Color>);
+ PropertyValue<Color> getBackgroundColor() const;
+ void setBackgroundColor(PropertyValue<Color>);
- Function<std::string> getBackgroundPattern() const;
- void setBackgroundPattern(Function<std::string>);
+ PropertyValue<std::string> getBackgroundPattern() const;
+ void setBackgroundPattern(PropertyValue<std::string>);
- Function<float> getBackgroundOpacity() const;
- void setBackgroundOpacity(Function<float>);
+ PropertyValue<float> getBackgroundOpacity() const;
+ void setBackgroundOpacity(PropertyValue<float>);
// Private implementation