diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-04-30 12:01:26 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-04-30 12:01:26 +0200 |
commit | 1216a061d3e46eae983a38e42e71115e5c9faef6 (patch) | |
tree | 7ddb57f2885072db82657dc56dff64e49e28db76 /common/glfw_view.hpp | |
parent | ddc359f006c47e2a503b616d27e22f5d29c13e5b (diff) | |
download | qtlocation-mapboxgl-1216a061d3e46eae983a38e42e71115e5c9faef6.tar.gz |
move to libuv for the rendering loop
Diffstat (limited to 'common/glfw_view.hpp')
-rw-r--r-- | common/glfw_view.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/common/glfw_view.hpp b/common/glfw_view.hpp index 5dbb64efb2..7c9f41811c 100644 --- a/common/glfw_view.hpp +++ b/common/glfw_view.hpp @@ -5,13 +5,16 @@ #include <GLFW/glfw3.h> #include <uv.h> -class MapView { +class MapView : public llmr::View { public: MapView(llmr::Settings &settings, bool fullscreen = false); ~MapView(); void init(); + void swap(); + void make_active(); + 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, int); |