mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-03 22:51:06 +01:00 
			
		
		
		
	Demo: About box tweaks.
This commit is contained in:
		@@ -156,11 +156,11 @@ void ImGui::ShowTestWindow(bool* p_open)
 | 
				
			|||||||
    if (show_app_style_editor) { ImGui::Begin("Style Editor", &show_app_style_editor); ImGui::ShowStyleEditor(); ImGui::End(); }
 | 
					    if (show_app_style_editor) { ImGui::Begin("Style Editor", &show_app_style_editor); ImGui::ShowStyleEditor(); ImGui::End(); }
 | 
				
			||||||
    if (show_app_about)
 | 
					    if (show_app_about)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        ImGui::Begin("About ImGui", &show_app_about, ImGuiWindowFlags_AlwaysAutoResize);
 | 
					        ImGui::Begin("About Dear ImGui", &show_app_about, ImGuiWindowFlags_AlwaysAutoResize);
 | 
				
			||||||
        ImGui::Text("dear imgui, %s", ImGui::GetVersion());
 | 
					        ImGui::Text("dear imgui, %s", ImGui::GetVersion());
 | 
				
			||||||
        ImGui::Separator();
 | 
					        ImGui::Separator();
 | 
				
			||||||
        ImGui::Text("By Omar Cornut and all github contributors.");
 | 
					        ImGui::Text("By Omar Cornut and all dear imgui contributors.");
 | 
				
			||||||
        ImGui::Text("ImGui is licensed under the MIT License, see LICENSE for more information.");
 | 
					        ImGui::Text("Dear ImGui is licensed under the MIT License, see LICENSE for more information.");
 | 
				
			||||||
        ImGui::End();
 | 
					        ImGui::End();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -222,7 +222,7 @@ void ImGui::ShowTestWindow(bool* p_open)
 | 
				
			|||||||
        {
 | 
					        {
 | 
				
			||||||
            ImGui::MenuItem("Metrics", NULL, &show_app_metrics);
 | 
					            ImGui::MenuItem("Metrics", NULL, &show_app_metrics);
 | 
				
			||||||
            ImGui::MenuItem("Style Editor", NULL, &show_app_style_editor);
 | 
					            ImGui::MenuItem("Style Editor", NULL, &show_app_style_editor);
 | 
				
			||||||
            ImGui::MenuItem("About ImGui", NULL, &show_app_about);
 | 
					            ImGui::MenuItem("About Dear ImGui", NULL, &show_app_about);
 | 
				
			||||||
            ImGui::EndMenu();
 | 
					            ImGui::EndMenu();
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        ImGui::EndMenuBar();
 | 
					        ImGui::EndMenuBar();
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user