From a020e535cac36d69a8939fb7956260d2217c65b4 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Wed, 15 Jun 2016 13:22:00 -0700 Subject: [core] Add a few conveniences to Color --- include/mbgl/annotation/annotation.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/mbgl/annotation') 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 }; }; -- cgit v1.2.1