Commit Graph

  • 9a15730c2a Demo: better showcase use of SetNextItemAllowOverlap(). (#6574, #6512, #3909, #517) ocornut 2023-07-05 14:19:01 +02:00
  • 3fe4319314 Version 1.89.8 WIP ocornut 2023-07-05 14:17:10 +02:00
  • 8566fec661 Backends: SDL3: Changing SDL_WINDOW_SKIP_TASKBAR to SDL_WINDOW_UTILITY for SDL3 (#6573) ohthesetrees 2023-07-05 02:01:56 -07:00
  • dc3e531ff2 Merge branch 'master' into docking v1.89.7-docking ocornut 2023-07-04 16:22:25 +02:00
  • d4ddc46e77 InputText: Fixed a crash on deactivating a ReadOnly buffer. (#6570, #6292, #4714) v1.89.7 ocornut 2023-07-04 16:20:51 +02:00
  • 40aac5875a Changelog amends ocornut 2023-07-04 15:48:42 +02:00
  • ac8573884d Backends: Vulkan: Amends for docking branch. (#5446, #5037) sean 2023-07-04 14:59:43 +02:00
  • 677c7b2258 Merge branch 'master' into docking ocornut 2023-07-04 14:58:03 +02:00
  • cb9015e254 Version 1.89.7 ocornut 2023-07-04 14:13:35 +02:00
  • 121072cfe6 Backends: Vulkan: Amend for support for dynamic_rendering (#5446, #5037) ocornut 2023-07-03 17:48:28 +02:00
  • 7812e836e4 Backends: Vulkan: Support for dynamic_rendering (#5446, #5037) sean 2022-02-19 20:15:58 +01:00
  • dcdb145713 Docs: Fix outdated link in freetype docs (#6568) sakiodre 2023-07-04 17:23:13 +07:00
  • 1029f57b8a Inputs, Tooltip: Rework stationary timer logic as it broke on high-framerates with lower rate of mouse inputs. (#1485) ocornut 2023-07-03 12:17:23 +02:00
  • 64172685d6 InputText: ImGuiInputTextCallbackData::InsertChars() accept (NULL,NULL) range, in order to conform to common idioms. (#6565, #6566, #3615) ocornut 2023-07-03 11:58:17 +02:00
  • 655aae5911 Comments + docs: tidying up todo list + demo tweak for tooltips. ocornut 2023-06-28 16:01:01 +02:00
  • a02315e1c4 Combo: Made simple/legacy Combo() function not returns true when picking already selected item. (#1182) ocornut 2023-06-28 15:47:10 +02:00
  • a88e5be7f4 Merge branch 'master' into docking ocornut 2023-06-28 14:56:02 +02:00
  • 6137443d24 Overlap: moved ImGuiItemflags_AllowOverlap handling from ButtoBehavior() to ItemHoverable() now that it is possible. (#6512, #3909, #517) ocornut 2023-06-28 13:51:50 +02:00
  • 4dee919bc0 (Breaking) Internals: added ImGuiItemFlags param to ItemHoverable(), so it can be called from ButtonBehavior() not following an ItemAdd(). ocornut 2023-06-28 13:47:57 +02:00
  • 10c7709f30 Overlap: IsItemHovered: Changed behavior to return false when querying an item using AllowOverlap mode. Added ImGuiHoveredFlags_AllowWhenOverlappedByItem, ImGuiHoveredFlags_AllowWhenOverlappedByWindow., (#6512, #3909, #517) ocornut 2023-06-27 14:58:40 +02:00
  • 8439a73645 Overlap: Added 'SetNextItemAllowOverlap()' as a replacement for 'SetItemAllowOverlap()'. (#6512, #3909, #517) ocornut 2023-06-26 15:00:51 +02:00
  • a9a5cbf431 Overlap: Internals: add NextItemData.ItemFlags to facilitate implementation of SetNextItemAllowOverlap() + potentially remove extra_flags from ItemAdd(). (#6512, #3909) ocornut 2023-06-26 13:46:40 +02:00
  • 07e24b4058 ButtonBehavior: pull ImGuiButtonFlags_Repeat from ImGuiItemFlags_ButtonRepeat, matching ItemHoverable() logic. So more widgets can take advantage of Repeat logic. ocornut 2023-06-26 17:09:46 +02:00
  • 51f564eea6 (Breaking) Overlap: Renamed 'ImGuiTreeNodeFlags_AllowItemOverlap' to 'ImGuiTreeNodeFlags_AllowOverlap', 'ImGuiSelectableFlags_AllowItemOverlap' to 'ImGuiSelectableFlags_AllowOverlap'. Kept redirecting enums (will obsolete). (#6512, #3909, #517) ocornut 2023-06-26 14:00:00 +02:00
  • 06f5b46133 Overlap: Fixed first frame of an overlap highlighting underlying item if previous frame didn't hover anything. (#6512, #3909, #517) ocornut 2023-06-27 11:19:37 +02:00
  • b03a4993b3 Internals: reorder tests in ItemHoverable() so most likely early out are taken first. ocornut 2023-06-27 15:43:33 +02:00
  • 836aff3467 Drag and Drop: Amend ItemHoverable() logic for item with no identifier. ocornut 2023-06-27 15:23:19 +02:00
  • d5d4d709c7 Drag and Drop: moved "drag souce doesn't report as hovered" from ButtonBehavior() to ItemHoverable(). ocornut 2023-06-27 14:41:51 +02:00
  • a2f6581171 Selectable: Fixed bad manual cherry-pick/merge (fixes 3ec128c) ocornut 2023-06-27 10:57:08 +02:00
  • 3ec128c5fd Selectable, TreeNode: When using ImGuiSelectableFlags_AllowOverlap/ImGuiTreeNodeFlags_AllowOverlap and holding item held, overlapping widgets won't appear as hovered. (#6512, #3909) ocornut 2023-06-26 14:47:05 +02:00
  • cada78917c Tables: removed misleading, seemingy useless use of ImGuiButtonFlags_AllowtemOverlap in TableUpdateBorders(). (#6512, #3909) ocornut 2023-06-26 18:12:37 +02:00
  • 0a53b45858 CollapsingHeader/TreeNode: Fixed text padding when using _Framed+_Leaf flags. (#6549) ocornut 2023-06-26 11:14:51 +02:00
  • 6b01114057 Merge branch 'master' into docking ocornut 2023-06-23 16:04:13 +02:00
  • 057fcae30c Docking+Viewports: Fixed extraneous viewport+platform-window recreation. Part 4. ocornut 2023-06-23 16:03:01 +02:00
  • 35b41949fb Docking+Viewports: Fixed extraneous viewport+platform-window recreation. Part 3. ocornut 2023-06-23 15:55:14 +02:00
  • 099e8533e2 Docking+Viewports: Fixed extraneous viewport+platform-window recreation. Part 2. ocornut 2023-06-23 15:51:43 +02:00
  • 66c09fc05b Docking+Viewports: Fixed extraneous viewport+platform-window recreation. Part 1. ocornut 2023-06-23 15:40:54 +02:00
  • 7d81a166f9 Docking: Fixed one-frame flickering on reappearing windows binding to a dock node where a later-submitted window was already bound. ocornut 2023-06-23 15:47:34 +02:00
  • 6b2e03c5b1 GetKeyName(): Fixed assert with ImGuiMod_XXX values when IMGUI_DISABLE_OBSOLETE_KEYIO is set. ocornut 2023-06-22 22:02:31 +02:00
  • e4aeef4b9f Viewports: Closing a viewport via OS/platform means (e.g. OS close button or task-bar menu), mark all windows in this viewport as closed. ocornut 2023-06-21 15:34:51 +02:00
  • 94c46d7486 InputText: Fixed not returning true when buffer is cleared by ImGuiInputTextFlags_EscapeClearsAll. (#5688, #2620) ocornut 2023-06-21 14:20:13 +02:00
  • cb5542bce5 Backends: OpenGL3: Fixed erroneous use glGetIntegerv(GL_CONTEXT_PROFILE_MASK) on contexts lower than 3.2. (#6539, #6333) ocornut 2023-06-20 15:30:52 +02:00
  • 959a9c79bd TreeNode: Added support for ImGuiTreeNodeFlags_UpsideDownArrow in frameless tree nodes (#6517, #6538) Krzysztof Adamek 2023-06-20 12:07:25 +02:00
  • e0583975cd Demo: Fix typo (amusingly had no side effect). ocornut 2023-06-20 15:18:37 +02:00
  • 1450d23b60 Merge branch 'master' into docking ocornut 2023-06-20 15:08:52 +02:00
  • 9214c28aad IsWindowHovered, IsItemHovered: Assert when passed any unsupported flags. ocornut 2023-06-19 15:34:20 +02:00
  • e7a4327eb8 IsWindowHovered: Added support for ImGuiHoveredFlags_Stationary. ocornut 2023-06-19 13:41:52 +02:00
  • b60acfa87d Tooltips: Added SetItemTooltip(), BeginItemTooltip(). Improved Demo section. ocornut 2023-06-16 16:42:56 +02:00
  • 0f72652c2d IsItemHovered, Tooltips: Added io.HoveredFlagsForTooltipMouse, io.HoveredFlagsForTooltipNav now pulled by ImGuiHoveredFlags_Tooltip. (#1485) ocornut 2023-06-16 14:42:38 +02:00
  • b3b8cbd001 IsItemHovered, Tooltips: Added ImGuiHoveredFlags_ForTooltip, ImGuiHoveredFlags_Stationary. (#1485) ocornut 2023-06-15 15:51:00 +02:00
  • d4b94bd65b (Breaking) Moved io.HoverDelayShort/io.HoverDelayNormal to style.HoverDelayShort/style.HoverDelayNormal. (#1485) ocornut 2023-06-20 14:38:48 +02:00
  • f09ef23ae6 IsItemHovered, Tooltips: Tweak default delay again. (#1485) ocornut 2023-06-15 15:23:05 +02:00
  • d96bbf0aae TreeNode: Added undocumented ImGuiTreeNodeFlags_UpsideDownArrow flag. (#6517) ocornut 2023-06-19 14:20:24 +02:00
  • 194916135a Internals: renamed HoverDelay fields. ocornut 2023-06-16 16:56:33 +02:00
  • 15d74bad1d Internals: Tooltips: renamed internal flags (expecting to expose later when we publish priority stuff). ocornut 2023-06-16 13:28:54 +02:00
  • b9db5c566b Backends: Win32: Added support for updating ParentViewportID after viewport creation. ocornut 2023-06-15 11:26:27 +02:00
  • 89d3dabf2e Modals: In the case of nested modal, made sure that focused or appearing windows are moved below the lowest blocking modal (rather than the highest one). (#4317) ocornut 2023-06-14 21:58:28 +02:00
  • eec344cc1e Tweak HoverDelayClearTimer. Not exposing since I am unsure logic is viable (and is rather complex with upcoming addition of stationary logic). (#1485) ocornut 2023-06-14 17:39:26 +02:00
  • 6cabad6e7a Encode version string in binary to facilitate identification when demo/tools are striped + amend About window. ocornut 2023-06-14 16:13:01 +02:00
  • 534340cd88 Tooltips: Tweak default offset for non-drag and drop tooltips. ocornut 2023-06-13 15:27:46 +02:00
  • e95d66faa8 Clipper: Rework inner logic to allow functioning with a zero-clear constructor. (#5856) ocornut 2023-06-13 14:55:02 +02:00
  • ef07ddf087 Debug Tools: Added 'io.ConfigDebugIniSettings' option to save .ini data with extra comments. ocornut 2023-06-13 11:47:22 +02:00
  • 9c16976749 Debug Tools: Added 'io.ConfigDebugIniSettings' option to save .ini data with extra comments. ocornut 2023-06-13 11:47:22 +02:00
  • fa5d2656b0 Docking: DockBuilderDockWindow() API calls don't clear docking order if the target node is same as existing one ocornut 2023-06-13 11:37:35 +02:00
  • 3cc9d2051a Examples: Win32+OpenGL3: Fixed not calling DefWindowProcW() as with other Win32 examples. (#6516, #5725, #5961, #5975) ocornut 2023-06-13 11:22:32 +02:00
  • 3f63cee4c1 Docking: Fixed dragging from title-bar empty space (#5181, #2645) ocornut 2023-06-12 15:26:30 +02:00
  • 884e3fd21f Backends: GLFW: Accept glfwGetTime() not returning a monotonically increasing value. (#6491, #6189, #6114) ocornut 2023-06-12 11:58:17 +02:00
  • dec082ff97 Backends: OpenGL3: Fixed support for glBindSampler() backup/restore on ES3. (#6375, #6508) ocornut 2023-06-12 11:44:48 +02:00
  • 0664877998 Merge branch 'master' into docking ocornut 2023-06-09 14:02:19 +02:00
  • 4fab72b40e BeginChild/Tables: Fixed BeginChild temporary activation id collision. Fixes regression in 1.89.6 leading to the first column of tables with either ScrollX or ScrollY flags from being impossible to resize. (#6503) ocornut 2023-06-09 14:01:21 +02:00
  • a134892a3d BeginComboPreview: fix when part of preview rect is clipped by parent window. (#6501, #1658) ocornut 2023-06-09 13:41:11 +02:00
  • 666b93e989 Demo: fixed a misuse of EndChildFrame(). (#6496) ocornut 2023-06-07 13:43:56 +02:00
  • 956a1a17fb Internals: add ImGuiNavMoveFlags_NoSelect and use in FocusItem(). ocornut 2023-06-01 15:49:34 +02:00
  • 31f11cf304 Internals: Added FocusItem(). Made activation explicit/opt-in via ImGuiNavMoveFlags_Activate. Rename ActivateItem() to ActivateItemByID(). ocornut 2023-06-01 15:17:37 +02:00
  • 8fd0a04135 Backends: SDL3: Fix backend in docking/multi-viewports branch. (#6483) Luca Lolli 2023-06-01 11:30:26 +02:00
  • 61ebb37843 Version 1.89.7 WIP ocornut 2023-06-01 11:22:43 +02:00
  • f1777f9517 Demo: fix casing swap demo inserting garbage characters when typing lowercase letters (#6482) Christian Fillion 2023-06-01 04:17:32 -04:00
  • 823a1385a2 Merge branch 'master' into docking ocornut 2023-05-31 14:51:56 +02:00
  • 5319d1cffa Version 1.89.6 v1.89.6 ocornut 2023-05-31 14:46:24 +02:00
  • 075b975fed Fonts: Fixed crash when manually specifying an EllipsisChar that doesn't exist. (#6480) ocornut 2023-05-31 14:44:29 +02:00
  • b476184574 Backends: SDLRenderer3: Amend/finish SDL_Renderer3 patch + add example. (#6286) ocornut 2023-05-30 20:36:07 +02:00
  • 0b57c07c79 Backends: SDL3: Add SDL_Renderer for SDL3 implementation. (#6286) Andrea Carcone 2023-05-30 20:30:30 +02:00
  • b709b02e96 Backends: SDL_Renderer2: renamed all functions accordingly. (#6286) ocornut 2023-05-30 20:15:31 +02:00
  • 88e7d773df Backends: SDL_Renderer2: Renamed 'imgui_impl_sdlrenderer.h/cpp' to 'imgui_impl_sdlrenderer2.h/cpp' (#6286) ocornut 2023-05-30 20:11:08 +02:00
  • 216ae7db52 Examples: SDL3: Added clues that Emscripten doesn't support SDL3 yet. (#6386) ocornut 2023-05-30 19:53:20 +02:00
  • 3418d50949 Viewports: Fixes erroneous popup closure on closing a previous popup. (#6462, #6299) ocornut 2023-05-30 17:09:27 +02:00
  • f0f3b927e0 Backends: GLFW: Avoid linking with GLFW function for homebrew switch (#6473) S41L0R 2023-05-30 04:27:21 -04:00
  • 6cc967a124 Backends: GLFW: Only enable Vulkan support if not building with Emscripten (#6468) slowriot 2023-05-28 17:08:06 +01:00
  • 2e810d575c Backends: GLFW: Fix breaking typo 19b436f68 (#5683, #6459) omar 2023-05-26 13:41:45 +02:00
  • 19b436f68d Backends: GLFW: Preserve monitor list when there are no monitor. (#5683) ocornut 2023-05-25 15:38:35 +02:00
  • 7e03ae3240 Window: Fixed resizing from upper border when io.ConfigWindowsMoveFromTitleBarOnly is set. (#6390) ocornut 2023-05-25 15:22:25 +02:00
  • 7947f327de Demo: added casing swap demo to clarify use of ImGuiInputTextFlags_CallbackCharFilter. (#6457) + Metrics: simplified some code. ocornut 2023-05-23 20:10:00 +02:00
  • 47579f8a40 Nav: set NavJustMovedToXXX fields on NavInit result + BeginChild() clears ActiveId on N+1 on entering instead of waiting for ID to elapse on N+2. ocornut 2023-05-23 16:26:52 +02:00
  • 52e19113f3 Backends: OpenGL3: Added more explicit comments about using GL ES2/3 on targets where it's not automatic. (#6450) ocornut 2023-05-23 11:43:16 +02:00
  • 08145bc45c Fonts: Fixed crash when merging fonts and the first font has no valid glyph. (#6446) ocornut 2023-05-23 10:55:10 +02:00
  • 54c1ac3e38 Merge branch 'master' into docking ocornut 2023-05-22 10:10:29 +02:00
  • 45c8c3b611 Listbox: commented out obsolete/redirecting functions that were marked obsolete more than two years ago: ListBoxHeader(), ListBoxFooter(). ocornut 2023-05-22 10:09:20 +02:00
  • df8667b18b Comments/typos tweaks ocornut 2023-05-20 17:56:20 +02:00
  • 2c558d5741 Internals: SeparatorEx(): expose thickness + add misc comments relating to Separators. ocornut 2023-05-20 16:25:14 +02:00
  • e590b5114e Viewports: Fixed loss of imgui-side focus when dragging a secondary viewport back in main viewport. (#6299) ocornut 2023-05-20 14:21:17 +02:00