b0a6cd6305
Fixed a situation where CTRL+Tab or Modal can occasionally lead to the creation of ImDrawCmd with zero triangles, (#4857)
ocornut2022-01-03 21:16:51 +01:00
2402958aec
Commented out redirecting functions/enums names that were marked obsolete in 1.69, 1.70, 1.71, 1.72
ocornut2022-01-03 16:37:33 +01:00
612b787b0d
Menus: fixed top-level menu from not consistently using style.PopupRounding. (#4788)
ocornut2021-12-21 15:05:10 +01:00
4bad852a78
Backends: SDL_Renderer: Handle change to SDL_RenderGeometryRaw() function signature in SDL 2.0.19 (#4819)
Sean Ridenourandocornut2021-12-20 21:27:48 -07:00
0636f9adac
InputText: fixed Shift+Delete from not cutting into clipboard. (#4818, #1541)
ocornut2021-12-20 19:45:58 +01:00
389982eb5a
Backends: OpenGL3: Using buffer orphaning + glBufferSubData(), seems to fix leaks with multi-viewports with some Intel HD drivers.. (#4468, #4504, #2981, #3381)
ocornut2021-08-26 17:10:58 +02:00
48f263336b
Menus: fixed closing a menu inside a popup/modal. Fixed menu inside a popup/modal not inhibiting hovering of items in the popup/modal. (#3496, #4797)
ocornut2021-12-13 19:46:01 +01:00
a528398c77
Internals: support for varying _ChildWindow flag for menu windows. (#3496, #4797)
ocornut2021-12-14 16:17:31 +01:00
11638fdf7d
Menus: reuse more menu windows when stacked over popups.
ocornut2021-12-13 19:35:16 +01:00
0e8c199e87
CI: Use regex to fix vcxproj platform and toolset versions. (#3249) Remove Discord integration.
Rokas Kupstysandocornut2021-12-13 13:57:33 +02:00
f71ee5203e
Fix infinite loop in ImFontGlyphRangesBuilder::AddRanges if the user passes upper range = UINT16_MAX without IMGUI_USE_WCHAR32. (#4802)
SlavicPotatoandocornut2021-12-11 15:03:30 +01:00
eea836135a
InputText: fix buffer modifications in callbacks while using resize callback (#4784)
ocornut2021-12-05 19:03:40 +01:00
aa41f16589
Separator: fixed cover all columns while called inside a table. (#4787, #205)
ocornut2021-12-05 18:47:28 +01:00
23ef6c149e
Reworked modal/ctrl+tab dimming system to be entirely processed at end of the frame (backported 1dc3af3 from docking)
ocornut2021-12-03 19:21:39 +01:00
da3a36eefd
Backport from docking branch: minor stuff.
ocornut2021-12-03 19:11:58 +01:00
5c388c39f4
Backends: SDL_Renderer: Added support for large meshes (64k+ vertices) with 16-bit indices, enable 'ImGuiBackendFlags_RendererHasVtxOffset' in this backend. (#3926)
Rokas Kupstysandocornut2021-12-03 12:03:05 +02:00
5b1a70aa2d
Fixed RenderRectFilledWithHole() (used by docking) + added dummy EndFrameDrawDimmedBackgrounds() stub in master.
ocornut2021-12-01 15:24:55 +01:00
440824d431
Backends: Fixed early out on empty clip rect. In particular, DX12 backend would warn about it (others not so much). (#4775, #4464)
ocornut2021-11-30 21:48:29 +01:00
f087a5b856
Metrics: Added a node showing windows in submission order and showing the Begin() stack.
ocornut2021-11-30 16:02:47 +01:00
9d704d99d3
Internals: wrapped ImQsort() in an inline function + added a define guard.
ocornut2021-11-30 12:42:23 +01:00
66f0fb986c
Inputtext, Nav: fixed using SetKeyboardFocusHere() on InputTextMultiline(). (#4761)
ocornut2021-11-29 16:25:45 +01:00
5ccb66794b
Backends: WebGPU: Passing explicit buffer sizes as validation layers appears to not do what the in-flux specs says. (#4766ocornut2021-11-29 12:18:25 +01:00
65f4be1a10
InputText: Internals: moved "apply_new_text" application code to reduce noise in a future commit (will be for #4714) + removed unused fields.
ocornut2021-11-24 21:41:34 +01:00
5ac25e7c7a
InputText: fixed ReadOnly flag preventing callbacks from receiving the text buffer. (#4762)
ocornut2021-11-25 15:10:47 +01:00
4d9a3b19d5
Internals: Implement a continuable IM_DEBUG_BREAK on GCC for common archs. (#2673)
Rokas Kupstysandocornut2021-11-18 16:54:16 +02:00
764f9e606d
Fixed crash on right-click without modal, introduced by previous commit a3667f46, (#4729)
ocornut2021-11-17 12:45:33 +01:00
a3667f462a
Fixed tooltip in own viewport over modal from being incorrectly dimmed. (#4729)
ocornut2021-11-16 16:13:04 +01:00
3fde445b91
Misc: Added missing ImGuiMouseCursor_NotAllowed cursor for software rendering (when io.MouseDrawCursor is enabled). (#4713)
ocornut2021-11-15 16:05:54 +01:00
d80a9123b7
Internals: move chunks of IsItemHovered() so upcoming commit can be less noisy. This commit should be a no-op (check by comparing without white-space changes)
ocornut2021-11-10 20:17:11 +01:00
2c29e391dd
Drag and Drop: BeginDragDropSource() with ImGuiDragDropFlags_SourceAllowNullID doesn't lose tooltip when scrolling. (#143)
ocornut2021-11-10 19:17:01 +01:00
f8a806ad9f
Tooltips, Internal: (Breaking) swapped parameter order to accomodate for future tooltip api rework.
ocornut2021-11-10 17:53:58 +01:00
7cd3cfa58a
Demo: Add IMGUI_DEMO_MARKER (currently unused, but usage by altering GImGuiDemoMarkerCallback) (#3689)
Pascal Thometandocornut2021-02-21 22:12:48 +01:00
cad790d43b
Nav: fixed backwrap tabbing wrap on sibling child windows with _NavFlattened flag. (#4449)
ocornut2021-11-10 12:44:43 +01:00
e790fc0e79
Nav: prevent child from clipping items when using _NavFlattened and parent has a pending nav request. (#787)
ocornut2021-11-10 12:00:43 +01:00
a9ea1ae854
Nav: fixing assert using Tab in a window without any tabbable element (#4449)
ocornut2021-11-10 11:42:39 +01:00
eb02dcf87f
Nav: enable move/resize window with keyboard in Ctrl+Tabbing windowing menu even without _NavEnableKeyboard. (#4023, #787).
ocornut2021-11-08 18:42:07 +01:00
8ce23b3ccd
Nav: Ctrl+tabbing to cycle through windows is now enabled regardless of _NavEnableKeyboard. (#4023, #767)
ocornut2021-11-08 17:41:36 +01:00
6a7e2c74fb
Clipper: remove ForceDisplayRangeByIndices/ForceDisplayRangeByPositions functions until we find a need for them, since #3841 is now solved automatically.
ocornut2021-11-04 13:55:37 +01:00
b409df34db
Clipper: Fixed content height declaration slightly mismatching the one of when not using a clipper.
ocornut2021-11-03 17:00:40 +01:00
14466a6d19
Nav: Page/Home/End doesn't immediately restore highlight (before results comes) + pressing Esc to exit a child window re-enable the Nav highlight if it was disabled by mouse.
ocornut2021-11-02 16:59:48 +01:00
978598b174
Nav: pressing PageUp/PageDown/Home/End when in Menu layer automatically moves back to Main layer. + fixed resizing window from borders setting navigation to Menu layer.
ocornut2021-11-02 16:29:21 +01:00
d1eb7b5757
ScrollToItem: amend fully visible tests to take account of spacing used (fix nav in one axis scrolling back and forth between axises when space is tight by just < ItemSpacing*2) (#3692, #2812, #4242, #2900)
ocornut2021-11-02 16:16:58 +01:00
a67f7dce31
Nav: relative rectangle positions are now stored relative to CursorStartPos to be independent of scrolling. Will facilitate rework of clipper (#3841)
ocornut2021-10-27 14:07:04 +02:00
8d361c47fb
Nav: rework NavEnableSetMousePos application so scrolling is applied more consistently in NavCalcPreferredRefPos() + moved at end of NavUpdate() after the last SetScroll have been done.
ocornut2021-10-27 12:41:49 +02:00
8361ed1f54
Nav: wrap abs<>rel rectangle conversions before we attempt to switch the reference point from window->Pos to window->DC.CursorStartPos. This commit should have no effect.
ocornut2021-10-26 19:23:04 +02:00
19c72cd52a
Nav: fixed absolute mouse position (with NavEnableSetMousePos config flag) when using Home/End leads to scrolling.
ocornut2021-10-27 12:28:01 +02:00
c363b6df2b
Modals: fixed issue hovering popups inside a child inside a modal. Fixed IsWindowFocused()/IsWindowHovered() issues with childs inside popups. (#4676)(#4676, #4527)
ocornut2021-10-27 12:02:42 +02:00
0f2898ea88
Demo: Tree selection demo use !IsItemToggledOpen() (#1896) + update FAQ (#4366)
ocornut2021-10-25 18:31:16 +02:00
99552420a2
InputText: triple-click avoid scroll + include end of line character. (#2244)
ocornut2021-10-25 17:13:49 +02:00
126a6f894f
InputText: made double-click select word, triple-line select line. Word delimitation logic differs slightly from the one used by CTRL+arrows. (#2244)
ocornut2021-10-25 16:34:46 +02:00