From e4cf44e967643f587d227df8fec4168db1a45b01 Mon Sep 17 00:00:00 2001 From: ocornut Date: Thu, 24 Dec 2015 19:56:47 +0100 Subject: [PATCH] Minor rebranding "ImGui" -> "dear imgui" (#21) --- imgui.cpp | 4 ++-- imgui.h | 4 ++-- imgui_demo.cpp | 8 ++++---- imgui_draw.cpp | 4 ++-- imgui_internal.h | 6 +++--- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/imgui.cpp b/imgui.cpp index 1f0c40cf..a572da24 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -1,5 +1,5 @@ -// ImGui library v1.47 WIP -// Main code & documentation +// dear imgui, v1.47 WIP +// (main code and documentation) // See ImGui::ShowTestWindow() in imgui_demo.cpp for demo code. // Newcomers, read 'Programmer guide' below for notes on how to setup ImGui in your codebase. diff --git a/imgui.h b/imgui.h index ea33166f..d5700b9d 100644 --- a/imgui.h +++ b/imgui.h @@ -1,5 +1,5 @@ -// ImGui library v1.47 WIP -// Headers +// dear imgui, v1.47 WIP +// (headers) // See imgui.cpp file for documentation. // See ImGui::ShowTestWindow() in imgui_demo.cpp for demo code. diff --git a/imgui_demo.cpp b/imgui_demo.cpp index 69d9ca21..d0f43ede 100644 --- a/imgui_demo.cpp +++ b/imgui_demo.cpp @@ -1,5 +1,5 @@ -// ImGui library v1.47 WIP -// Demo code +// dear imgui, v1.47 WIP +// (demo code) // Don't remove this file from your project! It is useful reference code that you can execute. // You can call ImGui::ShowTestWindow() in your code to learn about various features of ImGui. @@ -125,7 +125,7 @@ void ImGui::ShowTestWindow(bool* p_opened) if (show_app_about) { ImGui::Begin("About ImGui", &show_app_about, ImGuiWindowFlags_AlwaysAutoResize); - ImGui::Text("ImGui %s", ImGui::GetVersion()); + ImGui::Text("dear imgui, %s", ImGui::GetVersion()); ImGui::Separator(); ImGui::Text("By Omar Cornut and all github contributors."); ImGui::Text("ImGui is licensed under the MIT License, see LICENSE for more information."); @@ -160,7 +160,7 @@ void ImGui::ShowTestWindow(bool* p_opened) //ImGui::PushItemWidth(ImGui::GetWindowWidth() * 0.65f); // 2/3 of the space for widget and 1/3 for labels ImGui::PushItemWidth(-140); // Right align, keep 140 pixels for labels - ImGui::Text("ImGui says hello."); + ImGui::Text("Dear ImGui says hello."); // Menu if (ImGui::BeginMenuBar()) diff --git a/imgui_draw.cpp b/imgui_draw.cpp index aec8d419..eafed6ac 100644 --- a/imgui_draw.cpp +++ b/imgui_draw.cpp @@ -1,5 +1,5 @@ -// ImGui library v1.47 WIP -// Drawing and font code +// dear imgui, v1.47 WIP +// (drawing and font code) // Contains implementation for // - ImDrawList diff --git a/imgui_internal.h b/imgui_internal.h index 418515c0..e1a5244b 100644 --- a/imgui_internal.h +++ b/imgui_internal.h @@ -1,7 +1,7 @@ -// ImGui library v1.47 WIP -// Internals -// You may use this file to debug, understand or extend ImGui features but we don't provide any guarantee of forward compatibility! +// dear imgui, v1.47 WIP +// (internals) +// You may use this file to debug, understand or extend ImGui features but we don't provide any guarantee of forward compatibility! // Implement maths operators for ImVec2 (disabled by default to not collide with using IM_VEC2_CLASS_EXTRA along with your own math types+operators) // #define IMGUI_DEFINE_MATH_OPERATORS