|
@@ -5,10 +5,12 @@ Dear ImGui
|
|
|
|
|
|
<sub>(This library is available under a free and permissive license, but needs financial support to sustain its continued improvements. In addition to maintenance and stability there are many desirable features yet to be added. If your company is using Dear ImGui, please consider reaching out.)</sub>
|
|
<sub>(This library is available under a free and permissive license, but needs financial support to sustain its continued improvements. In addition to maintenance and stability there are many desirable features yet to be added. If your company is using Dear ImGui, please consider reaching out.)</sub>
|
|
|
|
|
|
-Businesses: support continued development via invoiced technical support, maintenance, sponsoring contracts:
|
|
|
|
|
|
+Businesses: support continued development and maintenance via invoiced technical support, maintenance, sponsoring contracts:
|
|
<br> _E-mail: contact @ dearimgui dot com_
|
|
<br> _E-mail: contact @ dearimgui dot com_
|
|
|
|
|
|
-Individuals: support continued maintenance and development with [PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WGHNC6MBFLZ2S).
|
|
|
|
|
|
+Individuals: support continued development and maintenance [here](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WGHNC6MBFLZ2S).
|
|
|
|
+
|
|
|
|
+Also see [Sponsors](https://github.com/ocornut/imgui/wiki/Sponsors) page.
|
|
|
|
|
|
----
|
|
----
|
|
|
|
|
|
@@ -18,7 +20,7 @@ Dear ImGui is designed to **enable fast iterations** and to **empower programmer
|
|
|
|
|
|
Dear ImGui is particularly suited to integration in games engine (for tooling), real-time 3D applications, fullscreen applications, embedded applications, or any applications on consoles platforms where operating system features are non-standard.
|
|
Dear ImGui is particularly suited to integration in games engine (for tooling), real-time 3D applications, fullscreen applications, embedded applications, or any applications on consoles platforms where operating system features are non-standard.
|
|
|
|
|
|
-| [Usage](#usage) - [How it works](#how-it-works) - [Demo](#demo) - [Integration](#integration) |
|
|
|
|
|
|
+| [Usage](#usage) - [How it works](#how-it-works) - [Releases](#releases) - [Demo](#demo) - [Integration](#integration) |
|
|
:----------------------------------------------------------: |
|
|
:----------------------------------------------------------: |
|
|
| [Upcoming changes](#upcoming-changes) - [Gallery](#gallery) - [Support, FAQ](#support-frequently-asked-questions-faq) - [How to help](#how-to-help) - [Sponsors](#sponsors) - [Credits](#credits) - [License](#license) |
|
|
| [Upcoming changes](#upcoming-changes) - [Gallery](#gallery) - [Support, FAQ](#support-frequently-asked-questions-faq) - [How to help](#how-to-help) - [Sponsors](#sponsors) - [Credits](#credits) - [License](#license) |
|
|
| [Wiki](https://github.com/ocornut/imgui/wiki) - [Language & frameworks bindings](https://github.com/ocornut/imgui/wiki/Bindings) - [Software using Dear ImGui](https://github.com/ocornut/imgui/wiki/Software-using-dear-imgui) - [User quotes](https://github.com/ocornut/imgui/wiki/Quotes) |
|
|
| [Wiki](https://github.com/ocornut/imgui/wiki) - [Language & frameworks bindings](https://github.com/ocornut/imgui/wiki/Bindings) - [Software using Dear ImGui](https://github.com/ocornut/imgui/wiki/Software-using-dear-imgui) - [User quotes](https://github.com/ocornut/imgui/wiki/Quotes) |
|
|
@@ -36,7 +38,7 @@ You will need a backend to integrate Dear ImGui in your app. The backend passes
|
|
After Dear ImGui is setup in your application, you can use it from \_anywhere\_ in your program loop:
|
|
After Dear ImGui is setup in your application, you can use it from \_anywhere\_ in your program loop:
|
|
|
|
|
|
Code:
|
|
Code:
|
|
-```cp
|
|
|
|
|
|
+```cpp
|
|
ImGui::Text("Hello, world %d", 123);
|
|
ImGui::Text("Hello, world %d", 123);
|
|
if (ImGui::Button("Save"))
|
|
if (ImGui::Button("Save"))
|
|
MySaveFunction();
|
|
MySaveFunction();
|
|
@@ -45,7 +47,7 @@ ImGui::SliderFloat("float", &f, 0.0f, 1.0f);
|
|
```
|
|
```
|
|
Result:
|
|
Result:
|
|
<br> 
|
|
<br> 
|
|
-<br>_(settings: Dark style (left), Light style (right) / Font: Roboto-Medium, 16px / Rounding: 5)_
|
|
|
|
|
|
+<br>_(settings: Dark style (left), Light style (right) / Font: Roboto-Medium, 16px)_
|
|
|
|
|
|
Code:
|
|
Code:
|
|
```cpp
|
|
```cpp
|
|
@@ -91,6 +93,10 @@ Dear ImGui outputs vertex buffers and command lists that you can easily render i
|
|
|
|
|
|
_A common misunderstanding is to mistake immediate mode gui for immediate mode rendering, which usually implies hammering your driver/GPU with a bunch of inefficient draw calls and state changes as the gui functions are called. This is NOT what Dear ImGui does. Dear ImGui outputs vertex buffers and a small list of draw calls batches. It never touches your GPU directly. The draw call batches are decently optimal and you can render them later, in your app or even remotely._
|
|
_A common misunderstanding is to mistake immediate mode gui for immediate mode rendering, which usually implies hammering your driver/GPU with a bunch of inefficient draw calls and state changes as the gui functions are called. This is NOT what Dear ImGui does. Dear ImGui outputs vertex buffers and a small list of draw calls batches. It never touches your GPU directly. The draw call batches are decently optimal and you can render them later, in your app or even remotely._
|
|
|
|
|
|
|
|
+### Releases
|
|
|
|
+
|
|
|
|
+See [Releases](https://github.com/ocornut/imgui/releases) page.
|
|
|
|
+
|
|
### Demo
|
|
### Demo
|
|
|
|
|
|
Calling the `ImGui::ShowDemoWindow()` function will create a demo window showcasing variety of features and examples. The code is always available for reference in `imgui_demo.cpp`.
|
|
Calling the `ImGui::ShowDemoWindow()` function will create a demo window showcasing variety of features and examples. The code is always available for reference in `imgui_demo.cpp`.
|
|
@@ -179,12 +185,7 @@ How to help
|
|
|
|
|
|
**How can I help financing further development of Dear ImGui?**
|
|
**How can I help financing further development of Dear ImGui?**
|
|
|
|
|
|
-Your contributions are keeping this project alive. The library is available under a free and permissive license, but continued maintenance and development are a full-time endeavor and I would like to grow the team. In addition to maintenance and stability there are many desirable features yet to be added. If your company is using Dear ImGui, please consider reaching out for invoiced technical support and maintenance contracts. Thank you!
|
|
|
|
-
|
|
|
|
-Businesses: support continued development via invoiced technical support, maintenance, sponsoring contracts:
|
|
|
|
-<br> _E-mail: contact @ dearimgui.com_
|
|
|
|
-
|
|
|
|
-Individuals: support continued maintenance and development with [PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WGHNC6MBFLZ2S).
|
|
|
|
|
|
+See [Sponsors](https://github.com/ocornut/imgui/wiki/Sponsors) page.
|
|
|
|
|
|
Sponsors
|
|
Sponsors
|
|
--------
|
|
--------
|
|
@@ -214,7 +215,7 @@ Developed by [Omar Cornut](http://www.miracleworld.net) and every direct or indi
|
|
Recurring contributors (2020): Omar Cornut [@ocornut](https://github.com/ocornut), Rokas Kupstys [@rokups](https://github.com/rokups), Ben Carter [@ShironekoBen](https://github.com/ShironekoBen).
|
|
Recurring contributors (2020): Omar Cornut [@ocornut](https://github.com/ocornut), Rokas Kupstys [@rokups](https://github.com/rokups), Ben Carter [@ShironekoBen](https://github.com/ShironekoBen).
|
|
A large portion of work on automation systems, regression tests and other features are currently unpublished.
|
|
A large portion of work on automation systems, regression tests and other features are currently unpublished.
|
|
|
|
|
|
-"I first discovered the IMGUI paradigm at [Q-Games](http://www.q-games.com) where Atman Binstock had dropped his own simple implementation in the codebase, which I spent quite some time improving and thinking about. It turned out that Atman was exposed to the concept directly by working with Casey. When I moved to Media Molecule I rewrote a new library trying to overcome the flaws and limitations of the first one I've worked with. It became this library and since then I have spent an unreasonable amount of time iterating and improving it."
|
|
|
|
|
|
+Omar: "I first discovered the IMGUI paradigm at [Q-Games](http://www.q-games.com) where Atman Binstock had dropped his own simple implementation in the codebase, which I spent quite some time improving and thinking about. It turned out that Atman was exposed to the concept directly by working with Casey. When I moved to Media Molecule I rewrote a new library trying to overcome the flaws and limitations of the first one I've worked with. It became this library and since then I have spent an unreasonable amount of time iterating and improving it."
|
|
|
|
|
|
Embeds [ProggyClean.ttf](http://upperbounds.net) font by Tristan Grimmer (MIT license).
|
|
Embeds [ProggyClean.ttf](http://upperbounds.net) font by Tristan Grimmer (MIT license).
|
|
|
|
|