1 // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
2 
3 #pragma once
4 
5 #include <mbgl/style/types.hpp>
6 #include <mbgl/style/layout_property.hpp>
7 #include <mbgl/style/paint_property.hpp>
8 #include <mbgl/style/properties.hpp>
9 #include <mbgl/programs/attributes.hpp>
10 #include <mbgl/programs/uniforms.hpp>
11 
12 namespace mbgl {
13 namespace style {
14 
15 struct BackgroundColor : PaintProperty<Color> {
defaultValuembgl::style::BackgroundColor16     static Color defaultValue() { return Color::black(); }
17 };
18 
19 struct BackgroundPattern : CrossFadedPaintProperty<std::string> {
defaultValuembgl::style::BackgroundPattern20     static std::string defaultValue() { return ""; }
21 };
22 
23 struct BackgroundOpacity : PaintProperty<float> {
defaultValuembgl::style::BackgroundOpacity24     static float defaultValue() { return 1; }
25 };
26 
27 class BackgroundPaintProperties : public Properties<
28     BackgroundColor,
29     BackgroundPattern,
30     BackgroundOpacity
31 > {};
32 
33 } // namespace style
34 } // namespace mbgl
35