Releases: pthom/hello_imgui
v1.92.3
What's Changed
Assets
- Separate ImageFromAsset and ImageFromAssetWithBg: use ImageFromAssetWithBg to display images with a background or border.
- Add
SetLoadAssetFileDataFunction(LoadAssetFileDataFunc func)
(Redirect asset loads to user-defined function). Thanks to Jorg Neves Bliesener - LoadFontTTF_WithFontAwesomeIcons: can load FontAwesome 6
cmake
- Add cmake option IMGUI_DISABLE_OBSOLETE_FUNCTIONS
- cmake: can use plutosvg without downloading (using HELLOIMGUI_DOWNLOAD_FREETYPE_IF_NEEDED=OFF)
Full Changelog: v1.92.0...v1.92.3
v1.92.0
Version numbers are now synced between "Dear ImGui" "Hello ImGui" and "Dear ImGui Bundle".
-
ImGui: Many Font related changes: this release brings many changes on the ImGui side (v1.92.0): do read the release notes for ImGui v1.92.0
TLDR: Fonts may be rendered at any size. Glyphs are loaded and rasterized dynamically. No need to specify ranges, prebake etc. -
Removed FontDpiResponsive: this is now handled by ImGui itself
-
Removed FontLoadingParams.glyphRanges, since ranges are not needed anymore by ImGui
Contributions
- Add utility function void ChangeWindowFullMonitorWorkArea() like void… by @Robxley in #130
- Fix checking for alphanumeric characters using proper conversion to a void undefined behavior (and assert message with MSBuild) by @Robxley in #136
- support imgui 1.91.9 breaking changes by @toge in #142
New Contributors
Full Changelog: v1.6.0...v1.92.0
v1.6.3
What's Changed
- Assets: can search with absolute path or from current working directory
- Add utility function void UseWindowFullMonitorWorkArea() (by @Robxley in #130)
- AppWindowParams: add EmscriptenKeyboardElement
- Runner: call TearDown on Setup for Python (to make it possible to recover from exceptions in notebook)
- MakeWindowSizeRelativeTo96Ppi_IfRequired: call EnsureWindowFitsThisMonitor
- update example_integration (Add CMake example / GNU Install)
- Add cmake option HELLOIMGUI_USE_EXTERNAL_JSON (to provide nlohmann json yourself)
- compatibility with CMake 4
- Fix checking for alphanumeric characters using proper conversion to a void undefined behavior (and assert message with MSBuild) by @Robxley in #136
- support imgui 1.91.9 breaking changes by @toge in #142
New Contributors
Full Changelog: v1.6.0...v1.6.3
v1.6.0
Changes
- Add `HelloImGui::ManualRender: a namespace that groups functions, allowing fine-grained control over the rendering process
- SVG Font rendering: plutosvg replaces lunasvg (option HELLOIMGUI_USE_FREETYPE_PLUTOSVG on by default): this enable to render more SVG fonts
- Improve font rendering on iOS
- Added AddDockableWindow / RemoveDockableWindow
- demo_docking: better demonstration / theme customization
- Work on pyodide integration (for ImGui Bundle)
Contributions and contributors
- Redundant boolean literal in conditional return statement and code cleanup by @TheZitroX in #117
- Changed Minor typo in CMakeLists.txt by @abinash18 in #122
New Contributors
- @TheZitroX made their first contribution in #117
Full Changelog: v1.5.2...v1.6.0
v1.5.2
- Updated imgui to v1.90.9
- Small fixes
Full Changelog: v1.5.0...v1.5.2
v1.5.1
Changes
- Improved rendering on Windows (via antialiasing)
- Add IniFolderType.AbsolutePath
- Polish themes
- Add callback PostRenderDockableWindows
- Added optional hello_imgui.ini file,
as a way to do advanced configuration for Dpi and OpenGL rendering options - Add PushTweakedTheme / PopTweakedTheme (different ImGui windows can use a different theme. See demo docking)
- Add DpiAwareParams: see doc
- Add HelloImGui::ImageAndSizeFromAsset see doc
- callbacks.LoadAdditionalFonts can be modified and reused during execution
- add null backend (see https://pthom.github.io/hello_imgui/book/doc_params.html#backend-selection)
- Add optional OpenGlOptions
- Add widgets InputTextResizable + WidgetWithResizeHandle: see doc
- Add HelloImGui::LoadDpiResponsiveFont: see doc
Add FontAwesome options with support for FontAwesome 4 and FontAwesome 6:
Breaking change: you need to include manually the icons: #include "hello_imgui/icons_font_awesome_4.h"
The default icon font is FontAwesome 4 (for backward compatibility), but v6 includes many more icons
In order to select Font Awesome 6, you need to set the following in your runnerParams:
runnerParams.runnerCallbacks.defaultIconFont = hello_imgui::IconFont::FontAwesome6;
and then include:
#include "hello_imgui/icons_font_awesome_6.h"
Contributions & contributors
Many thanks to all contributors!
What's Changed
- Move more targets to solution folders by @learn-more in #94
- Disable python line ending translation by @learn-more in #97
- Remove obsolete
BackendType
selection by @learn-more in #96 - Fixed a bug with the google closure compiler failing when trying to c… by @abinash18 in #102
- Simplify hello_imgui_add_app win32 implementation by @xuboying in #103
- format a place by @sAkuraOfficial in #104
New Contributors
- @learn-more made their first contribution in #94
- @abinash18 made their first contribution in #102
- @xuboying made their first contribution in #103
- @sAkuraOfficial made their first contribution in #104
Full Changelog: v1.4.2...v1.5.0
v1.5.0-rc1
High level overview
- Add DpiAwareParams: see doc
- Add HelloImGui::ImageAndSizeFromAsset see doc
- callbacks.LoadAdditionalFonts can be modified and reused during execution
- add null backend (see https://pthom.github.io/hello_imgui/book/doc_params.html#backend-selection)
- Add optional OpenGlOptions
- Add widgets InputTextResizable + WidgetWithResizeHandle: see doc
- Add HelloImGui::LoadDpiResponsiveFont: see doc
Add FontAwesome options with support for FontAwesome 4 and FontAwesome 6:
Breaking change: you need to include manually the icons: #include "hello_imgui/icons_font_awesome_4.h"
The default icon font is FontAwesome 4 (for backward compatibility), but v6 includes many more icons
In order to select Font Awesome 6, you need to set the following in your runnerParams:
runnerParams.runnerCallbacks.defaultIconFont = hello_imgui::IconFont::FontAwesome6;
and then include:
#include "hello_imgui/icons_font_awesome_6.h"
Contributors & Details
- Move more targets to solution folders by @learn-more in #94
- Disable python line ending translation by @learn-more in #97
- Remove obsolete
BackendType
selection by @learn-more in #96 - Fixed a bug with the google closure compiler failing when trying to c… by @abinash18 in #102
- Simplify hello_imgui_add_app win32 implementation by @xuboying in #103
- format a place by @sAkuraOfficial in #104
New Contributors
- @learn-more made their first contribution in #94
- @abinash18 made their first contribution in #102
- @xuboying made their first contribution in #103
- @sAkuraOfficial made their first contribution in #104
Full Changelog: v1.4.2...v1.5.0-rc1
v1.4.2
v1.4.1
Small fixes / vcpkg
Full Changelog: v1.4.0...v1.4.1
v1.4.0
v1.4.0
Vcpkg support for dependencies
You can install almost all required dependencies with vcpkg.
# Clone hello_imgui
git clone https://github.com/pthom/hello_imgui.git
cd hello_imgui
# Clone vcpkg -& bootstrap
git clone https://github.com/microsoft/vcpkg.git
./vcpkg/bootstrap-vcpkg.sh
# Install dependencies required by hello_imgui
./vcpkg/vcpkg install "glad[gl-api-43] stb freetype lunasvg glfw3 sdl2 imgui[opengl3-binding, docking-experimental, glfw-binding, sdl2-binding,freetype, freetype-lunasvg]"
# Build hello_imgui
mkdir build && cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake
cmake --build . -j 4
Notes:
Vcpkg packaging
hello_imgui is now ready to be integrated to vcpkg.
You can test this with the following commands:
# Clone hello_imgui (just to get the overlay in hello_imgui_cmake/overlay_vcpkg/hello-imgui)
git clone https://github.com/pthom/hello_imgui.git
cd hello_imgui
# Clone vcpkg -& bootstrap
git clone https://github.com/microsoft/vcpkg.git
./vcpkg/bootstrap-vcpkg.sh
# Install hello_imgui via vcpkg (using the overlay)
./vcpkg/vcpkg install "hello-imgui[opengl3-binding, glfw-binding, sdl2-binding]" --overlay-ports=hello_imgui_cmake/overlay_vcpkg/hello-imgui
Notes:
Other
- Update update imgui to v1.90.1-docking
- Add demo + doc / FontAwesome 6
Full Changelog: v1.3.0...v1.4.0