Commit Graph

  • 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
  • dc8c3618e8 Merge branch 'master' into docking ocornut 2021-11-10 15:26:03 +01:00
  • 7cd3cfa58a Demo: Add IMGUI_DEMO_MARKER (currently unused, but usage by altering GImGuiDemoMarkerCallback) (#3689) Pascal Thomet 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
  • b17dffffb3 Merge branch 'master' into docking ocornut 2021-11-04 20:52:54 +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
  • c1d2793580 Merge branch 'master' into docking ocornut 2021-11-04 15:26:01 +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-DanielC 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
  • 0b4edf4e94 Merge branch 'master' into docking ocornut 2021-11-03 11:51:37 +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 omar 2021-11-02 12:57:05 +01:00
  • b1a68d899c Fix misplaced backtick in FAQ.md (#4669) Pokechu22 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
  • 9c78fc928a Inputs: Mouse: Amend c8e3a01 for tracking multiple clicks, renaming. (#3229) ocornut 2021-06-22 15:27:30 +02:00
  • 2318c764cf Inputs: Mouse: Add support for tracking multiple clicks more than just double (#3229) Chris Savoie 2021-06-22 15:00:46 +02:00
  • 39b99072fb ImVector: fix Clang warning (implicit conversion changes signedness: 'const ptrdiff_t' (aka 'const long long') to 'unsigned long long') Rokas Kupstys 2021-10-22 14:52:13 +02:00
  • ad3f54ff1a Examples: Emscripten comments (#4650, #4662), standardize readme liam 2021-10-19 14:13:44 +02:00
  • bac748fa95 Backends: Made it possible to shutdown default Platform Backends before the Renderer backends. (#4656) ocornut 2021-10-15 17:16:26 +02:00
  • 19c3773cc0 Backends: Vulkan: Call vkCmdSetScissor() with a full-viewport at end of render. (#4644) ocornut 2021-10-15 12:11:11 +02:00
  • bbd5119a26 Backends: Vulkan: comments about user using VK_DYNAMIC_STATE_VIEWPORT / VK_DYNAMIC_STATE_SCISSOR and not calling vkCmdSetViewport() / vkCmdSetScissor(). (#4644) ocornut 2021-10-15 12:01:35 +02:00
  • 05877c14df Fixed nested BeginDisabled()/EndDisabled() bug in Docking branch due to bad merge. (#4655, #4452, #4453, #4462) ocornut 2021-10-15 11:51:01 +02:00
  • 9b59455184 Merge branch 'master' into docking ocornut 2021-10-15 11:49:30 +02:00
  • e3bd9434b1 1.86 WIP + internals: tweaks table temp data code. ocornut 2021-10-14 16:58:14 +02:00
  • 13cdf2ff0e CI: Add MinGW DLL builds, Rokas Kupstys 2021-10-12 18:49:24 +03:00
  • 29653273c1 Docking: reinstate io.ConfigDockingWithShift option. (#4643) ocornut 2021-10-13 16:45:43 +02:00
  • be03b8ff93 Misc: Fix build with MinGW when using IMGUI_API. Rokas Kupstys 2021-10-12 17:23:39 +03:00
  • 1b215ecb01 Merge branch 'master' into docking ocornut 2021-10-11 19:25:50 +02:00
  • 55d35d8387 Version 1.85 v1.85 ocornut 2021-10-11 19:03:37 +02:00
  • 75c54e6384 Nav: Fixed vertical scoring offset when wrapping on Y in a decorated window. ocornut 2021-10-11 14:40:42 +02:00
  • ba5c105c01 Menus: Fixed an assertion happening in some situations when closing nested menus (broken in 1.83). (#4640) ocornut 2021-10-11 11:37:31 +02:00
  • 44f801186f SetItemDefaultFocus() use ScrollToRectEx(), don't tab when Alt is held either, TabItemEx() uses ItemAdd's extra_flags, misc comments. ocornut 2021-10-07 18:25:29 +02:00
  • ec6ca06898 InputText: Fixed selection rectangle appearing one frame late when selecting all. ocornut 2021-10-08 13:00:47 +02:00
  • dde31030e9 Backends: SDL_Renderer: use SDL_RenderIsClipEnabled() to pass NULL to SDL_RenderSetClipRect (#3926, #4582, #4633) ocornut 2021-10-07 15:07:43 +02:00
  • 30a6873a44 Backends: WebGPU: Fix missing initialization of local variable (#4634) Basil Fierz 2021-10-07 14:58:09 +02:00
  • 31d033c9d8 Nav: refactor SetKeyboardFocusHere() into using Nav facility. Fix it for clipped items. (#343, #4079, #2352, #432) ocornut 2021-10-06 18:33:01 +02:00
  • fbe78b1a3a Stack Tool: Docs (#4631) + also prevent Metrics window from displaying twice. ocornut 2021-10-06 18:16:43 +02:00
  • 1780579403 Merge branch 'master' into docking ocornut 2021-10-06 17:57:11 +02:00
  • 25332fa5ac Backends: Emscripten: Update the webgpu API to be compatible with chrome 4633 (#4512) Basil Fierz 2021-09-05 23:40:01 +02:00
  • 2de96c4bd5 Stack Tool: Added Stack Tool (ShowStackToolWindow() function and available from Demo and Metrics window). (#4631) ocornut 2021-09-30 12:15:34 +02:00
  • e443ea139d Backends: SDL_Renderer: Backup and restore modified ClipRect/Viewport. (#3926, #4582) ocornut 2021-10-06 13:41:29 +02:00
  • 30db674147 Fix printf format warnings on mingw clang (#4626, #4183, #3592) Guus Waals 2021-09-17 18:14:13 +02:00
  • 164a86d3b0 Moved !IsActiveIdUsingKey(ImGuiKey_Tab) check to UpdateTabFocus(). Added asserts to IsItemHovered() and IsWindowHovered(). ocornut 2021-10-05 22:06:12 +02:00
  • 677fe33990 Backends: DX12: use dxgiformat.h to fix using forward declared DXGI_FORMAT (#4594) ocornut 2021-09-30 11:53:20 +02:00
  • 8f495e5543 Internal: added ScrollToItem() upcoming replacement to ScrollToBringRectIntoView() + ImGuiScrollFlags (WIP) (#3692, #3208, #2812, #4242, #2900) ocornut 2021-09-16 20:24:47 +02:00
  • 835a5344b0 Merge branch 'master' into docking ocornut 2021-09-24 15:49:28 +02:00
  • 65ad63de84 Added ImGuiFocusedFlags_NoPopupHierarchy and ImGuiHoveredFlags_NoPopupHierarchy (followup #4527) ocornut 2021-09-24 13:58:00 +02:00
  • fc4988ffb0 Added ImGuiFocusedFlags_NoPopupHierarchy and ImGuiHoveredFlags_NoPopupHierarchy (followup #4527) ocornut 2021-09-24 14:51:14 +02:00
  • 24a77824f2 Added ClosePopupsExceptModals() helper, unused for now (aimed at user being able to close popups on app focus loss, not necessarily a suitable default) ocornut 2021-09-22 15:50:40 +02:00
  • bbb95a5e06 IO: modify io.AddFocusEvent() to tolerate in/out for multi-viewports. Amend 2f40be6. (merged from docking) (#3532) ocornut 2021-08-19 17:35:27 +02:00
  • ca097c2c68 Docking: Fixed IsItemHovered() and functions depending on it (e.g. BeginPopupContextItem()) when called after Begin() on a docked window (#3851) ocornut 2021-09-22 14:05:21 +02:00
  • fba756176d Backends: SDL_Renderer: Amend 1d2d246, various tweaks, fixes, sync to latest. (#3926) ocornut 2021-09-21 19:29:39 +02:00
  • 62b17f928e Backends: SDL_Renderer: Added renderer backend for SDL 2.0.17+ (#3926) Sylvain 2021-09-21 17:12:30 +02:00
  • d7260104b1 Added comments about sliders clamping and ImGuiSliderFlags_AlwaysClamp (#4573) Martin Ejdestig 2021-09-21 19:18:21 +02:00
  • 15fe7ba31f ColorPicker: Fix not being able to pick exactly (1.0f, 1.0f, 1.0f) color by dragging toward the edges of the SV square. (#3517) Rokas Kupstys 2021-04-12 12:42:04 +03:00
  • 30546bc0e7 ColorEdit: Fix multiple issues. (#4014) Rokas Kupstys 2021-04-08 14:37:03 +03:00
  • 15132217a3 Nav: Fixed an issue with losing focus on docked windows when pressing Alt while keyboard navigation is disabled. (#4547, #4439) ocornut 2021-09-21 13:16:00 +02:00
  • fa0a314f59 Nav: Fixed an issue with losing focus on docked windows when pressing Alt while keyboard navigation is disabled. (#4547, #4439) ocornut 2021-09-21 13:16:00 +02:00
  • bc3d267c51 Backends: OSX: Use mach_absolute_time as CFAbsoluteTimeGetCurrent can jump backwards. (#4557, #4563) James McCartney 2021-09-20 00:20:04 -07:00
  • c6ca327fb2 Backends: Added more implicit asserts to detect invalid/redundant calls to Shutdown functions. (#4562) ocornut 2021-09-20 18:43:05 +02:00
  • ddddabdccf InputText: amend validation test to allow pushing Activate events remotely. (#4552, #2321) ocornut 2021-09-17 16:44:14 +02:00
  • 2cffcbdc64 InputText: fix Space key with nav enabled interfering with input text boxes (fix bd6c9e99). made it possible to activate InputText with tweak gamepad button (why not, now that we can cancel) (#4552, #2321) ocornut 2021-09-17 15:44:43 +02:00
  • 3973de7933 Internals: removed last parameter to IsClippedEx() + fix PVS studio warnings. ocornut 2021-09-15 16:50:20 +02:00
  • 2d0a6a4969 Misc: moved StacSizeOnBegin out of window instance into window stack data. ocornut 2021-09-15 15:36:03 +02:00
  • 66cd21db88 Misc: extracted ErrorCheckEndWindowRecover() out of ErrorCheckEndFrameRecover(). (#1651) ocornut 2021-09-15 15:23:55 +02:00
  • d366694062 Disabled: Added assert guard for mismatching BeginDisabled()/EndDisabled() blocks. (#211) + Added asserts for missing PopItemFlag() calls. Added both to ErrorCheckEndFrameRecover (#1651) ocornut 2021-09-15 15:16:58 +02:00
  • 4f10fe0a27 TreePush: removed arbitrary/weird suppot for TreePush((const char*)NULL) ocornut 2021-09-15 12:12:49 +02:00
  • c58fb46411 Merge branch 'master' into docking ocornut 2021-09-14 19:26:27 +02:00
  • e7cc534367 Docking: Improved resizing system so that non-central zone are better at keeping their fixed size. ocornut 2021-09-14 17:57:47 +02:00
  • 29828d0469 Docking: floating node with a central node hides properly when nothing is docked + rename. ocornut 2021-09-14 16:58:35 +02:00
  • 7b8bc864e9 Menus: Fixed vertical alignments of MenuItem() calls within a menu bar. (broken by f8fae022). (#4538) ocornut 2021-09-14 11:09:39 +02:00
  • 8dfb52245b Docking: bits. ocornut 2021-09-13 18:03:22 +02:00
  • 82754561e2 Nav: Fixed a few widgets from not setting reference keyboard/gamepad navigation ID when activated with mouse. ocornut 2021-09-13 15:17:54 +02:00
  • 5d95e7eef9 Viewports: extracted DestroyViewport() out of UpdateViewportsNewFrame() function. ocornut 2021-09-11 14:06:43 +02:00
  • 92a39f78b9 Fixed IsWindowFocused/IsWindowHovered with _ChildWindows for not following through popup parents (amend 6b1e094c, fix #4527) ocornut 2021-09-11 14:05:53 +02:00
  • 17a7084b57 Menus: Fixed crash when navigating left inside a child window inside a sub-menu. (#4510). ocornut 2021-09-10 15:37:59 +02:00
  • 79d39b190b Viewports: fix window with viewport ini data immediately merged into a host viewport from leaving a temporary viewport alive for a frame (would leak into backend). ocornut 2021-09-10 14:58:45 +02:00
  • 6b77668171 Viewports: Fixed a crash while a window owning its viewport disappear while being dragged. ocornut 2021-09-09 21:05:40 +02:00
  • 9a49c1ddbd Viewports: fixed unnecessary creation of temporary viewports when multiple docked windows got reassigned to a new node (created mid-frame) which already has a HostWindow ocornut 2021-09-09 20:51:53 +02:00