diff options
author | Leith Bade <leith@mapbox.com> | 2014-12-22 18:08:48 +1300 |
---|---|---|
committer | Leith Bade <leith@mapbox.com> | 2014-12-23 09:29:45 +1300 |
commit | 0771e5046064875d323245873f457b87e8c4b447 (patch) | |
tree | 3d493f764a393afb3c4e934281aff519612bc966 /include/mbgl/platform/default/headless_view.hpp | |
parent | 2731b582f24063e339c047635c6d7b2316eb8037 (diff) | |
download | qtlocation-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.hpp | 8 |
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_; |