Commit Graph

  • 2706c9d66e Platform IME: reworked internals to simplify adding new features. ocornut 2022-01-05 13:15:49 +01:00
  • 3a90dc3893 Platform IME: changed io.ImeSetInputScreenPosFn() to io.SetPlatformImeDataFn() API. ocornut 2022-01-05 13:03:48 +01:00
  • 04bc0b0bb8 Fix IdxBuffer related comments. (#4845, #4863) ocornut 2022-01-05 12:15:58 +01:00
  • 28eabcb099 Internals: refactor: mouse input functions into their own section. ocornut 2022-01-04 14:53:30 +01:00
  • 206b9ead8f IO: removed unused MouseDragMaxDistanceAbs(). Using a shortcut variable in UpdateMouseInputs(). ocornut 2022-01-04 12:49:34 +01:00
  • c5a3cae83a Reordered some IO fields. Misc comments. Removed beta marker from tables comments. ocornut 2022-01-04 12:44:10 +01:00
  • efa50f72a7 Backends: Metal: Ignore ImDrawCmd where ElemCount == 0. (#4857) ocornut 2022-01-03 22:14:19 +01:00
  • b0a6cd6305 Fixed a situation where CTRL+Tab or Modal can occasionally lead to the creation of ImDrawCmd with zero triangles, (#4857) ocornut 2022-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 ocornut 2022-01-03 16:37:33 +01:00
  • 92d7869fc7 Happy new year! ocornut 2022-01-03 16:27:51 +01:00
  • 83d22f4e48 Tables, ImDrawListSplitter: Fixed erroneously stripping trailing ImDrawList::AddCallback().(#4843, #4844) Jonathan Hoffstadtandocornut 2021-12-30 14:37:31 -06:00
  • 41e39ea6e1 Backends: Metal: Add Metal C++ bindings support. (#4824, #4746) luigifcruzandocornut 2021-12-23 17:04:35 -03:00
  • dbeea7220f Backends: Silence overzealous warnings. (#4834) Add comments about SetDragDropPayload() return value. (#4835) ocornut 2021-12-29 12:41:34 +01:00
  • 89a28209e8 Version 1.87 WIP + Backends: OpenGL3: Fixed a buffer overflow in imgui_impl_opengl3_loader.h init, added in 1.86 (#4468, #4830) ocornut 2021-12-26 20:02:02 +01:00
  • 980deb4c9e Add missing include guard to avoid declaring ImFontAtlasGetBuilderForStbTruetype() function. ocornut 2021-12-26 19:51:10 +01:00
  • 512c54bbc0 Version 1.86 ocornut 2021-12-22 15:12:57 +01:00
  • 612b787b0d Menus: fixed top-level menu from not consistently using style.PopupRounding. (#4788) ocornut 2021-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 Ridenourandocornut 2021-12-20 21:27:48 -07:00
  • 0636f9adac InputText: fixed Shift+Delete from not cutting into clipboard. (#4818, #1541) ocornut 2021-12-20 19:45:58 +01:00
  • d9bc1e44af Backends: Marmalade: Removed obsolete Marmalade backend (imgui_impl_marmalade.cpp) + example. (#368, #375) ocornut 2021-12-20 19:29:41 +01:00
  • 0cdc4a9565 Backends: Win32: Store left/right variants of Ctrl/Shift/Alt mods in KeysDown[] array. (#2625) thedmdandocornut 2018-05-02 20:42:37 +02:00
  • 4a43dcb940 Internals: reduced side-effects of setting window->HiddenFramesForRenderOnly > 0 ocornut 2021-12-15 16:03:20 +01:00
  • 1c4066cd9e Internals: UpdateWindowInFocusOrderList: amend a528398 to fix docking. (#3496, #4797) ocornut 2021-12-15 12:16:48 +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) ocornut 2021-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) ocornut 2021-12-13 19:46:01 +01:00
  • a528398c77 Internals: support for varying _ChildWindow flag for menu windows. (#3496, #4797) ocornut 2021-12-14 16:17:31 +01:00
  • 11638fdf7d Menus: reuse more menu windows when stacked over popups. ocornut 2021-12-13 19:35:16 +01:00
  • 0e8c199e87 CI: Use regex to fix vcxproj platform and toolset versions. (#3249) Remove Discord integration. Rokas Kupstysandocornut 2021-12-13 13:57:33 +02:00
  • d7350668d1 Fix OSX warnings + Examples/Apple+GL2 calls super reshape. (#4759, #1873) ocornut 2021-12-13 12:02:12 +01:00
  • 1b6b8602c1 Backends: OSX: Fix keyboard support. Handle scroll cancel. Don't set mouse cursor shape unconditionally. (#4759, #4253, #1873) Stuart Carnieandocornut 2021-12-11 09:20:17 +11:00
  • f71ee5203e Fix infinite loop in ImFontGlyphRangesBuilder::AddRanges if the user passes upper range = UINT16_MAX without IMGUI_USE_WCHAR32. (#4802) SlavicPotatoandocornut 2021-12-11 15:03:30 +01:00
  • b720f1f03c Backends: OSX: Add Game Controller support. (#4759) Stuart Carnieandocornut 2021-12-11 08:10:21 +11:00
  • 8a9fe26866 Menus: fixed closing a menu by clicking on its menu-bar item when inside a popup. (#3496, #4797) xndcnandocornut 2021-12-10 18:47:54 +01:00
  • c801799218 Added an assertion for the common user mistake of using "" as an identifier at the root level of a window. (#1414, #2562, #2807, #4008, #4158, #4375, #4548, #4657, #4796) ocornut 2021-12-09 15:35:02 +01:00
  • a8e1dde357 Fix static analyser, update readme. ocornut 2021-12-09 15:17:58 +01:00
  • e03383d088 Fixes for tooltip over modals leading to incorrect modal dimming. (#4729) ocornut 2021-12-09 11:50:23 +01:00
  • bdd2a94315 InputTextMultiline: fixed vertical tracking with large values of FramePadding.y. (#3781, #4794) ocornut 2021-12-09 11:30:42 +01:00
  • 072caa4a90 InputText: fixed incorrect padding when FrameBorder > 0. (#4794, #3781) ocornut 2021-12-09 11:25:58 +01:00
  • 270d4d0855 Nav, Docking: Fix crash on dimming docked window and DockSpaceOverViewport() with PassthruCentralNode. ocornut 2021-12-08 17:02:24 +01:00
  • a19815dc6b Backends: Allegro5: Fixed mishandling of the ImDrawCmd::IdxOffset field. (#4790) ocornut 2021-12-08 16:34:57 +01:00
  • c80e8b964c Backends: OpenGL2, Marmalade: Fixed mishandling of the ImDrawCmd::IdxOffset field. (#4790) ocornut 2021-12-08 16:26:52 +01:00
  • b38af0f522 Popups: Fix popups being closed by newly appearing windows. (#4317) Rokas Kupstysandocornut 2021-07-27 16:47:18 +03:00
  • 657073a650 Nav, Docking: fix dimming crash with accessing zero-cmd ImDrawList (amend 1dc3af3, 23ef6c1) ocornut 2021-12-06 18:49:57 +01:00
  • 20e040c858 Clipper, Tables: remove table specific code path should now be ok (added assert). ocornut 2021-12-06 17:17:15 +01:00
  • 926addbfe2 Clipper: fixed invalid state when number of frozen table row is smaller than ItemCount. ocornut 2021-12-06 17:03:47 +01:00
  • 027a7ba3eb Clipper: use line size instead of cursor comparaison when range are large. (#3609, #3962 + https://github.com/ocornut/imgui_club/issues/20) ocornut 2021-12-06 16:20:53 +01:00
  • a76bc52da5 Window, Clipper: store initial precision loss and apply in clipper. (#3609, #3962 + https://github.com/ocornut/imgui_club/issues/20) ocornut 2021-12-06 12:48:21 +01:00
  • 6e141a9cae Internals: made ScrollbarEx() use ImS64 to facilitate use with larger ranges (not fully tested) + clipper tweaks (#3609, #3962 + https://github.com/ocornut/imgui_club/issues/20) ocornut 2021-12-06 12:00:16 +01:00
  • eea836135a InputText: fix buffer modifications in callbacks while using resize callback (#4784) ocornut 2021-12-05 19:03:40 +01:00
  • aa41f16589 Separator: fixed cover all columns while called inside a table. (#4787, #205) ocornut 2021-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) ocornut 2021-12-03 19:21:39 +01:00
  • da3a36eefd Backport from docking branch: minor stuff. ocornut 2021-12-03 19:11:58 +01:00
  • 78c6435dbb Inputs: (breaking wip) removed IsMouseTripleClicked() added recently (during 1.86 WIP), replaced with GetMouseClickedCount(). (#3229) ocornut 2021-12-03 12:38: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 Kupstysandocornut 2021-12-03 12:03:05 +02:00
  • 5b1a70aa2d Fixed RenderRectFilledWithHole() (used by docking) + added dummy EndFrameDrawDimmedBackgrounds() stub in master. ocornut 2021-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) ocornut 2021-11-30 21:48:29 +01:00
  • f087a5b856 Metrics: Added a node showing windows in submission order and showing the Begin() stack. ocornut 2021-11-30 16:02:47 +01:00
  • c5db276521 InputText, Nav: fixed tabbing through InputTextMultiline(). (#4761, #3092) ocornut 2021-11-30 15:17:18 +01:00
  • 9d704d99d3 Internals: wrapped ImQsort() in an inline function + added a define guard. ocornut 2021-11-30 12:42:23 +01:00
  • 66f0fb986c Inputtext, Nav: fixed using SetKeyboardFocusHere() on InputTextMultiline(). (#4761) ocornut 2021-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. (#4766 ocornut 2021-11-29 12:18:25 +01:00
  • cb5c73f64a Fix: IM_DEBUG_BREAK macro on ARM GCC (#4767) averneandGitHub 2021-11-29 00:05:57 +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. ocornut 2021-11-24 21:41:34 +01:00
  • 5ac25e7c7a InputText: fixed ReadOnly flag preventing callbacks from receiving the text buffer. (#4762) ocornut 2021-11-25 15:10:47 +01:00
  • 4d9a3b19d5 Internals: Implement a continuable IM_DEBUG_BREAK on GCC for common archs. (#2673) Rokas Kupstysandocornut 2021-11-18 16:54:16 +02:00
  • 764f9e606d Fixed crash on right-click without modal, introduced by previous commit a3667f46, (#4729) ocornut 2021-11-17 12:45:33 +01:00
  • a3667f462a Fixed tooltip in own viewport over modal from being incorrectly dimmed. (#4729) ocornut 2021-11-16 16:13:04 +01:00
  • 3fde445b91 Misc: Added missing ImGuiMouseCursor_NotAllowed cursor for software rendering (when io.MouseDrawCursor is enabled). (#4713) ocornut 2021-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) ocornut 2021-11-10 20:17:11 +01:00
  • 2c29e391dd Drag and Drop: BeginDragDropSource() with ImGuiDragDropFlags_SourceAllowNullID doesn't lose tooltip when scrolling. (#143) ocornut 2021-11-10 19:17:01 +01:00
  • f8a806ad9f Tooltips, Internal: (Breaking) swapped parameter order to accomodate for future tooltip api rework. ocornut 2021-11-10 17:53:58 +01:00
  • 7cd3cfa58a Demo: Add IMGUI_DEMO_MARKER (currently unused, but usage by altering GImGuiDemoMarkerCallback) (#3689) Pascal Thometandocornut 2021-02-21 22:12:48 +01:00
  • cad790d43b Nav: fixed backwrap tabbing wrap on sibling child windows with _NavFlattened flag. (#4449) ocornut 2021-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) ocornut 2021-11-10 12:00:43 +01:00
  • a9ea1ae854 Nav: fixing assert using Tab in a window without any tabbable element (#4449) ocornut 2021-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). ocornut 2021-11-08 18:42:07 +01:00
  • 8ce23b3ccd Nav: Ctrl+tabbing to cycle through windows is now enabled regardless of _NavEnableKeyboard. (#4023, #767) ocornut 2021-11-08 17:41:36 +01:00
  • bce1ba400f Clipper: add ForceDisplayRangeByIndices (#3841, #3578) ocornut 2021-11-08 17:16:52 +01:00
  • ebac375791 Docs: added info about Freetype, editing sponsors. ocornut 2021-11-08 16:20:57 +01:00
  • 1a7526dcd4 Nav, Tabbing: refactor tabbing system to support clipped items, scrolling, using nav queries. (#4449) ocornut 2021-10-08 15:24:09 +02:00
  • f01a6d3e8f InputText, Nav: fixed repeated calls to SetKeyboardFocusHere() preventing to use InputText(). (#4682) ocornut 2021-11-04 19:49:39 +01:00
  • 32779c5b64 Clipper: hotfix (amend 93cccd2, was broken) (#3841, #1725) ocornut 2021-11-04 15:14:35 +01:00
  • 64daeddf6f Removed CalcListClipping() function. (#3841) ocornut 2021-11-04 14:14:16 +01:00
  • 6a7e2c74fb Clipper: remove ForceDisplayRangeByIndices/ForceDisplayRangeByPositions functions until we find a need for them, since #3841 is now solved automatically. ocornut 2021-11-04 13:55:37 +01:00
  • 93cccd27f6 Clipper: bunch of rework. (#3841, #1725) ocornut 2021-10-11 17:19:20 +02:00
  • cd1b5f7883 Clipper: enhanced ImGuiListClipper (#3841) GamingMinds-DanielCandocornut 2021-10-11 15:57:29 +02:00
  • b409df34db Clipper: Fixed content height declaration slightly mismatching the one of when not using a clipper. ocornut 2021-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. ocornut 2021-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. ocornut 2021-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) ocornut 2021-11-02 16:16:58 +01:00
  • eb654f1bad Typo omarandGitHub 2021-11-02 12:57:05 +01:00
  • b1a68d899c Fix misplaced backtick in FAQ.md (#4669) Pokechu22andGitHub 2021-11-02 04:51:22 -07:00
  • a67f7dce31 Nav: relative rectangle positions are now stored relative to CursorStartPos to be independent of scrolling. Will facilitate rework of clipper (#3841) ocornut 2021-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. ocornut 2021-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. ocornut 2021-10-26 19:23:04 +02:00
  • 19c72cd52a Nav: fixed absolute mouse position (with NavEnableSetMousePos config flag) when using Home/End leads to scrolling. ocornut 2021-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) ocornut 2021-10-27 12:02:42 +02:00
  • 0f2898ea88 Demo: Tree selection demo use !IsItemToggledOpen() (#1896) + update FAQ (#4366) ocornut 2021-10-25 18:31:16 +02:00
  • 99552420a2 InputText: triple-click avoid scroll + include end of line character. (#2244) ocornut 2021-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) ocornut 2021-10-25 16:34:46 +02:00