You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Graphics/Window.h
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -90,14 +90,14 @@ class Window
90
90
GLFWwindowiconifyfun setMinimizeCallback(GLFWwindowiconifyfun cb) {glfwSetWindowIconifyCallback(m_w.get(),cb);} //!< callback will be called when the window is minimized
91
91
92
92
// input callbacks
93
-
GLFWkeyfun setKeyCallback(GLFWkeyfun cb) {glfwSetKeyCallback(m_w.get(),cb);} //!< callback will be called when key input is availible
94
-
GLFWcharfun setCharCallback(GLFWcharfun cb) {glfwSetCharCallback(m_w.get(),cb);} //!< callback provides character input
GLFWmousebuttonfun setMousebuttonCallback(GLFWmousebuttonfun cb) {glfwSetMouseButtonCallback(m_w.get(),cb);} //!< called when a mouse button is pressed
97
-
GLFWcursorposfun setCoursorposCallback(GLFWcursorposfun cb) {glfwSetCursorPosCallback(m_w.get(),cb);} //!< called when the cursor is moved
98
-
GLFWcursorenterfun setCoursorenterCallback(GLFWcursorenterfun cb) {glfwSetCursorEnterCallback(m_w.get(),cb);} //!< called when the cursor enters or leaves the window
99
-
GLFWscrollfun setScrollCallback(GLFWscrollfun cb) {glfwSetScrollCallback(m_w.get(),cb);} //!< called when the scroll wheel is moved
100
-
GLFWdropfun setDropCallbac(GLFWdropfun cb) {glfwSetDropCallback(m_w.get(),cb);} //!< called when someting is drag'n droped onto the window
93
+
GLFWkeyfun setKeyCallback(GLFWkeyfun cb) {returnglfwSetKeyCallback(m_w.get(),cb);} //!< callback will be called when key input is availible
94
+
GLFWcharfun setCharCallback(GLFWcharfun cb) {returnglfwSetCharCallback(m_w.get(),cb);} //!< callback provides character input
GLFWmousebuttonfun setMousebuttonCallback(GLFWmousebuttonfun cb) {returnglfwSetMouseButtonCallback(m_w.get(),cb);} //!< called when a mouse button is pressed
97
+
GLFWcursorposfun setCoursorposCallback(GLFWcursorposfun cb) {returnglfwSetCursorPosCallback(m_w.get(),cb);} //!< called when the cursor is moved
98
+
GLFWcursorenterfun setCoursorenterCallback(GLFWcursorenterfun cb) {returnglfwSetCursorEnterCallback(m_w.get(),cb);} //!< called when the cursor enters or leaves the window
99
+
GLFWscrollfun setScrollCallback(GLFWscrollfun cb) {returnglfwSetScrollCallback(m_w.get(),cb);} //!< called when the scroll wheel is moved
100
+
GLFWdropfun setDropCallbac(GLFWdropfun cb) {returnglfwSetDropCallback(m_w.get(),cb);} //!< called when someting is drag'n droped onto the window
101
101
102
102
// input functions
103
103
voidsetInputMode(int mode, int value) {glfwSetInputMode(m_w.get(),mode,value);} //!< see glfwSetInputMode for reference
0 commit comments