Changeset f0cc877 in opengl-game for new-game.cpp
- Timestamp:
- May 8, 2018, 3:21:52 AM (6 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 93462c6
- Parents:
- 5b3462b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
new-game.cpp
r5b3462b rf0cc877 843 843 ImGui::SetNextWindowSize(ImVec2(85, 22), ImGuiCond_Once); 844 844 ImGui::SetNextWindowPos(ImVec2(10, 50), ImGuiCond_Once); 845 ImGui::Begin("WndStats", NULL, ImGuiWindowFlags_NoTitleBar | 846 ImGuiWindowFlags_NoResize | 847 ImGuiWindowFlags_NoMove); 845 ImGui::Begin("WndStats", NULL, 846 ImGuiWindowFlags_NoTitleBar | 847 ImGuiWindowFlags_NoResize | 848 ImGuiWindowFlags_NoMove); 848 849 ImGui::Text("Score: ???"); 849 850 ImGui::End(); … … 853 854 ImGui::SetNextWindowPos(ImVec2(380, 10), ImGuiCond_Once); 854 855 ImGui::SetNextWindowSize(ImVec2(250, 35), ImGuiCond_Once); 855 ImGui::Begin("WndMenubar", NULL, ImGuiWindowFlags_NoTitleBar | 856 ImGui::Begin("WndMenubar", NULL, 857 ImGuiWindowFlags_NoTitleBar | 856 858 ImGuiWindowFlags_NoResize | 857 859 ImGuiWindowFlags_NoMove); … … 864 866 } 865 867 868 // Main Menu 869 /* 870 { 871 int padding = 4; 872 ImGui::SetNextWindowPos(ImVec2(-padding, -padding), ImGuiCond_Once); 873 ImGui::SetNextWindowSize(ImVec2(width+2*padding, height+2*padding), ImGuiCond_Once); 874 ImGui::Begin("WndMain", NULL, 875 ImGuiWindowFlags_NoTitleBar | 876 ImGuiWindowFlags_NoResize | 877 ImGuiWindowFlags_NoMove); 878 ImGui::End(); 879 } 880 */ 881 866 882 ImGui::Render(); 867 883 ImGui_ImplGlfwGL3_RenderDrawData(ImGui::GetDrawData());
Note:
See TracChangeset
for help on using the changeset viewer.