diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-08-23 12:49:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-23 12:49:47 -0700 |
commit | 63cce78cf1597ba5879227f2298bda52e91e4e04 (patch) | |
tree | ce01f8c70d8dc707469e08c892fd6a8c43d69ecd /include/mbgl/style/layers/background_layer.hpp | |
parent | fcb710fafecdafd511c2a09207b2de3077caa644 (diff) | |
download | qtlocation-mapboxgl-63cce78cf1597ba5879227f2298bda52e91e4e04.tar.gz |
[core] Add static getters for property default values (#6124)
Diffstat (limited to 'include/mbgl/style/layers/background_layer.hpp')
-rw-r--r-- | include/mbgl/style/layers/background_layer.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mbgl/style/layers/background_layer.hpp b/include/mbgl/style/layers/background_layer.hpp index ac97ec2e6d..68aebfd37c 100644 --- a/include/mbgl/style/layers/background_layer.hpp +++ b/include/mbgl/style/layers/background_layer.hpp @@ -18,12 +18,15 @@ public: // Paint properties + static PropertyValue<Color> getDefaultBackgroundColor(); PropertyValue<Color> getBackgroundColor() const; void setBackgroundColor(PropertyValue<Color>, const optional<std::string>& klass = {}); + static PropertyValue<std::string> getDefaultBackgroundPattern(); PropertyValue<std::string> getBackgroundPattern() const; void setBackgroundPattern(PropertyValue<std::string>, const optional<std::string>& klass = {}); + static PropertyValue<float> getDefaultBackgroundOpacity(); PropertyValue<float> getBackgroundOpacity() const; void setBackgroundOpacity(PropertyValue<float>, const optional<std::string>& klass = {}); |