diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2014-09-22 11:36:30 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2014-09-22 14:32:30 -0700 |
commit | ee3e0827a20492ba0f91c5c5f60cf24b2e49cb32 (patch) | |
tree | 37a0e2b7f5bd1d3a4bd217b51da2bae1f045b25d /src | |
parent | 4b98870e99dfa0aaa63c15a225e971872f8ade71 (diff) | |
download | qtlocation-mapboxgl-ee3e0827a20492ba0f91c5c5f60cf24b2e49cb32.tar.gz |
transition-* ⇢ *-transition
https://github.com/mapbox/mapbox-gl-style-spec/issues/148
Diffstat (limited to 'src')
-rw-r--r-- | src/style/style_parser.cpp | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/src/style/style_parser.cpp b/src/style/style_parser.cpp index f0d6992318..7e695e71cb 100644 --- a/src/style/style_parser.cpp +++ b/src/style/style_parser.cpp @@ -565,78 +565,78 @@ void StyleParser::parseStyle(JSVal value, ClassProperties &klass) { parseOptionalProperty<Function<bool>>("fill-antialias", Key::FillAntialias, klass, value); parseOptionalProperty<Function<float>>("fill-opacity", Key::FillOpacity, klass, value); - parseOptionalProperty<PropertyTransition>("transition-fill-opacity", Key::FillOpacity, klass, value); + parseOptionalProperty<PropertyTransition>("fill-opacity-transition", Key::FillOpacity, klass, value); parseOptionalProperty<Function<Color>>("fill-color", Key::FillColor, klass, value); - parseOptionalProperty<PropertyTransition>("transition-fill-color", Key::FillColor, klass, value); + parseOptionalProperty<PropertyTransition>("fill-color-transition", Key::FillColor, klass, value); parseOptionalProperty<Function<Color>>("fill-outline-color", Key::FillOutlineColor, klass, value); - parseOptionalProperty<PropertyTransition>("transition-fill-outline-color", Key::FillOutlineColor, klass, value); + parseOptionalProperty<PropertyTransition>("fill-outline-color-transition", Key::FillOutlineColor, klass, value); parseOptionalProperty<Function<float>>("fill-translate", { Key::FillTranslateX, Key::FillTranslateY }, klass, value); - parseOptionalProperty<PropertyTransition>("transition-fill-translate", Key::FillTranslate, klass, value); + parseOptionalProperty<PropertyTransition>("fill-translate-transition", Key::FillTranslate, klass, value); parseOptionalProperty<TranslateAnchorType>("fill-translate-anchor", Key::FillTranslateAnchor, klass, value); parseOptionalProperty<std::string>("fill-image", Key::FillImage, klass, value); parseOptionalProperty<Function<float>>("line-opacity", Key::LineOpacity, klass, value); - parseOptionalProperty<PropertyTransition>("transition-line-opacity", Key::LineOpacity, klass, value); + parseOptionalProperty<PropertyTransition>("line-opacity-transition", Key::LineOpacity, klass, value); parseOptionalProperty<Function<Color>>("line-color", Key::LineColor, klass, value); - parseOptionalProperty<PropertyTransition>("transition-line-color", Key::LineColor, klass, value); + parseOptionalProperty<PropertyTransition>("line-color-transition", Key::LineColor, klass, value); parseOptionalProperty<Function<float>>("line-translate", { Key::LineTranslateX, Key::LineTranslateY }, klass, value); - parseOptionalProperty<PropertyTransition>("transition-line-translate", Key::LineTranslate, klass, value); + parseOptionalProperty<PropertyTransition>("line-translate-transition", Key::LineTranslate, klass, value); parseOptionalProperty<TranslateAnchorType>("line-translate-anchor", Key::LineTranslateAnchor, klass, value); parseOptionalProperty<Function<float>>("line-width", Key::LineWidth, klass, value); - parseOptionalProperty<PropertyTransition>("transition-line-width", Key::LineWidth, klass, value); + parseOptionalProperty<PropertyTransition>("line-width-transition", Key::LineWidth, klass, value); parseOptionalProperty<Function<float>>("line-offset", Key::LineOffset, klass, value); - parseOptionalProperty<PropertyTransition>("transition-line-offset", Key::LineOffset, klass, value); + parseOptionalProperty<PropertyTransition>("line-offset-transition", Key::LineOffset, klass, value); parseOptionalProperty<Function<float>>("line-blur", Key::LineBlur, klass, value); - parseOptionalProperty<PropertyTransition>("transition-line-blur", Key::LineBlur, klass, value); + parseOptionalProperty<PropertyTransition>("line-blur-transition", Key::LineBlur, klass, value); parseOptionalProperty<Function<float>>("line-dasharray", { Key::LineDashLand, Key::LineDashGap }, klass, value); - parseOptionalProperty<PropertyTransition>("transition-line-dasharray", Key::LineDashArray, klass, value); + parseOptionalProperty<PropertyTransition>("line-dasharray-transition", Key::LineDashArray, klass, value); parseOptionalProperty<std::string>("line-image", Key::LineImage, klass, value); parseOptionalProperty<Function<float>>("icon-opacity", Key::IconOpacity, klass, value); - parseOptionalProperty<PropertyTransition>("transition-icon-opacity", Key::IconOpacity, klass, value); + parseOptionalProperty<PropertyTransition>("icon-opacity-transition", Key::IconOpacity, klass, value); parseOptionalProperty<Function<float>>("icon-rotate", Key::IconRotate, klass, value); parseOptionalProperty<Function<float>>("icon-size", Key::IconSize, klass, value); - parseOptionalProperty<PropertyTransition>("transition-icon-size", Key::IconSize, klass, value); + parseOptionalProperty<PropertyTransition>("icon-size-transition", Key::IconSize, klass, value); parseOptionalProperty<Function<Color>>("icon-color", Key::IconColor, klass, value); - parseOptionalProperty<PropertyTransition>("transition-icon-color", Key::IconColor, klass, value); + parseOptionalProperty<PropertyTransition>("icon-color-transition", Key::IconColor, klass, value); parseOptionalProperty<Function<Color>>("icon-halo-color", Key::IconHaloColor, klass, value); - parseOptionalProperty<PropertyTransition>("transition-icon-halo-color", Key::IconHaloColor, klass, value); + parseOptionalProperty<PropertyTransition>("icon-halo-color-transition", Key::IconHaloColor, klass, value); parseOptionalProperty<Function<float>>("icon-halo-width", Key::IconHaloWidth, klass, value); - parseOptionalProperty<PropertyTransition>("transition-icon-halo-width", Key::IconHaloWidth, klass, value); + parseOptionalProperty<PropertyTransition>("icon-halo-width-transition", Key::IconHaloWidth, klass, value); parseOptionalProperty<Function<float>>("icon-halo-blur", Key::IconHaloBlur, klass, value); - parseOptionalProperty<PropertyTransition>("transition-icon-halo-blur", Key::IconHaloBlur, klass, value); + parseOptionalProperty<PropertyTransition>("icon-halo-blur-transition", Key::IconHaloBlur, klass, value); parseOptionalProperty<Function<float>>("icon-translate", { Key::IconTranslateX, Key::IconTranslateY }, klass, value); - parseOptionalProperty<PropertyTransition>("transition-icon-translate", Key::IconTranslate, klass, value); + parseOptionalProperty<PropertyTransition>("icon-translate-transition", Key::IconTranslate, klass, value); parseOptionalProperty<TranslateAnchorType>("icon-translate-anchor", Key::IconTranslateAnchor, klass, value); parseOptionalProperty<Function<float>>("text-opacity", Key::TextOpacity, klass, value); - parseOptionalProperty<PropertyTransition>("transition-text-opacity", Key::TextOpacity, klass, value); + parseOptionalProperty<PropertyTransition>("text-opacity-transition", Key::TextOpacity, klass, value); parseOptionalProperty<Function<float>>("text-size", Key::TextSize, klass, value); - parseOptionalProperty<PropertyTransition>("transition-text-size", Key::TextSize, klass, value); + parseOptionalProperty<PropertyTransition>("text-size-transition", Key::TextSize, klass, value); parseOptionalProperty<Function<Color>>("text-color", Key::TextColor, klass, value); - parseOptionalProperty<PropertyTransition>("transition-text-color", Key::TextColor, klass, value); + parseOptionalProperty<PropertyTransition>("text-color-transition", Key::TextColor, klass, value); parseOptionalProperty<Function<Color>>("text-halo-color", Key::TextHaloColor, klass, value); - parseOptionalProperty<PropertyTransition>("transition-text-halo-color", Key::TextHaloColor, klass, value); + parseOptionalProperty<PropertyTransition>("text-halo-color-transition", Key::TextHaloColor, klass, value); parseOptionalProperty<Function<float>>("text-halo-width", Key::TextHaloWidth, klass, value); - parseOptionalProperty<PropertyTransition>("transition-text-halo-width", Key::TextHaloWidth, klass, value); + parseOptionalProperty<PropertyTransition>("text-halo-width-transition", Key::TextHaloWidth, klass, value); parseOptionalProperty<Function<float>>("text-halo-blur", Key::TextHaloBlur, klass, value); - parseOptionalProperty<PropertyTransition>("transition-text-halo-blur", Key::TextHaloBlur, klass, value); + parseOptionalProperty<PropertyTransition>("text-halo-blur-transition", Key::TextHaloBlur, klass, value); parseOptionalProperty<Function<float>>("text-translate", { Key::TextTranslateX, Key::TextTranslateY }, klass, value); - parseOptionalProperty<PropertyTransition>("transition-text-translate", Key::TextTranslate, klass, value); + parseOptionalProperty<PropertyTransition>("text-translate-transition", Key::TextTranslate, klass, value); parseOptionalProperty<TranslateAnchorType>("text-translate-anchor", Key::TextTranslateAnchor, klass, value); parseOptionalProperty<Function<float>>("raster-opacity", Key::RasterOpacity, klass, value); - parseOptionalProperty<PropertyTransition>("transition-raster-opacity", Key::RasterOpacity, klass, value); + parseOptionalProperty<PropertyTransition>("raster-opacity-transition", Key::RasterOpacity, klass, value); parseOptionalProperty<Function<float>>("raster-hue-rotate", Key::RasterHueRotate, klass, value); - parseOptionalProperty<PropertyTransition>("transition-raster-hue-rotate", Key::RasterHueRotate, klass, value); + parseOptionalProperty<PropertyTransition>("raster-hue-rotate-transition", Key::RasterHueRotate, klass, value); parseOptionalProperty<Function<float>>("raster-brightness", { Key::RasterBrightnessLow, Key::RasterBrightnessHigh }, klass, value); - parseOptionalProperty<PropertyTransition>("transition-raster-brightness", Key::RasterBrightness, klass, value); + parseOptionalProperty<PropertyTransition>("raster-brightness-transition", Key::RasterBrightness, klass, value); parseOptionalProperty<Function<float>>("raster-saturation", Key::RasterSaturation, klass, value); - parseOptionalProperty<PropertyTransition>("transition-raster-saturation", Key::RasterSaturation, klass, value); + parseOptionalProperty<PropertyTransition>("raster-saturation-transition", Key::RasterSaturation, klass, value); parseOptionalProperty<Function<float>>("raster-contrast", Key::RasterContrast, klass, value); - parseOptionalProperty<PropertyTransition>("transition-raster-contrast", Key::RasterContrast, klass, value); + parseOptionalProperty<PropertyTransition>("raster-contrast-transition", Key::RasterContrast, klass, value); parseOptionalProperty<Function<float>>("raster-fade-duration", Key::RasterFade, klass, value); - parseOptionalProperty<PropertyTransition>("transition-raster-fade-duration", Key::RasterFade, klass, value); + parseOptionalProperty<PropertyTransition>("raster-fade-duration-transition", Key::RasterFade, klass, value); parseOptionalProperty<Function<float>>("background-opacity", Key::BackgroundOpacity, klass, value); parseOptionalProperty<Function<Color>>("background-color", Key::BackgroundColor, klass, value); |