Update changelog

This commit is contained in:
dbr 2023-01-12 13:26:56 +10:30
parent 9a2b03971b
commit 7869300424

View File

@ -5,10 +5,12 @@
`ui.button(im_str!("Example"))` just becomes `ui.button("Example")` and `ui.button(&im_str!("My age is {}", 100))` becomes `ui.button!(format!("My age is {}", 100))`
- Breaking: Updated to Dear ImGui 1.89.1.
- Breaking: Updated to Dear ImGui 1.89.2.
This introduces some breaking changes like the `imgui::Key` now contains a full set of keys (previously it was a small subset of to cover copy/paste/undo)
- freetype feature can now locate required libraries either via `pkg-config` or `vcpkg`
- Breaking (partially): `ImageButton::new` is now deprecated, replaced by `ui.image_button_config(...)`.
The old `new` method should be backwards-compatible in most common situations. Exception is if the `ImageButton` builder struct was explicitly specified, say in a method like `fn configure_my_button(button: &mut imgui::ImageButton)` (in which case either change `ImageButton` to `ImageButtonDeprecated`, or update to the new constructor)