Changeset 40995d3 in opengl-game for game-gui-glfw.cpp
- Timestamp:
- Oct 1, 2019, 3:14:06 AM (6 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 4d84c72
- Parents:
- 7563b8a (diff), a0da009 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
game-gui-glfw.cpp
r7563b8a r40995d3 66 66 glfwSetMouseButtonCallback(window, glfw_mouse_button_callback); 67 67 glfwSetKeyCallback(window, glfw_key_callback); 68 glfwSetWindowSizeCallback(window, glfw_window_size_callback); 68 69 } 69 70 … … 151 152 GameGui_GLFW::s_events.push(e); 152 153 } 154 155 void glfw_window_size_callback(GLFWwindow* window, int width, int height) { 156 UIEvent e; 157 e.type = UI_EVENT_WINDOWRESIZE; 158 159 GameGui_GLFW::s_events.push(e); 160 }
Note:
See TracChangeset
for help on using the changeset viewer.