Skip to content

Releases: imgui-rs/imgui-rs

v0.4.0

05 Jun 19:10
bcf7669
Compare
Choose a tag to compare

Added

  • WebAssembly FFI shells

Changed

  • Redesign tree / collapsing header API
  • Bump minimum Rust version to 1.40 (at least xml-rs crate requires it)
  • Upgrade to glium 0.27 / winit 0.22
  • Switch Glium renderer to use GL_CLAMP_TO_BORDER

Fixed

  • Bug in font name length checking

v0.3.1

16 Mar 10:27
ca330d5
Compare
Choose a tag to compare

Fixed

  • Narrowed supported winit version range in imgui-winit-support

v0.3.0

16 Mar 10:16
97c95c5
Compare
Choose a tag to compare

Added

  • Add ChildWindow::movable
  • ImString now implements fmt::Write

Changed

  • Upgrade to cimgui / imgui 1.75
  • Bump minimum Rust version to 1.38 (at least backtrace crate requires it)
  • Upgrade to glium 0.26 / winit 0.21
  • Switch imgui-winit-support to 0.20+ by default. Winit 0.19 support is still
    available via the winit-19 feature flag
  • Resources used by examples are no longer included in the published crate

Removed

  • Various things that were deprecated in imgui-rs 0.2.0

Fixed

  • Fix toggling behavior on using MenuItem::build_with_ref and
    Selectable::build_with_ref.
  • ImString nul terminator handling

v0.2.1

16 Mar 10:16
ce9f132
Compare
Choose a tag to compare

Fixed

  • Fix backspace handling on macOS
  • Fix ImageButton bool return value

v0.2.0

16 Mar 10:15
1f082d6
Compare
Choose a tag to compare

Added

  • Window scrolling API
  • Full support for the column API
  • Almost all small utility functions from upstream API
  • Support for winit 0.20 alpha via winit-20 feature

Changed

  • Redesigned window API
  • Redesigned progress bar API
  • Redesigned color editor/picker API
  • Redesigned child window API (previously known as child frame)
  • Redesigned image / image button API
  • Redesigned combo box API
  • Redesigned selectable API
  • Redesigned slider API. Generic scalar sliders support all main data types and replace
    previous individual sliders (int, int2, int3, int4, etc...)
  • Redesigned menu API
  • Updated layout API
  • Renderer errors implement std::error::Error
  • Glium renderer re-exports imgui and glium
  • Gfx renderer re-exports imgui and gfx
  • These functions now take/return PathBuf: log_filename, set_log_filename, ini_filename, set_logfilename
  • ID stack manipulation now uses stack tokens
  • Parameter stack pushes must almost always be paired by a manual call to stack pop
  • Container widget tokens must be ended manually by calling end.
    Closure-based function (e.g. build()) are unaffected and do this
    automatically
  • Bump minimum Rust version to 1.36 (some dependencies, including winit, require MaybeUninit)
  • Upgrade to cimgui / imgui 1.72b

Removed

  • Various things that were deprecated in imgui-rs 0.1.0

v0.1.0

12 Jul 14:34
f476c3d
Compare
Choose a tag to compare

Added

  • Support for font atlas sharing
  • Support for using multiple fonts
  • Support for suspended contexts (useful for having multiple independent
    operating system windows)
  • Support for DX11 in imgui-gfx-renderer
  • Support for navigation input system
  • Support for backend/renderer name strings
  • Support for saving/loading INI settings manually
  • Pluggable clipboard support

Changed

  • imgui-sys is now almost completely automatically generated. This is a big
    breaking change in imgui-sys API
  • ImGui/Context API is now safer
  • The library context (known as Context, previously known as ImGui) is no longer Send or Sync
  • Many getter/setter APIs have been replaced with direct access to struct fields
  • [f32; 2] and [f32; 4] are now the main vector types. ImVec/ImVec4 and
    corresponding tuples are no longer used in the main API
  • imgui-gfx-renderer is parameterized over the color format, so Rgba8 and
    Srgba8 are both supported
  • imgui-winit-support has been rewritten to provide a more robust abstraction
    that is easier to use correctly
  • Parameter stack (e.g. StyleVar) manipulation is now done using push functions
    and automatically or manually droppable stack tokens
  • Upgrade to glium 0.25
  • Upgrade to cimgui / imgui 1.71
  • Bump minimum Rust version to 1.33

v0.0.23

10 Apr 19:32
e2a6ff6
Compare
Choose a tag to compare

Added

  • Support for image buttons: Ui::image_button
  • Ui::set_keyboard_focus_here
  • Support for window position pivot

Changed

  • Upgrade to gfx 0.18

Removed

  • Various things that were deprecated in imgui-rs 0.0.21 and 0.0.22

v0.0.22

05 Mar 20:22
28ece17
Compare
Choose a tag to compare

Added

  • Ui::with_test_wrap_pos
  • Ui::get_content_region_max
  • Ui::get_window_content_region_min
  • Ui::get_window_content_region_max

Changed

  • Upgrade to cimgui 1.66.2+ / imgui 1.66b. This is a very big update, so there
    are a lot of breaking changes
  • Bump minimum Rust version to 1.31 (1.28 required by the glutin crate, and
    1.31 required by the stb_truetype crate)
  • Upgrade to glium 0.23
  • Replaced imgui-glutin-support with imgui-winit-support

v0.0.21

12 Oct 16:25
c85e73e
Compare
Choose a tag to compare

Added

  • ImGui::mouse_down
  • ImGui::key_super
  • Ui::get_window_pos
  • Ui::is_window_focused
  • Ui::is_root_window_focused
  • Ui::is_child_window_focused
  • Ui::popup_modal
  • imgui-glutin-support crate
  • Support for custom textures

Fixed

  • Possible crash if rendering was skipped during a frame

Changed

  • Bump minimum Rust version to 1.26 (required by the parking_lot_core crate)

v0.0.20

15 Aug 09:47
7824984
Compare
Choose a tag to compare

Fixed

  • Clip rect regression in the glium renderer

Removed

  • Various things that were deprecated in imgui-rs 0.0.19