diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-07-23 14:09:24 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-07-23 14:10:33 +0300 |
commit | 0e602385967612a2d231d3006765cfcbce65fd71 (patch) | |
tree | 99eabe18030fbcc877fb39e94013f4d7d0235410 /include/mbgl/platform | |
parent | 45d65c4b491615e0ff0c1ec0a89324159bc1dc97 (diff) | |
download | qtlocation-mapboxgl-0e602385967612a2d231d3006765cfcbce65fd71.tar.gz |
[glfw] Added 'addRandomLineAnnotations'
Diffstat (limited to 'include/mbgl/platform')
-rw-r--r-- | include/mbgl/platform/default/glfw_view.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mbgl/platform/default/glfw_view.hpp b/include/mbgl/platform/default/glfw_view.hpp index 83d00a24dd..38ab922414 100644 --- a/include/mbgl/platform/default/glfw_view.hpp +++ b/include/mbgl/platform/default/glfw_view.hpp @@ -44,6 +44,7 @@ public: void report(float duration); private: + mbgl::Color makeRandomColor() const; mbgl::Point<double> makeRandomPoint() const; static std::shared_ptr<const mbgl::SpriteImage> makeSpriteImage(int width, int height, float pixelRatio); @@ -51,6 +52,7 @@ private: void nextOrientation(); void addRandomPointAnnotations(int count); + void addRandomLineAnnotations(int count); void addRandomShapeAnnotations(int count); void addRandomCustomPointAnnotations(int count); |