mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-15 01:17:00 +00:00
Minor rebranding "ImGui" -> "dear imgui" (#21)
This commit is contained in:
parent
25c9448dda
commit
e4cf44e967
@ -1,5 +1,5 @@
|
|||||||
// ImGui library v1.47 WIP
|
// dear imgui, v1.47 WIP
|
||||||
// Main code & documentation
|
// (main code and documentation)
|
||||||
|
|
||||||
// See ImGui::ShowTestWindow() in imgui_demo.cpp for demo code.
|
// 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.
|
// Newcomers, read 'Programmer guide' below for notes on how to setup ImGui in your codebase.
|
||||||
|
4
imgui.h
4
imgui.h
@ -1,5 +1,5 @@
|
|||||||
// ImGui library v1.47 WIP
|
// dear imgui, v1.47 WIP
|
||||||
// Headers
|
// (headers)
|
||||||
|
|
||||||
// See imgui.cpp file for documentation.
|
// See imgui.cpp file for documentation.
|
||||||
// See ImGui::ShowTestWindow() in imgui_demo.cpp for demo code.
|
// See ImGui::ShowTestWindow() in imgui_demo.cpp for demo code.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// ImGui library v1.47 WIP
|
// dear imgui, v1.47 WIP
|
||||||
// Demo code
|
// (demo code)
|
||||||
|
|
||||||
// Don't remove this file from your project! It is useful reference code that you can execute.
|
// 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.
|
// 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)
|
if (show_app_about)
|
||||||
{
|
{
|
||||||
ImGui::Begin("About ImGui", &show_app_about, ImGuiWindowFlags_AlwaysAutoResize);
|
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::Separator();
|
||||||
ImGui::Text("By Omar Cornut and all github contributors.");
|
ImGui::Text("By Omar Cornut and all github contributors.");
|
||||||
ImGui::Text("ImGui is licensed under the MIT License, see LICENSE for more information.");
|
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(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::PushItemWidth(-140); // Right align, keep 140 pixels for labels
|
||||||
|
|
||||||
ImGui::Text("ImGui says hello.");
|
ImGui::Text("Dear ImGui says hello.");
|
||||||
|
|
||||||
// Menu
|
// Menu
|
||||||
if (ImGui::BeginMenuBar())
|
if (ImGui::BeginMenuBar())
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// ImGui library v1.47 WIP
|
// dear imgui, v1.47 WIP
|
||||||
// Drawing and font code
|
// (drawing and font code)
|
||||||
|
|
||||||
// Contains implementation for
|
// Contains implementation for
|
||||||
// - ImDrawList
|
// - ImDrawList
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// ImGui library v1.47 WIP
|
// dear imgui, v1.47 WIP
|
||||||
// Internals
|
// (internals)
|
||||||
// You may use this file to debug, understand or extend ImGui features but we don't provide any guarantee of forward compatibility!
|
|
||||||
|
|
||||||
|
// 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)
|
// 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
|
// #define IMGUI_DEFINE_MATH_OPERATORS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user