summaryrefslogtreecommitdiff
path: root/include/mbgl/platform/default
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-02-05 14:58:20 +0100
committerKonstantin Käfer <mail@kkaefer.com>2015-03-06 13:52:25 +0100
commitfb44fc81bdab09d079ed27e22b86718627ded48b (patch)
tree2a4e7c80eb49624c0b548d7bd33401792da1faa4 /include/mbgl/platform/default
parent0151fe6c01367ef03a2ff282b90e32dd3785a7c2 (diff)
downloadqtlocation-mapboxgl-fb44fc81bdab09d079ed27e22b86718627ded48b.tar.gz
make Map::resize() private
they can only be called by View::resize
Diffstat (limited to 'include/mbgl/platform/default')
-rw-r--r--include/mbgl/platform/default/glfw_view.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/mbgl/platform/default/glfw_view.hpp b/include/mbgl/platform/default/glfw_view.hpp
index 7156d4ff1f..8f5cfb7281 100644
--- a/include/mbgl/platform/default/glfw_view.hpp
+++ b/include/mbgl/platform/default/glfw_view.hpp
@@ -20,11 +20,11 @@ public:
void notify();
void notifyMapChange(mbgl::MapChange change, std::chrono::steady_clock::duration delay = std::chrono::steady_clock::duration::zero());
- static void key(GLFWwindow *window, int key, int scancode, int action, int mods);
- static void scroll(GLFWwindow *window, double xoffset, double yoffset);
- static void resize(GLFWwindow *window, int width, int height);
- static void mouseClick(GLFWwindow *window, int button, int action, int modifiers);
- static void mouseMove(GLFWwindow *window, double x, double y);
+ static void onKey(GLFWwindow *window, int key, int scancode, int action, int mods);
+ static void onScroll(GLFWwindow *window, double xoffset, double yoffset);
+ static void onResize(GLFWwindow *window, int width, int height);
+ static void onMouseClick(GLFWwindow *window, int button, int action, int modifiers);
+ static void onMouseMove(GLFWwindow *window, double x, double y);
static void eventloop(void *arg);