summaryrefslogtreecommitdiff
path: root/include/mbgl/annotation
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-06-15 13:22:00 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-06-15 13:22:00 -0700
commita020e535cac36d69a8939fb7956260d2217c65b4 (patch)
tree7acef00fd8aa1e85dae8ff5491e40f42659b5fd6 /include/mbgl/annotation
parentd48333f26d9111d8f4f8420b477c36cece0d14a5 (diff)
downloadqtlocation-mapboxgl-a020e535cac36d69a8939fb7956260d2217c65b4.tar.gz
[core] Add a few conveniences to Color
Diffstat (limited to 'include/mbgl/annotation')
-rw-r--r--include/mbgl/annotation/annotation.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/annotation/annotation.hpp b/include/mbgl/annotation/annotation.hpp
index fc0595af0f..e8ac9a2fb7 100644
--- a/include/mbgl/annotation/annotation.hpp
+++ b/include/mbgl/annotation/annotation.hpp
@@ -30,14 +30,14 @@ public:
ShapeAnnotationGeometry geometry;
float opacity = 1;
float width = 1;
- Color color = { 0, 0, 0, 1 };
+ Color color = Color::black();
};
class FillAnnotation {
public:
ShapeAnnotationGeometry geometry;
float opacity = 1;
- Color color = { 0, 0, 0, 1 };
+ Color color = Color::black();
Color outlineColor = { 0, 0, 0, -1 };
};