Browse Source

Minor rebranding "ImGui" -> "dear imgui" (#21)

ocornut 9 years ago
parent
commit
e4cf44e967
5 changed files with 13 additions and 13 deletions
  1. 2 2
      imgui.cpp
  2. 2 2
      imgui.h
  3. 4 4
      imgui_demo.cpp
  4. 2 2
      imgui_draw.cpp
  5. 3 3
      imgui_internal.h

+ 2 - 2
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.

+ 2 - 2
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.

+ 4 - 4
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())

+ 2 - 2
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

+ 3 - 3
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