Releases: nurpax/slimgui
v0.8.0
- Upgrade to ImPlot v1.0 (backwards INCOMPATIBLE change)
- See upstream ImPlot release notes for an upgrade guide or check out this porting slimgui examples to ImPlot v1.0 change.
- Add
imgui.get_item_flags()API - Many documentation improvements
Full Changelog: v0.7.0...v0.8.0
v0.7.0
What's Changed
- Upgrade imgui from v1.92.4 to v1.92.7!
- Upgrade implot from commit 3da8bd34299965d3b0ab124df743fe3e076fa222 to implot v0.17.
- Major documentation facelift! See commit 4b4f5ce0ef8d5ad0ea74652e7c57327ba9c8d599 for details, or even better, visits the slimgui docs site.
- Add py.typed marker for PEP 561 support by @benjamin-kirkbride in #28
Full Changelog: v0.6.0...v0.7.0
v0.6.0
- Upgrade imgui from 1.92.1 to 1.92.4. Notable highlights f.ex. word-wrapping text inputs, but please refer to imgui 1.92.4 release notes to view the full list.
- Add suppot for
DrawList.add_callback - Improve examples and documentation
Full Changelog: v0.5.2...v0.6.0
v0.5.2
v0.5.1
- Add DrawList.channels_split/merge/set_current bindings.
- Upgrade to nanobind v2.9.2
Full Changelog: v0.5.0...v0.5.1
v0.5.0
- Add bindings for imgui.set_clipboard_text/get_clipboard_text()
- Enable default clipboard implementation on macOS -- clipboard functionality should work out of the box at least on Windows and macOS now.
- add set_next_window_size_constraints()
- Add the following DrawList methods: path_clear, path_line_to, path_line_to_merge_duplicate, path_fill_convex, path_fill_concave, path_stroke, path_arc_to, path_arc_to_fast, path_elliptical_arc_to, path_bezier_cubic_curve_to, path_bezier_quadratic_curve_to, path_rect, push_clip_rect, push_clip_rect_full_screen, pop_clip_rect, push_texture, pop_texture, get_clip_rect_min, get_clip_rect_max, add_draw_cmd
- Add the following IO methods: add_focus_event, add_input_characters_utf8, add_key_analog_event, add_mouse_source_event, clear_events_queue, clear_input_keys, clear_input_mouse, set_app_accepting_events
- Enable focus events in the glfw backend integration
- Add FontConfig.pixel_snap_v
- Add macOS prebuilt wheels to CI and automatically upload to pypi.org
Full Changelog: v0.4.2...v0.5.0
v0.4.2
- Fix a problem with
slimgui.implot.plot_image()that only accepted aTextureRefas the tex_ref argument. There's no way to create a TextureRef from user code, so this function should instead acceptTextureRef | intto allow user from giving it a texture ID.- Also adds a
plot_image()example into the implot demo window.
- Also adds a
- Expose all ImGuiIO config settings
- IO.config_nav_swap_gamepad_buttons
- IO.config_nav_move_set_mouse_pos
- IO.config_nav_capture_keyboard
- IO.config_nav_escape_clear_focus_item
- IO.config_nav_escape_clear_focus_window
- IO.config_nav_cursor_visible_auto
- IO.config_nav_cursor_visible_always
- IO.config_windows_copy_contents_with_ctrl_c
- IO.config_error_recovery
- IO.config_error_recovery_enable_assert
- IO.config_error_recovery_enable_debug_log
- IO.config_error_recovery_enable_tooltip
- IO.config_debug_is_debugger_present
- IO.config_debug_highlight_id_conflicts
- IO.config_debug_highlight_id_conflicts_show_item_picker
- IO.config_debug_begin_return_value_once
- IO.config_debug_begin_return_value_loop
- IO.config_debug_ignore_focus_loss
- IO.config_debug_ini_settings
Full Changelog: v0.4.1...v0.4.2
v0.4.1
v0.4.0 - upgrade to imgui 1.92.1
A fairly big imgui update with some breaking API changes.
API changes are described in detail in the ImGui 1.92.0 release notes -- this is the best explanation on how to upgrade.
The biggest deal is that fonts may now be rendered at any size. Glyphs are loaded and rasterized dynamically. No need to specify ranges, prebake etc.
MacOS users will appreciate much better retina scaling out of the box.
Slimgui's glfw/OpenGL backend was added support for ImGuiBackendFlags_RendererHasTextures.
Some Python bindings related API changes. All of these are pretty minor:
IO.display_fb_scalerenamed todisplay_framebuffer_scalefor consistency- Added
PlatformIOaccess and enough bindings to support textures in the backends. - Functions such as
imgui.image()that used to take an integer texture ID, now accept either an integer texture ID (like before) or something called aTextureRef.TextureRefsare for mainly for font textures created by backends. - Removed:
imgui.get_current_context_internal()(unused),imgui.set_window_font_scale()(obsoleted)
Full Changelog: v0.3.2...v0.4.0
v0.3.2
Full Changelog: v0.3.1...v0.3.2