summaryrefslogtreecommitdiff
path: root/include/mbgl/platform/default/headless_view.hpp
diff options
context:
space:
mode:
authorLeith Bade <leith@mapbox.com>2014-12-22 18:08:48 +1300
committerLeith Bade <leith@mapbox.com>2014-12-23 09:29:45 +1300
commit0771e5046064875d323245873f457b87e8c4b447 (patch)
tree3d493f764a393afb3c4e934281aff519612bc966 /include/mbgl/platform/default/headless_view.hpp
parent2731b582f24063e339c047635c6d7b2316eb8037 (diff)
downloadqtlocation-mapboxgl-0771e5046064875d323245873f457b87e8c4b447.tar.gz
Rename View functions to match conventions. Also tidy up view classes and remove C style casts. Closes #656
Diffstat (limited to 'include/mbgl/platform/default/headless_view.hpp')
-rw-r--r--include/mbgl/platform/default/headless_view.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/mbgl/platform/default/headless_view.hpp b/include/mbgl/platform/default/headless_view.hpp
index a521cff547..387011aa0b 100644
--- a/include/mbgl/platform/default/headless_view.hpp
+++ b/include/mbgl/platform/default/headless_view.hpp
@@ -31,13 +31,13 @@ public:
std::unique_ptr<uint32_t[]> readPixels();
void notify();
- void notify_map_change(MapChange change, timestamp delay = 0);
- void make_active();
- void make_inactive();
+ void notifyMapChange(MapChange change, timestamp delay = 0);
+ void activate();
+ void deactivate();
void swap();
private:
- void clear_buffers();
+ void clearBuffers();
private:
std::shared_ptr<HeadlessDisplay> display_;