ocornut
27b0d0f78c
ImStrv: allow constructing from two null pointers.
ago%!(EXTRA string=11 months)
ocornut
69586db0e9
ImStrv: Combo(), ListBox(): maybe seems better to not introducte the ImStrv [] versions?
...
As 1) user is unlikely to store that on their end. 2) nowadays with lambdas isn't an easy user-side conversion.
Then we limit explosion of an already messy API.
ago%!(EXTRA string=11 months)
ocornut
1e2bf7bda5
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.
ago%!(EXTRA string=11 months)
ocornut
2e0b7cff59
ImStrv: Fixed BeginCombo() with ImGuiComboFlags_CustomPreview + fixes for latest (amended).
ago%!(EXTRA string=11 months)
ocornut
e30d639ad0
ImStrv: add needed disambiguishing functions for const char* now being ambiguous. (5079)
...
amended for gcc/clang warnings
amended to facilitate merge with docking
ago%!(EXTRA string=11 months)
ocornut
1e1b8ca20d
ImStrv: backtracked for now on supporting ImStrv for format strings.
...
It's widely incomplete and slow, requires a printf function taking non-zero-terminated format string to work.
Might do it eventually but it's much less a problem than labels. Format string are more frequently inlined in code and tend to be small, so existing solutions at call site can work better for now.
ago%!(EXTRA string=11 months)
ocornut
03607ec1f5
ImStrv: Fixed various compile errors/warnings.
ago%!(EXTRA string=11 months)
璀境石
c518262382
ImStrv: enhanced VS debugger .natvis support. build fixes. (5333, 5906)
ago%!(EXTRA string=11 months)
ocornut
35697eaa55
ImStrv: standardized code doing format copy, optimized ImStrStr
ago%!(EXTRA string=11 months)
ocornut
d442f19a03
ImStrv: moved double char* function signatures under #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS blocks.
ago%!(EXTRA string=11 months)
ocornut
9032a55b28
ImStrv: changed ImStrv xxx=NULL args to an explicit xxx=ImStrv()
...
This is mostly for the benefit of cimgui parser, ideally we would do without.
ago%!(EXTRA string=11 months)
ocornut
082ecbbc23
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.
ago%!(EXTRA string=11 months)
Rokas Kupstys
3d39cbd035
ImStrv: Step 1 - change string type to ImStrv in API. (REBASED)
...
(last rebase amend 2023/04/19)
ago%!(EXTRA string=11 months)
ocornut
b902fa4c44
IO: do not disable io.ConfigWindowsResizeFromEdges when ImGuiBackendFlags_HasMouseCursors is not set by backend.
...
Amend 42bf149ac
ago%!(EXTRA string=11 months)
ocornut
8caf7afbad
Internals: made ImLowerBound() accessible in internals + take a span. + rearrange child/popup/tooltips section.
...
Because upcoming rework of ImGuiSelectionBasicStorage will want to do a lower bound on a span.
ago%!(EXTRA string=11 months)
ocornut
22d65c7949
Removed old nested structure: renaming ImGuiStorage::ImGuiStoragePair type to ImGuiStoragePair (simpler for many languages).
ago%!(EXTRA string=11 months)
ocornut
7538ca6f40
Examples: SDL+Vulkan: handle swap chain resize even without Vulkan returning VK_SUBOPTIMAL_KHR ( #7671 )
ago%!(EXTRA string=11 months)
ocornut
a47bfb1b5b
Examples: GLFW+Vulkan: handle swap chain resize even without Vulkan returning VK_SUBOPTIMAL_KHR ( #7671 )
ago%!(EXTRA string=11 months)
ocornut
d46a0aa069
Internals: renamed HoveredIdDisabled to HoveredIdIsDisabled for consistency.
ago%!(EXTRA string=11 months)
ocornut
7260bb51cf
Version 1.90.9 WIP
ago%!(EXTRA string=11 months)
ocornut
6f7b5d0ee2
Version 1.90.8
ago%!(EXTRA string=11 months)
ocornut
67d886fd63
Removed ImGuiButtonFlags_MouseButtonDefault_.
ago%!(EXTRA string=11 months)
ocornut
2a418f054d
InputText: reordered all flags. (ABI breaking)
ago%!(EXTRA string=11 months)
ocornut
f1eaf8d7c0
Internals: added SetNextItemRefVal(). ( #7305 )
ago%!(EXTRA string=11 months)
ocornut
47db0698d2
InputScalar, InputInt, InputFloat: added ImGuiInputTextFlags_ParseEmptyRefVal, ImGuiInputTextFlags_DisplayEmptyRefVal. ( #7305 )
ago%!(EXTRA string=11 months)
ocornut
3460014e05
Internals: avoid using bitfields in ImGuiNextItemData as it leads to extraneous packing. rename ImGuiDataTypeTempStorage to ImGuiDataTypeStorage. moved DataType section above Widgets.
ago%!(EXTRA string=11 months)
ocornut
0561d708ba
Modals, Popups: fixed an issue preventing to close a popup opened over a modal by clicking over void. ( #7654 )
ago%!(EXTRA string=11 months)
Kenneth Rapp
219c6adc58
Examples: SDL3+SDLRenderer3: Update SDL_SetRenderDrawColorFloat() call. ( #7658 )
ago%!(EXTRA string=11 months)
jungnitz
b95b2b4574
Fixed (harmless) incorrect order of arguments in IsKeyChordPressed ( #7657 )
ago%!(EXTRA string=11 months)
korenkonder
209edcc247
Fixed incorrect order of arguments in IsMouseClicked(). ( #7657 , #456 )
...
Amend 85513de24
ago%!(EXTRA string=11 months)
ocornut
a31aa683ff
Tables: fixed an issue where ideal size reported to parent container wouldn't correctly take account of inner scrollbar. ( #7651 )
ago%!(EXTRA string=11 months)
ocornut
f8de9fec8c
Backends: SDL3: Update for SDL_SYSTEM_CURSOR_xxx api renames. ( #7653 )
ago%!(EXTRA string=11 months)
ocornut
68a05e3f04
Tables: fixed a bug where after disabling the ScrollY flag for a table, previous scrollbar width would be accounted for. ( #5920 )
...
Amend 317b33d6
ago%!(EXTRA string=11 months)
ocornut
6cefd4fd88
Scrollbar: fixed miscalculation of vertical scrollbar visibility when required solely by the presence of an horizontal scrollbar. ( #1574 )
...
Initially fixed by 2d9d7a10c
, and broken back by a0994d74c2
(v1.71, wow).
ago%!(EXTRA string=11 months)
SleekZ
8ab8965713
Improved clarity in comment. ( #7642 )
ago%!(EXTRA string=11 months)
ocornut
9aec6d7217
Internals: Added ItemUnclipByLog for use by ItemAdd(), as we expected to add more.
ago%!(EXTRA string=11 months)
ocornut
0fce21e890
Internals: Disable 0xCC stack fill for ItemAdd()/ItemSize().
ago%!(EXTRA string=11 months)
ocornut
854e21d4b4
Disabled: move field to ImGuiWindowStackData. ( #7640 )
...
Amend f953ebf
ago%!(EXTRA string=11 months)
Cyao
538960bf17
Examples: Fixed SDL3 Makefile ( #7641 )
ago%!(EXTRA string=11 months)
ocornut
f953ebf9ca
Disabled: nested tooltips or other non-child window within a BeginDisabled() block disable the disabled state. ( #211 , #7640 )
ago%!(EXTRA string=11 months)
Rodrigo Rivas Costa
e47015aef4
Demo: remove incompatible ImGuiInputFlags for Shortcut(). ( #7637 )
ago%!(EXTRA string=11 months)
ocornut
97a1111b94
Drag and Drop: tweaked BeginDragDropSource() to remove indent. Added debug log.
ago%!(EXTRA string=11 months)
ocornut
661c388515
Debug Log, Test Engine: avoid duplicate carriage return when using ImGuiDebugLogFlags_OutputToTestEngine. ( #5855 )
ago%!(EXTRA string=11 months)
ocornut
868f444620
Debug: extracted debug log 0xXXXXXXX scanning into a helper function. ( #5855 )
ago%!(EXTRA string=11 months)
ocornut
109a8632d7
Combo: simplified Combo() API uses a list clipper.
...
Wasn't as trivial before supporting IncludeItemByIndex().
ago%!(EXTRA string=11 months)
ocornut
51823d117d
Misc: made ImGuiDir, ImGuiSortDirection, ImGuiMouseCursor stronger-typed enums + cater for possible warning in backends's switch()
...
Not making ImGuiMouseCursor one because of warnings for non-explicitly handled value (case default: is not enough).
ago%!(EXTRA string=11 months)
ocornut
5cbc34a10c
Scrollbar: clicking above or below the grab scrolls by one page, holding mouse button repeats scrolling. ( #7328 , #150 )
...
Remove absolute seeking entirely. Amend f02108085
.
ago%!(EXTRA string=11 months)
ocornut
479c5f62fc
Style: make DisplayWindowPadding visible in style editor.
ago%!(EXTRA string=11 months)
ocornut
ed9eb880b5
Windows: Fixed altering FramePadding mid-frame not correctly affecting logic responsible for honoring io.ConfigWindowsMoveFromTitleBarOnly. ( #7576 , #899 )
...
Latching TitleBarHeight, MenuBarHeight in window.
ago%!(EXTRA string=11 months)
ocornut
5a1a9a804a
Docs: fixed link.
ago%!(EXTRA string=11 months)