SHA256
1
0
forked from pool/imgui

Compare commits

27 Commits

Author SHA256 Message Date
Atri Bhattacharya
8ebd6cd44f Update to version 1.91.8. 2025-03-01 14:40:47 +05:30
ming li
c377a76d74 Update to version 1.91.0 2024-11-26 14:00:26 +02:00
8e86874043 Accepting request 1191047 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1191047
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/imgui?expand=0&rev=12
2024-08-02 15:27:03 +00:00
dcb4181f66 Accepting request 1161169 from devel:libraries:c_c++
- update to 1.90.4:
  * Nav: Fixed SetKeyboardFocusHere() or programmatic tabbing API
    from not working on windows with the
    ImGuiWindowFlags_NoNavInputs flag
    (regression in 1.90.2, which among other things broke
     imgui_memory_editor).
  * Menus, Popups: Fixed an issue where hovering a parent-menu
    upward would erroneously close the window.
  * Popups: Fixed resizable popup minimum size being too small.
    Standardized minimum size logic. (#7329).
  * Modals: Temporary changes of ImGuiCol_ModalWindowDimBg are
    properly handled by BeginPopupModal(). (#7340)
  * Tables: Angled headers: fixed support for multi-line labels.
  * Tables: Angled headers: various fixes to accurately handle
    CellPadding changes. (#6917)
  * Tables: Angled headers: properly registers horizontal
    component of angled headers for auto-resizing of columns. (#6917)
  * Tables: Angled headers: fixed TableAngledHeadersRow()
    incorrect background fill drawn too low, particularly visible
    with tables that have no scrolling. (#6917)
  * ProgressBar: Fixed a minor tesselation issue when rendering
    rounded progress bars, where in some situations the rounded
    section wouldn't follow regular tesselation rules.
  * Debug Tools: Item Picker: Promoted
    ImGui::DebugStartItemPicker() to public API. (#2673)
  * Debug Tools: Item Picker: Menu entry visible in Demo->Tools
    but greyed out unless io.ConfigDebugIsDebuggerPresent is set.
  * Misc: Added optional alpha multiplier parameter to
    GetColorU32(ImU32) variant.
  * Demo: Custom Rendering: better demonstrate PathArcTo(),

OBS-URL: https://build.opensuse.org/request/show/1161169
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/imgui?expand=0&rev=11
2024-03-25 20:11:00 +00:00
15e82e0f14 - update to 1.90.4:
* Nav: Fixed SetKeyboardFocusHere() or programmatic tabbing API
    from not working on windows with the
    ImGuiWindowFlags_NoNavInputs flag
    (regression in 1.90.2, which among other things broke
     imgui_memory_editor).
  * Menus, Popups: Fixed an issue where hovering a parent-menu
    upward would erroneously close the window.
  * Popups: Fixed resizable popup minimum size being too small.
    Standardized minimum size logic. (#7329).
  * Modals: Temporary changes of ImGuiCol_ModalWindowDimBg are
    properly handled by BeginPopupModal(). (#7340)
  * Tables: Angled headers: fixed support for multi-line labels.
  * Tables: Angled headers: various fixes to accurately handle
    CellPadding changes. (#6917)
  * Tables: Angled headers: properly registers horizontal
    component of angled headers for auto-resizing of columns. (#6917)
  * Tables: Angled headers: fixed TableAngledHeadersRow()
    incorrect background fill drawn too low, particularly visible
    with tables that have no scrolling. (#6917)
  * ProgressBar: Fixed a minor tesselation issue when rendering
    rounded progress bars, where in some situations the rounded
    section wouldn't follow regular tesselation rules.
  * Debug Tools: Item Picker: Promoted
    ImGui::DebugStartItemPicker() to public API. (#2673)
  * Debug Tools: Item Picker: Menu entry visible in Demo->Tools
    but greyed out unless io.ConfigDebugIsDebuggerPresent is set.
  * Misc: Added optional alpha multiplier parameter to
    GetColorU32(ImU32) variant.
  * Demo: Custom Rendering: better demonstrate PathArcTo(),

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/imgui?expand=0&rev=22
2024-03-24 19:06:05 +00:00
50fbc38b71 Accepting request 1147786 from devel:libraries:c_c++
Update to version 1.90.3. (forwarded request 1147657 from badshah400)

OBS-URL: https://build.opensuse.org/request/show/1147786
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/imgui?expand=0&rev=10
2024-02-20 20:15:04 +00:00
8b35a45310 Accepting request 1147657 from home:badshah400:branches:devel:libraries:c_c++
Update to version 1.90.3.

OBS-URL: https://build.opensuse.org/request/show/1147657
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/imgui?expand=0&rev=20
2024-02-20 10:38:15 +00:00
a77fcdd7f3 Accepting request 1146644 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1146644
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/imgui?expand=0&rev=9
2024-02-14 22:20:17 +00:00
0d26137c38 Accepting request 1146531 from home:badshah400:branches:devel:libraries:c_c++
Update to version 1.90.2.

OBS-URL: https://build.opensuse.org/request/show/1146531
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/imgui?expand=0&rev=18
2024-02-14 19:42:54 +00:00
4a163a388f Accepting request 1140582 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1140582
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/imgui?expand=0&rev=8
2024-01-22 19:38:30 +00:00
8fd468fb9d Accepting request 1140581 from home:dirkmueller:Factory
- update to 1.10.1:
  * imgui_freetype: commented out ImGuiFreeType::BuildFontAtlas()
    obsoleted in 1.81.
    Prefer using #define IMGUI_ENABLE_FREETYPE or see commented
    code for manual calls.
  * Removed CalcListClipping() marked obsolete in 1.86. (#3841)
    Prefer using ImGuiListClipper which can return non-contiguous
    ranges.
  * Internals, Columns: commented out legacy ImGuiColumnsFlags_XXX
    symbols redirecting to ImGuiOldColumnsFlags_XXX
  * Commented out obsolete ImGuiKey_KeyPadEnter redirection to
    ImGuiKey_KeypadEnter. (#2625, #7143)
  * Navigation (Keyboard/gamepad):
    - Nav, IO: SetNextFrameWantCaptureKeyboard(false) calls are
      not overridden back to true when navigation is enabled.
      SetNextFrameWantCaptureKeyboard() is always higher priority.
    - Nav: Activation can also be performed with Keypad Enter.
  * Drag and Drop:
    - Fixed drop target highlight on items temporarily pushing a
      widened clip rect (namely Selectables and Treenodes using
      SpanAllColumn flag) so the highlight properly covers
      all columns. (#7049, #4281, #3272)
  * InputText:
    - InputTextMultiline: Fixed Tab character input not repeating
    - InputTextMultiline: Tabbing through a multi-line text editor
      which allows Tab character inputs (using the
      ImGuiInputTextFlags_AllowTabInput flag) doesn't
      automatically activate it, in order to allow passing
      through multiple widgets easily.
  * Drags, Sliders, Inputs:

OBS-URL: https://build.opensuse.org/request/show/1140581
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/imgui?expand=0&rev=16
2024-01-22 11:45:47 +00:00
ad8aa2bdc0 Accepting request 1128802 from devel:libraries:c_c++
- update to 1.90:
  * BeginChild(): Upgraded 'bool border = false' parameter to
    'ImGuiChildFlags flags = 0'.
  * Added ImGuiChildFlags_Border value. As with our prior
    "bool-to-flags" API updates, the ImGuiChildFlags_Border
    value is guaranteed to be == true forever to ensure a
    smoother transition, meaning all existing calls will still
    work.
  * BeginChildFrame()/EndChildFrame(): removed functions in
    favor of using BeginChild() with the ImGuiChildFlags_FrameStyle
    flag.
  * IO: Removed io.MetricsActiveAllocations introduced in
    1.63, was displayed in Metrics and unlikely to
    be accessed by end-user. Value still visible in the UI and
    easily to recompute from a delta.
  * Commented out runtime support for hardcoded ~0 or
    0x01..0x0F rounding flags values for
    AddRect()/AddRectFilled()/PathRect()/AddImageRounded().

  * too many changes to list here, see https://github.com/ocornut/imgui/releases/tag/v1.89.1
ship any actual functionality. ImGui suppose to be used as sources

OBS-URL: https://build.opensuse.org/request/show/1128802
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/imgui?expand=0&rev=7
2023-11-26 18:37:41 +00:00
c9e081ca26 - update to 1.90:
* BeginChild(): Upgraded 'bool border = false' parameter to
    'ImGuiChildFlags flags = 0'.
  * Added ImGuiChildFlags_Border value. As with our prior
    "bool-to-flags" API updates, the ImGuiChildFlags_Border
    value is guaranteed to be == true forever to ensure a
    smoother transition, meaning all existing calls will still
    work.
  * BeginChildFrame()/EndChildFrame(): removed functions in
    favor of using BeginChild() with the ImGuiChildFlags_FrameStyle
    flag.
  * IO: Removed io.MetricsActiveAllocations introduced in
    1.63, was displayed in Metrics and unlikely to
    be accessed by end-user. Value still visible in the UI and
    easily to recompute from a delta.
  * Commented out runtime support for hardcoded ~0 or
    0x01..0x0F rounding flags values for
    AddRect()/AddRectFilled()/PathRect()/AddImageRounded().
  * too many changes to list here, see https://github.com/ocornut/imgui/releases/tag/v1.89.1
ship any actual functionality. ImGui suppose to be used as sources

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/imgui?expand=0&rev=14
2023-11-25 20:27:23 +00:00
d6d79b9774 Accepting request 1095646 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1095646
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/imgui?expand=0&rev=6
2023-06-27 21:18:07 +00:00
09bdce88e9 Accepting request 1095644 from home:dirkmueller:Factory
- update to 1.89.6:
  * Decorated log and release notes:
    https://github.com/ocornut/imgui/releases/tag/v1.89.6
  * Breaking changes:
  * Clipper: Commented out obsolete redirection constructor which
    was marked obsolete in 1.79:
    'ImGuiListClipper(int items_count, float items_height)'
    --> Use 'ImGuiListClipper() + clipper.Begin()'.
  * Backends: SDL_Renderer: Renamed
    'imgui_impl_sdlrenderer.h/cpp' to
    'imgui_impl_sdlrenderer2.h/cpp',
    in order to accomodate for upcoming SDL3 and change in its
    SDL_Renderer API.
  * Backends: GLUT: Removed call to ImGui::NewFrame() from
    ImGui_ImplGLUT_NewFrame().
    It needs to be called from the main app loop, like with
    every other backends.

OBS-URL: https://build.opensuse.org/request/show/1095644
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/imgui?expand=0&rev=12
2023-06-27 15:08:13 +00:00
199b8f87bf Accepting request 1090196 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1090196
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/imgui?expand=0&rev=5
2023-06-01 15:19:52 +00:00
76636553fb Accepting request 1089473 from home:dirkmueller:Factory
- update to 1.89.5:
  * InputText: Reworked prev/next-word behavior to more closely
    match Visual Studio text editor. Include '.' as a delimiter
    and alter varying subtle behavior with how
    blanks and separators are treated when skipping words.
  * InputText: Fixed a tricky edge case, ensuring value is always
    written back on the frame where IsItemDeactivated() returns
    true, in order to allow usage without user retaining
    underlying data. While we don't really want to
    encourage user not retaining underlying data, in the absence
    of a "late commit" behavior/flag we understand it may
    be desirable to take advantage of this trick.
  * Drag, Sliders: Fixed parsing of text input when '+' or '#'
    format flags are used in the format string.
  * Nav: Made Ctrl+Tab/Ctrl+Shift+Tab windowing register
    ownership to held modifier so it doesn't interfere with other
    code when remapping those actions.
  * Nav: Made PageUp/PageDown/Home/End navigation also scroll
    parent windows when necessary to make the target location
    fully visible (same as e.g. arrow keys).
  * ColorEdit: Fixed shading of S/V triangle in Hue Wheel mode.
  * TabBar: Tab-bars with ImGuiTabBarFlags_FittingPolicyScroll
    can be scrolled with horizontal mouse-wheel (or Shift + WheelY).
  * Rendering: Using adaptive tessellation for RadioButton,
    ColorEdit preview circles, Windows Close and Collapse Buttons.
  * ButtonBehavior: Fixed an edge case where changing widget
    type/behavior while active and using same id could lead to
    an assert.
  * Misc: Fixed ImVec2 operator[] violating aliasing rules
    causing issue with Intel C++ compiler. (#6272) [@BayesBug]

OBS-URL: https://build.opensuse.org/request/show/1089473
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/imgui?expand=0&rev=10
2023-06-01 07:58:55 +00:00
2117aecb2d Accepting request 1060062 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1060062
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/imgui?expand=0&rev=4
2023-01-21 18:11:32 +00:00
45fb45aa3f Accepting request 1056351 from home:dirkmueller:Factory
- update to v1.89.2:
  * Tables, Nav, Scrolling: fixed scrolling functions and focus tracking
    with frozen rows and frozen columns. Windows now have a better
    understanding of outer/inner decoration sizes, which should later lead
    us toward more flexible uses of menu/status bars. (#5143, #3692)
  * Tables, Nav: frozen columns are not part of menu layer and can be
    crossed over. (#5143, #3692)
  * Tables, Columns: fixed cases where empty columns may lead to empty
    ImDrawCmd. (#4857, #5937)
  * Tables: fixed matching width of synchronized tables (multiple tables
    with same id) when only some instances have a vertical scrollbar and not
    all. (#5920)
  * Fixed cases where CTRL+Tab or Modal can occasionally lead to the
    creation of ImDrawCmd with zero triangles, which would makes the render
    loop of some backends assert (e.g. Metal with debugging, Allegro).
    (#4857, #5937)
  * Inputs, IO: reworked ImGuiMod_Shortcut to redirect to Ctrl/Super at
    runtime instead of compile-time, being consistent with our support for
    io.ConfigMacOSXBehaviors and making it easier for bindings generators to
    process that value. (#5923, #456)
  * Inputs, Scrolling: better selection of scrolling window when hovering
    nested windows and when backend/OS is emitting dual-axis wheeling inputs
    (typically touch pads on macOS). We now select a primary axis based on
    recent events, and select a target window based on it. We expect this
    behavior to be further improved/tweaked. (#3795, #4559) [@ocornut,
    @folays]
  * InputText: fixed cursor navigation when pressing Up Arrow on the last
    character of a multi-line buffer which doesn't end with a carriage
    return. (#6000)
  * Text: fixed layouting of wrapped-text block when the last source line is

OBS-URL: https://build.opensuse.org/request/show/1056351
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/imgui?expand=0&rev=8
2023-01-20 22:55:40 +00:00
f1dbdc8d0e Accepting request 1042881 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1042881
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/imgui?expand=0&rev=3
2022-12-14 13:11:45 +00:00
afbc305ab7 Accepting request 1040801 from home:dirkmueller:Factory
- update to 1.89.1:
  * too many changes to list here, see https://github.com/ocornut/imgui/releases/tag/v1.89.1

OBS-URL: https://build.opensuse.org/request/show/1040801
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/imgui?expand=0&rev=6
2022-12-14 10:09:51 +00:00
1f66472ac4 Accepting request 914685 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/914685
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/imgui?expand=0&rev=2
2021-08-28 20:29:04 +00:00
Matthias Mailänder
55ed52ca05 Accepting request 913786 from games
- Update to 1.84.2
  Bugfix release:
  * Disabled: Fixed nested BeginDisabled()/EndDisabled() calls.
  * Backends: OpenGL3: OpenGL: Fixed ES 3.0 shader ("#version 300
    es") to use normal precision floats. Avoid wobbly rendering at
    HD resolutions.
- Update to 1.84.1
  https://github.com/ocornut/imgui/releases/tag/v1.84

OBS-URL: https://build.opensuse.org/request/show/913786
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/imgui?expand=0&rev=5
2021-08-27 19:49:09 +00:00
d247f8b36c Accepting request 888331 from devel:libraries:c_c++
Initial commit of 1.81 version to the Factory. 
Dependency of several other projects

OBS-URL: https://build.opensuse.org/request/show/888331
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/imgui?expand=0&rev=1
2021-05-04 20:00:50 +00:00
Matthias Mailänder
3a601b1625 Accepting request 886979 from home:asmorodskyi:branches:devel:libraries:c_c++
drop logic building imgui.so because this library is dummy and not
ship any actual functionality. ImGui suppose to be used as sources

OBS-URL: https://build.opensuse.org/request/show/886979
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/imgui?expand=0&rev=3
2021-04-23 17:22:19 +00:00
617b02d4a7 Accepting request 874025 from home:Mailaender:branches:editors
new upstream release

OBS-URL: https://build.opensuse.org/request/show/874025
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/imgui?expand=0&rev=2
2021-02-23 10:28:41 +00:00
dd5a61223b Accepting request 853280 from home:Mailaender:branches:devel:libraries:c_c++
fixed the build; candidate for unbundling in upstream projects

OBS-URL: https://build.opensuse.org/request/show/853280
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/imgui?expand=0&rev=1
2020-12-05 17:09:45 +00:00
5 changed files with 194 additions and 7 deletions

View File

@@ -1,3 +1,193 @@
-------------------------------------------------------------------
Sat Mar 1 08:24:08 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 1.91.8:
* Breaking changes:
- ColorEdit, ColorPicker: redesigned how alpha is displayed in
the preview square. (gh#ocornut/imgui#8335,
gh#ocornut/imgui#1578, gh#ocornut/imgui#346).
- Backends: SDLGPU3: Renamed
ImGui_ImplSDLGPU3_InitInfo::GpuDevice to Device for
consistency. (gh#ocornut/imgui#8163, gh#ocornut/imgui#7998,
gh#ocornut/imgui#7988).
* imgui_freetype: fixed issue where glyph advances would
incorrectly be snapped to pixels.
* Inputs: added IsMouseReleasedWithDelay() helper.
(gh#ocornut/imgui#8337, gh#ocornut/imgui#8320).
* Windows: legacy SetWindowFontScale() is properly inherited by
nested child windows.
* Windows, Style: Fixed small rendering issues with menu bar,
resize grip and scrollbar when using thick border sizes.
(gh#ocornut/imgui#8267, gh#ocornut/imgui#7887).
* Windows: Fixed IsItemXXXX() functions not working on
append-version of EndChild() (gh#ocornut/imgui#8350).
* Error Handling: Recovery from missing EndMenuBar() call
(gh#ocornut/imgui#1651).
* Tables, Menus: Fixed using BeginTable() in menu layer (any
menu bar) (gh#ocornut/imgui#8355).
* Tables, Menus: Fixed tables or child windows submitted inside
BeginMainMenuBar() being unable to save their settings, as the
main menu bar uses ImGuiWindowFlags_NoSavedSettings
(gh#ocornut/imgui#8356).
* ColorEdit, ColorPicker: Fixed alpha preview broken in 1.91.7
(gh#ocornut/imgui#8336, gh#ocornut/imgui#8241).
* Tabs, Style: reworked selected overline rendering to better
accommodate for rounded tabs. Reduced default thickness
(style.TabBarOverlineSize), increased default rounding
(style.TabRounding) (gh#ocornut/imgui#8334).
* Debug Tools: Tweaked font preview.
* ImDrawList: texture baked storage for thick line reduced from
~64x64 to ~32x32 (gh#ocornut/imgui#3245).
* Fonts: IndexLookup[] table hold 16-bit values even in
ImWchar32 mode, as it accounts for number of glyphs in same
font. This is favorable to CalcTextSize() calls touching less
memory.
* Fonts: OversampleH/OversampleV defaults to 0 for automatic
selection.
* ImFontAtlas: made calling ClearFonts() call ClearInputData(),
as calling one without the other is never correct
(gh#ocornut/imgui#8174, gh#ocornut/imgui#6556,
gh#ocornut/imgui#6336, gh#ocornut/imgui#4723).
* Examples: Vulkan: better handle VK_SUBOPTIMAL_KHR being
returned by vkAcquireNextImageKHR() or vkQueuePresentKHR()
(gh#ocornut/imgui#7825, gh#ocornut/imgui#7831).
* Backends: SDL2: removed assert preventing using
ImGui_ImplSDL2_SetGamepadMode() with
ImGui_ImplSDL2_GamepadMode_Manual and an empty array
(gh#ocornut/imgui#8329).
* Backends: SDL3: removed assert preventing using
ImGui_ImplSDL3_SetGamepadMode() with
ImGui_ImplSDL3_GamepadMode_Manual and an empty array
(gh#ocornut/imgui#8329).
* Backends: SDLGPU3: Exposed
ImGui_ImplSDLGPU3_CreateDeviceObjects()/_DestroyDeviceObjects().
* Removed return value from
ImGui_ImplSDLGPU3_CreateFontsTexture() (gh#ocornut/imgui#8163,
gh#ocornut/imgui#7998, gh#ocornut/imgui#7988).
* Backends: SDL_Renderer2/3: Use endian-dependent RGBA32 texture
format, to match SDL_Color (gh#ocornut/imgui#8327).
-------------------------------------------------------------------
Tue Nov 26 05:31:00 UTC 2024 - ming li <mli@suse.com>
- update to 1.91.0:
Breaking Changes:
* IO, IME: renamed platform IME hook and added explicit context for
consistency and future-proofness.
old: io.SetPlatformImeDataFn(ImGuiViewport* viewport,
ImGuiPlatformImeData* data);
new: io.PlatformSetImeDataFn(ImGuiContext* ctx, ImGuiViewport*
viewport, ImGuiPlatformImeData* data);
It is expected that for a vast majority of users this is
automatically set by core library and/or platform backend so
it won't have any effect.
* Obsoleted GetContentRegionMax(), GetWindowContentRegionMin() and
GetWindowContentRegionMax(). (information thread: #7838)
You should never need those functions! You can do everything in
less a confusing manner by only using GetCursorScreenPos() and
GetContentRegionAvail(). Also always consider that if you are
using GetWindowPos() and GetCursorPos() you may also be making
things unnecessarily complicated.
I repeat: You can do everything with GetCursorScreenPos()
and GetContentRegionAvail()!
GetWindowContentRegionMax().x - GetCursorPos().x -->
GetContentRegionAvail().x
GetWindowContentRegionMax().x + GetWindowPos().x -->
GetCursorScreenPos().x + GetContentRegionAvail().x
// when called from left edge of window
GetContentRegionMax() --> GetContentRegionAvail() + GetCursorScreenPos()
- GetWindowPos() // right edge in local coordinates
GetWindowContentRegionMax().x - GetWindowContentRegionMin().x -->
GetContentRegionAvail() // when called from left edge of window
* Item flag changes:
Obsoleted PushButtonRepeat()/PopButtonRepeat() in favor of using
new PushItemFlag()/PopItemFlag() with ImGuiItemFlags_ButtonRepeat.
Kept inline redirecting functions (will obsolete).
Obsoleted PushTabStop()/PopTabStop() in favor of using new
PushItemFlag()/PopItemFlag() with ImGuiItemFlags_NoTabStop.
Kept inline redirecting functions (will obsolete).
Renamed ImGuiSelectableFlags_DontClosePopups to
ImGuiSelectableFlags_NoAutoClosePopups for consistency. Kept inline
redirecting functions (will obsolete). + Internals:
changed/inverted ImGuiItemFlags_SelectableDontClosePopup (default==false) to
ImGuiItemFlags_AutoClosePopups (default==true), same logic,
only inverted behavior. (#1379, #1468, #2200, #4936, #5216, #7302, #7573)
* Commented out obsolete ImGuiModFlags (renamed to ImGuiKeyChord in 1.89).
(#4921, #456)
* Commented out obsolete ImGuiModFlags_XXX values
(renamed to ImGuiMod_XXX in 1.89). (#4921, #456)
ImGuiModFlags_Ctrl -> ImGuiMod_Ctrl, ImGuiModFlags_Shift ->
ImGuiMod_Shift etc.
* Backends: GLFW+Emscripten: Renamed
ImGui_ImplGlfw_InstallEmscriptenCanvasResizeCallback()
to ImGui_ImplGlfw_InstallEmscriptenCallbacks(), with an
additional GLFWWindow* parameter. (#7647) [@ypujante]
Other Changes
* Added TextLink(), TextLinkOpenURL() hyperlink widgets. (#7660)
* IO: added io.PlatformOpenInShellFn() handler to open a
link/folder/file in OS shell. (#7660)
Added IMGUI_DISABLE_DEFAULT_SHELL_FUNCTIONS to disable
default Windows/Linux/Mac implementation.
* IO: added io.ConfigNavSwapGamepadButtons to swap Activate/Cancel
(A<>B) buttons, to match the typical "Nintendo/Japanese consoles"
button layout when using Gamepad navigation. (#787, #5723)
* Added PushItemFlag()/PopItemFlags(), ImGuiItemFlags to modify shared
item flags:
Added ImGuiItemFlags_NoTabStop to disable tabbing through items.
Added ImGuiItemFlags_NoNav to disable any navigation and focus
of items. (#787)
Added ImGuiItemFlags_NoNavDefaultFocus to disable item being
default focus. (#787)
Added ImGuiItemFlags_ButtonRepeat to enable repeat on any
button-like behavior.
Added ImGuiItemFlags_AutoClosePopups to disable menu
items/selection auto closing parent popups.
Disabling this was previously possible for Selectable() via a direct
flag but not for MenuItem(). (#1379, #1468, #2200, #4936, #5216, #7302, #7573)
This was mostly all previously in imgui_internal.h.
* Multi-Select: added multi-select API and demos. (#1861, #6518)
This system implements standard multi-selection idioms (CTRL+mouse
click, CTRL+keyboard moves, SHIFT+mouse click, SHIFT+keyboard moves,
etc.) with support for clipper (not submitting non-visible items),
box-selection with scrolling, and many other details.
In the spirit of Dear ImGui design, your code owns both items and actual
selection data. This is designed to allow all kinds of selection storage
you may use in your application (e.g. set/map/hash, intrusive selection,
interval trees, up to you).
The supported widgets are Selectable(), Checkbox(). TreeNode() is also
technically supported but... using this correctly is more complicated.
You need some sort of linear/random access to your tree, which is suited
to advanced trees setups already implementing filters and clipper.
We will work toward simplifying our existing demo for trees.
A helper ImGuiSelectionBasicStorage is provided to facilitate getting
started in a typical app (likely to suit a majority of users).
Documentation:
Wiki page https://github.com/ocornut/imgui/wiki/Multi-Select for
API overview.
Demo code + headers are well commented.
Added BeginMultiSelect(), EndMultiSelect(), SetNextItemSelectionUserData().
Added IsItemToggledSelection() for use if you need latest selection
update during current iteration.
Added ImGuiMultiSelectIO and ImGuiSelectionRequest structures:
BeginMultiSelect() and EndMultiSelect() return a ImGuiMultiSelectIO
structure, which is mostly an array of ImGuiSelectionRequest actions
(clear, select all, set range, etc.)
Other fields are helpful when using a clipper, or wanting to handle
deletion nicely.
Added ImGuiSelectionBasicStorage helper to store and maintain a
selection (optional):
This is similar to if you used e.g. a std::set to store a selection,
with all the right glue to honor ImGuiMultiSelectIO requests.
Most applications can use that.
Added ImGuiSelectionExternalStorage helper to maintain an externally
stored selection (optional):
Helpful to easily bind multi-selection to e.g. an array of checkboxes.
Added ImGuiMultiSelectFlags options:
ImGuiMultiSelectFlags_SingleSelect: Disable selecting more than one item.
This is available to allow single-selection code to share same code/logic
if desired. It essential...
-------------------------------------------------------------------
Fri Jul 26 06:22:12 UTC 2024 - Frantisek Simorda <frantisek.simorda@suse.com>

View File

@@ -17,7 +17,7 @@
Name: imgui
Version: 1.90.9
Version: 1.91.8
Release: 0
Summary: Immediate Mode Graphical User interface for C++ with minimal dependencies
License: MIT

BIN
v1.90.4.tar.gz LFS

Binary file not shown.

BIN
v1.90.9.tar.gz LFS

Binary file not shown.

BIN
v1.91.8.tar.gz LFS Normal file

Binary file not shown.