Commit Graph

  • 863ac31f01 Doc: various tweaks + tweak imconfig comments. ocornut 2023-07-13 11:50:19 +02:00
  • 07d1709ca2 Doc: removed "generic" docking/viewport branch section of changelog since this is misleading. Will add formally when we reelase. (#2109, #1542) ocornut 2023-07-13 11:45:39 +02:00
  • 33e13c85e1 Backends: Made all backends sources files support global IMGUI_DISABLE. (#6601) ocornut 2023-07-13 11:27:52 +02:00
  • 023e59a5f2 ImDrawData: call _PopUnusedDrawCmd() later. as RenderDimmedBackgrounds() rely on a valid command being there (especially in docking branch). (#6406, #4879, #1878) ocornut 2023-07-12 18:22:34 +02:00
  • 6888e6cdff ImDrawData: call _PopUnusedDrawCmd() later. as RenderDimmedBackgrounds() rely on a valid command being there (especially in docking branch). (#6406, #4879, #1878) ocornut 2023-07-12 18:22:34 +02:00
  • 0110f4c8cc Merge branch 'master' into docking ocornut 2023-07-12 18:17:44 +02:00
  • dbeeeae593 ImDrawData: Slight refactor so internal logic uses same logic as AddDrawList(). (#6406, #4879, #1878) ocornut 2023-07-12 17:31:50 +02:00
  • 1a9ddd2396 ImDrawData: added AddDrawList() helper function. (#6406, #4879, #1878) ocornut 2023-07-12 16:57:38 +02:00
  • c649aca20a ImDrawData: changed CmdLists from raw array to ImVector<> owned by ImDrawData itself. Faclitate user-manipulation of the array (#6406, #4879, #1878) + deep swap. (#6597, #6475, #6167, #5776, #5109, #4763, #3515, #1860) ocornut 2023-07-12 16:04:26 +02:00
  • cc4c37dbac Nav: PageUp/PageDown always set NavJustMovedTo even when landing on same spot (which can trigger a selection). ocornut 2023-07-11 16:46:35 +02:00
  • 51b348095c Docking, Style: resizing separators use same colors as window borders. (#2522) ocornut 2023-07-11 15:17:54 +02:00
  • b7cdb5a31e Scrollbar: layout needs to take account of window border size, so a border size will slightly reduce scrollbar size. (#2522) ocornut 2023-07-11 15:00:51 +02:00
  • f4942bca32 Docking: follow to 27c735e to fix rendering of docked-window scrollbar above outer border. (#2522) ocornut 2023-07-11 15:01:20 +02:00
  • 27c735e3e9 Scrollbar: layout needs to take account of window border size, so a border size will slightly reduce scrollbar size. (#2522) ocornut 2023-07-11 15:00:51 +02:00
  • f6feddd1ee Merge branch 'master' into docking ocornut 2023-07-11 12:44:15 +02:00
  • b79751ebad Docking: Added DockingSeparatorSize to style: amends (#3481, #4721, #2522) ocornut 2023-07-11 12:42:42 +02:00
  • a5aff5fd3e Docking: Added DockingSeparatorSize to style (#3481, #4721, #2522) PossiblyAShrub 2020-09-19 22:32:18 -07:00
  • 5ce636b0ba Tweak to accomodate for build* directories anywhere. ocornut 2023-07-10 12:15:00 +02:00
  • 140726d23f Fixed CTRL+Tab dimming background assert when target window has a callback in the last ImDrawCmd. (#4857, #5937) ocornut 2023-07-10 15:10:42 +02:00
  • b32ef809c3 InputText: Fixed a case where deactivation frame would write to underlying buffer or call CallbackResize although unnecessary, in a frame where the return value was false. ocornut 2023-07-06 19:32:28 +02:00
  • 3349296370 InputText: Tweak ImGuiInputTextFlags_EscapeClearsAll handling so decision is taken on input buffer + Showcase a few more InputText() flags. (#5688, #2620) ocornut 2023-07-06 19:27:23 +02:00
  • 6aa408c6af IO: Added io.ClearEventsQueue(). Obsoleted io.ClearInputCharacters(). (#4921) ocornut 2023-07-06 15:55:17 +02:00
  • 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