Changeset 5a23277 in opengl-game for game-gui-glfw.cpp
- Timestamp:
- Nov 12, 2019, 6:40:39 AM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- e3bef3a
- Parents:
- 0ae182f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
game-gui-glfw.cpp
r0ae182f r5a23277 147 147 void glfw_key_callback(GLFWwindow* window, int key, int scancode, int action, int mods) { 148 148 UIEvent e; 149 e.type = UI_EVENT_KEY;149 e.type = action == GLFW_RELEASE ? UI_EVENT_KEYUP ? UI_EVENT_KEYDOWN; 150 150 e.key.keycode = key; 151 151
Note:
See TracChangeset
for help on using the changeset viewer.