diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-06-09 10:29:07 -0400 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-06-09 10:29:07 -0400 |
commit | 0c5f8a2c59fdeeadcab52675e81e7a4e8904ed58 (patch) | |
tree | 67fbba60b7bdb922ccf2ea3122b23e154f256e8d /include | |
parent | f85889dc75a96b022bedbbfc15be6fc246ae5c6d (diff) | |
download | qtlocation-mapboxgl-0c5f8a2c59fdeeadcab52675e81e7a4e8904ed58.tar.gz |
press 1 through 6 to add 10^(n-1) points in the current viewport
(only works correctly when rotated to north, but this is a just a debug functionality anyway)
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/platform/default/glfw_view.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/mbgl/platform/default/glfw_view.hpp b/include/mbgl/platform/default/glfw_view.hpp index 74dc6fe439..094974b59c 100644 --- a/include/mbgl/platform/default/glfw_view.hpp +++ b/include/mbgl/platform/default/glfw_view.hpp @@ -37,10 +37,16 @@ public: void fps(); private: + void addRandomPointAnnotations(int count); + +private: bool fullscreen = false; bool tracking = false; bool rotating = false; + int width = 1024; + int height = 768; + double lastX = 0, lastY = 0; double lastClick = -1; |