ocornut
57d2f481d1
ImStrv: convert Combo()/ListBox() to use ImStrv in their getters.
...
Didn't convert Combo() "const char* items_separated_by_zeros" as this doesn't translate well when used via a ImStrv constructor, may actually aim to obsolete.
2025-02-07 18:28:44 +01:00
ocornut
b10448e3fd
ImStrv: Step 2 - change ImStrv typedef to struct, perform all other logic conversion.
...
Squashed commits (initially a commit from rokups + many rework by ocornut. keeping them separate commits made rebasing unnecessarily tricking so merged from 2024/02)
ImStrv: many fixes (see details), added imconfig class extension example, added natvis description.
ImStrv: rework toward ensuring End is always set to constant can be compile time calculated
ImStrv: using length(), fix ambiguous empty() function, fix altered behaviors, removed unused operators.
ImStrv: various tweaks and fixes. removed ImGuiTextRange from ImGuiTextFilter, fix test engine hooks, removed constructor only used twice.
2025-02-07 18:28:41 +01:00
Rokas Kupstys
3e77317bc4
ImStrv: Step 1 - change string type to ImStrv in API. (REBASED)
...
(last rebase amend 2024/12/11)
2025-02-07 18:27:53 +01:00
ocornut
4982602f6f
Windows, Style: Added style.WindowBorderHoverPadding setting to configure inner/outer padding applied to hit-testing of windows borders.
...
Amend 3c7177c6, 59f3c4fc2, ae7f833c6.
Could be latched inside windows to be multi-dpi friendly, but likely won't matter soon.
2025-02-07 18:16:04 +01:00
fdsa
4f1d3809c3
Fixed tabs and spaces ( #8377 )
2025-02-06 19:54:43 +01:00
ocornut
f820bf7cd4
Version 1.91.9 WIP
2025-02-03 12:33:40 +01:00
ocornut
dbb5eeaadf
Version 1.91.8
2025-01-31 16:08:17 +01:00
ocornut
6906ac979e
ColorEdit, ColorPicker: (Breaking) redesigned how alpha is displayed in the preview square. ( #8335 , #1578 , #346 )
...
Added ImGuiColorEditFlags_AlphaOpaque, ImGuiColorEditFlags_AlphaNoBg.
Removed ImGuiColorEditFlags_AlphaPreview.
2025-01-22 12:12:07 +01:00
ocornut
fdca6c08ad
Inputs: added IsMouseReleasedWithDelay() helper. ( #8337 , #8320 )
2025-01-22 11:28:47 +01:00
ocornut
bf13442c7c
Moved ImGuiColorEditFlags_AlphaPreview/ImGuiColorEditFlags_AlphaPreviewHalf flags. Demo: reorganized some of color edit/picker demo section.
2025-01-21 14:59:29 +01:00
ocornut
7ae7c90790
Tabs, Style: reworked selected overline rendering to better accommodate for rounded tabs. ( #8334 )
2025-01-21 13:55:44 +01:00
ocornut
c59a2267d0
Version 1.91.8 WIP
2025-01-15 11:58:47 +01:00
ocornut
5c1d2d1e4c
Version 1.91.7
2025-01-14 13:29:25 +01:00
ocornut
9f8481a842
(Breaking) TreeNode: renamed ImGuiTreeNodeFlags_SpanTextWidth to ImGuiTreeNodeFlags_SpanLabelWidth. ( #6937 )
2025-01-14 13:14:50 +01:00
ocornut
c5f60942bd
Demo: tweak demo for ImGuiTreeNodeFlags_LabelSpanAllColumns. ( #8318 , #3565 )
2025-01-13 19:19:30 +01:00
ocornut
290e402a02
TreeNode, Tables: added ImGuiTreeNodeFlags_LabelSpanAllColumns. ( #8318 , #3565 )
2025-01-13 18:55:09 +01:00
ocornut
6fb7d44255
Backends: SDL2/SDL3: Comments. ( #7672 , #7670 )
2025-01-13 17:40:38 +01:00
ocornut
32cea85331
Debug Tools: Item Picker: Always available in menu. Tweak Demo Debug Options. ( #2673 , #1651 )
2025-01-13 15:51:39 +01:00
ocornut
3115ae0815
Demo: Font selector combo sets default focus.
2025-01-07 14:53:00 +01:00
ocornut
2f1194a296
Demo: Added label edition to Property Editor demo + fix an ID issue. ( #8266 )
2025-01-06 14:35:57 +01:00
ocornut
a0f907933d
Happy new year!
2025-01-06 14:07:06 +01:00
ocornut
457fae24e7
Silence more zealous GCC warning. ( #8241 )
2024-12-18 18:13:55 +01:00
Raffaello Bertini
cd6c83cdcc
Fixes GCC warnings ( #8241 )
2024-12-18 17:58:19 +01:00
ocornut
4ad5496474
Drags: Added ImGuiSliderFlags_NoSpeedTweaks flag to disable keyboard modifiers altering the tweak speed. ( #8223 )
2024-12-12 18:39:28 +01:00
ocornut
f25665f360
Version 1.91.7 WIP
2024-12-11 15:37:16 +01:00
ocornut
993fa34749
Version 1.91.6
2024-12-11 15:05:36 +01:00
Stewart Mccready
2ca83f0bc7
Fixed missing symbols when using IMGUI_DISABLE_DEMO_WINDOWS (e.g. with ImPlot) ( #8221 )
2024-12-11 14:14:46 +01:00
ocornut
d78e823449
InputText: added ImGuiInputTextFlags_ElideLeft. ( #1442 , #1440 , #4391 , #7208 , #8216 )
2024-12-09 15:00:04 +01:00
Jack Holmes
6f6ac84228
Demo: Assets Browser: use correct axis for layout computation, to allow making items non-square. ( #8207 )
2024-12-04 18:59:51 +01:00
ocornut
eb0ad66d88
Demo: example tree used by Property Editor & Selection demos properly freed on app closure. ( #8158 )
2024-11-18 18:46:27 +01:00
ocornut
3381ab423b
Version 1.91.6 WIP + fixed typo in tooltip.
2024-11-12 11:56:21 +01:00
ocornut
f401021d5a
Version 1.91.5
2024-11-07 19:57:33 +01:00
ocornut
6f287dd16d
(Breaking) Removed pre-1.87 obsolete io.KeyMap[], io.KeysDown[], io.NavInputs[]. Remove IMGUI_DISABLE_OBSOLETE_KEYIO. ( #4921 )
2024-11-06 17:54:59 +01:00
ocornut
be2d006e2e
Align warning blocks. Removed -Wunused-function, -Wmissing-prototypes from imgui_internal.h
...
As supposedly they were for stb_textedit.h which is now moved to imgui_draw.cpp
2024-11-05 10:50:49 +01:00
ocornut
71c77c081a
Demo: added a "Windows" section.
2024-10-30 15:41:45 +01:00
ocornut
772ca9e9a9
Log/Capture: added experimental io.ConfigWindowsCopyContentsWithCtrlC config option.
2024-10-30 15:38:58 +01:00
ocornut
81cfe09657
Selectable, Style: selected Selectable() use _Header color instead of an arbitrary lerp between _Header and _HeaderHovered. ( #8106 , #1861 )
2024-10-28 15:45:46 +01:00
ocornut
41f02825fc
Version 1.91.5 WIP
2024-10-23 12:16:28 +02:00
ocornut
83b64b8be2
Version 1.91.4
2024-10-18 21:45:36 +02:00
ocornut
ab9ce2a927
Nav: added io.ConfigNavCursorVisibleAuto, io.ConfigNavCursorVisibleAlways. ( #1074 , #2048 , #7237 , #8059 , #3200 , #787 )
...
Note: the NavCursorHideFrames addition is to support 88a354585 even though ConfigNavCursorVisibleAlways is set.
2024-10-18 18:54:46 +02:00
ocornut
3982cb35dc
Nav, Docs: consistently use "keyboard/gamepad" instead of sometimes "gamepad/keyboard".
2024-10-18 18:49:44 +02:00
ocornut
7a56b41124
Nav: added io.ConfigNavEscapeClearFocusItem. ( #8059 , #2048 , #1074 , #3200 )
2024-10-18 18:49:43 +02:00
ocornut
b001038901
Nav: added io.ConfigNavEscapeClearFocusWindow to clear focused window on Escape. ( #3200 )
...
+ pressing escape to hide nav highlight doesn't clear location from when ctrl+tabbing back into same window later.
2024-10-14 16:57:34 +02:00
ocornut
ba5161740e
Amend d885fe4, fixes default value of ConfigNavCaptureKeyboard. ( #2517 , #2009 )
2024-10-14 16:52:25 +02:00
ocornut
d885fe4dd0
(Breaking) moved ImGuiConfigFlags_NavEnableSetMousePos -> io.ConfigNavMoveSetMousePos, ImGuiConfigFlags_NavNoCaptureKeyboard -> ConfigNavCaptureKeyboard. ( #2517 , #2009 )
2024-10-14 15:29:24 +02:00
ocornut
1dde20ff4a
Version 1.91.4 WIP
2024-10-07 17:39:28 +02:00
ocornut
cb16568fca
Version 1.91.3
2024-10-04 15:42:45 +02:00
ocornut
b3c87475a5
Drags, Slider: added ImGuiSliderFlags_ClampOnInput, ImGuiSliderFlags_ClampZeroRange. ( #7968 , #3361 , #76 )
2024-10-03 16:26:44 +02:00
ocornut
ba14c70b02
Comments. Fixed warnings.
2024-09-27 19:28:54 +02:00
ocornut
30c29d291f
Error Handling: enabled experimental recovery systems. ( #1651 , #5654 )
...
Setup a couple of features to configure them, including ways to display error tooltips instead of assserting.
2024-09-27 19:00:56 +02:00