Changeset a0da009 in opengl-game for game-gui-glfw.cpp
- Timestamp:
- Oct 1, 2019, 2:48:30 AM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 40995d3
- Parents:
- fa9fa1c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
game-gui-glfw.cpp
rfa9fa1c ra0da009 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.