From 5dd98df50ba1210b1eef0d8d6655713a725f2995 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Fri, 21 Apr 2017 14:52:19 -0700 Subject: [all] Rationalize style::Image A style has a collection of images, just as it has collections of sources and layers. * Name things appropriately * Use std::unique_ptr --- cmake/core-files.cmake | 4 ++-- cmake/test-files.cmake | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'cmake') diff --git a/cmake/core-files.cmake b/cmake/core-files.cmake index e8c168df41..a0c46c7cd4 100644 --- a/cmake/core-files.cmake +++ b/cmake/core-files.cmake @@ -217,13 +217,11 @@ set(MBGL_CORE_FILES src/mbgl/shaders/symbol_sdf.hpp # sprite - include/mbgl/sprite/sprite_image.hpp src/mbgl/sprite/sprite_atlas.cpp src/mbgl/sprite/sprite_atlas.hpp src/mbgl/sprite/sprite_atlas_observer.hpp src/mbgl/sprite/sprite_atlas_worker.cpp src/mbgl/sprite/sprite_atlas_worker.hpp - src/mbgl/sprite/sprite_image.cpp src/mbgl/sprite/sprite_parser.cpp src/mbgl/sprite/sprite_parser.hpp @@ -247,6 +245,7 @@ set(MBGL_CORE_FILES include/mbgl/style/data_driven_property_value.hpp include/mbgl/style/filter.hpp include/mbgl/style/filter_evaluator.hpp + include/mbgl/style/image.hpp include/mbgl/style/layer.hpp include/mbgl/style/property_value.hpp include/mbgl/style/query.hpp @@ -264,6 +263,7 @@ set(MBGL_CORE_FILES src/mbgl/style/data_driven_property_evaluator.hpp src/mbgl/style/group_by_layout.cpp src/mbgl/style/group_by_layout.hpp + src/mbgl/style/image.cpp src/mbgl/style/layer.cpp src/mbgl/style/layer_impl.cpp src/mbgl/style/layer_impl.hpp diff --git a/cmake/test-files.cmake b/cmake/test-files.cmake index dab5b48745..02df6c4d67 100644 --- a/cmake/test-files.cmake +++ b/cmake/test-files.cmake @@ -43,7 +43,6 @@ set(MBGL_TEST_FILES # sprite test/sprite/sprite_atlas.test.cpp - test/sprite/sprite_image.test.cpp test/sprite/sprite_parser.test.cpp # src/mbgl/test @@ -95,6 +94,7 @@ set(MBGL_TEST_FILES test/style/paint_property.test.cpp test/style/source.test.cpp test/style/style.test.cpp + test/style/style_image.test.cpp test/style/style_layer.test.cpp test/style/style_parser.test.cpp test/style/tile_source.test.cpp -- cgit v1.2.1