Skip to Content

hello-imgui v1.5.2

Created
Updated

Hello ImGui: unleash your creativity in app development and prototyping

# Usage

hello_imgui provides CMake targets and hello_imgui_add_app:

Usage with hello_imgui_add_app (recommended)

set(CMAKE_CXX_STANDARD 17)
find_package(hello-imgui CONFIG REQUIRED)
hello_imgui_add_app(test test.cpp)      # see example below 

Usage with target_link_libraries

set(CMAKE_CXX_STANDARD 17)
find_package(hello-imgui CONFIG REQUIRED)
# Note the subtle difference between the package name and the target name: hello-imgui vs hello_imgui!
target_link_libraries(main PRIVATE hello-imgui::hello_imgui)
# this mode will ignore all of hello_imgui cmake tooling, and will not deploy the assets 

Example test.cpp:

#include "hello_imgui/hello_imgui.h"
int main() { HelloImGui::Run([](){ ImGui::Text("Hello, world!"); ImGui::ShowDemoWindow(); }); } 

# License

# Supported Platforms

All platforms are supported

# Features

No default features set.

# experimental-dx11-binding

Use DirectX11 renderer backend (Windows only, experimental)

Dependencies:
  • imgui

    Features: dx11-binding

No transitive dependencies.

Host Dependencies:
2 transitive dependencies:

# experimental-dx12-binding

Use DirectX12 renderer backend (Windows only, experimental)

Dependencies:
  • imgui

    Features: dx12-binding

No transitive dependencies.

Host Dependencies:
2 transitive dependencies:

# experimental-vulkan-binding

Use Vulkan renderer backend (Windows/Linux/macOS, experimental)

Dependencies:
  • imgui

    Features: vulkan-binding

and 3 transitive dependencies:
Host Dependencies:
2 transitive dependencies:

# freetype-lunasvg

Improve font rendering and use colored fonts with freetype and lunasvg

Dependencies:
  • imgui

    Features: freetype , freetype-lunasvg

and 6 transitive dependencies:
Host Dependencies:
3 transitive dependencies:

# glfw-binding

Use GLFW platform backend (default)

Dependencies:
  • imgui

    Features: glfw-binding

and one transitive dependency:
Host Dependencies:
2 transitive dependencies:

# metal-binding

Use Metal renderer backend (macOS/iOS only)

Dependencies:
  • imgui

    Features: metal-binding

No transitive dependencies.

Host Dependencies:
2 transitive dependencies:

# opengl3-binding

Use OpenGL3/ES2 renderer backend (default)

Dependencies:
  • glad

    Features: gl-api-43 , loader

  • imgui

    Features: opengl3-binding

and 2 transitive dependencies:
Host Dependencies:
2 transitive dependencies:

# sdl2-binding

Use SDL2 platform backend

Dependencies:
  • imgui

    Features: sdl2-binding

and 3 transitive dependencies:
Host Dependencies:
2 transitive dependencies:

# Dependencies

No transitive dependencies.

# Host Dependencies

No transitive dependencies.

# Dependents

No dependents.

# Host Dependents

No dependents.

# Contributors

  • Pascal Thomet's avatar Pascal Thomet
  • Kai Pastor's avatar Kai Pastor
  • jim wang's avatar jim wang

# Changelog

  • 16601c6 [imgui] Update to 1.91.0 (#40185)
  • 377ccc2 [hello_imgui] Fix target variables (#37373)
  • a938bfa Add hello_imgui port (#36501)

# Source