Changeset f133da0 in opengl-game for new-game.cpp
- Timestamp:
- Sep 16, 2019, 2:09:05 AM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- c6fec84
- Parents:
- df2cc24
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
new-game.cpp
rdf2cc24 rf133da0 397 397 cout << "MAX_UNIFORMS: " << MAX_UNIFORMS << endl; 398 398 399 /*** START OF REFACTORED CODE ***/ 399 400 // Setup Dear ImGui binding 400 401 IMGUI_CHECKVERSION(); … … 411 412 glfwSetMouseButtonCallback(window, mouse_button_callback); 412 413 glfwSetKeyCallback(window, key_callback); 414 /*** END OF REFACTORED CODE ***/ 413 415 414 416 glfwSetWindowSizeCallback(window, window_size_callback); … … 2446 2448 } 2447 2449 2450 /*** START OF REFACTORED CODE ***/ 2448 2451 void renderMainMenuGui() { 2449 2452 ImGui_ImplGlfwGL3_NewFrame(); … … 2478 2481 ImGui_ImplGlfwGL3_RenderDrawData(ImGui::GetDrawData()); 2479 2482 } 2483 /*** END OF REFACTORED CODE ***/ 2480 2484 2481 2485 void initGuiValueLists(map<string, vector<UIValue>> valueLists) {
Note:
See TracChangeset
for help on using the changeset viewer.