Commit Graph

  • 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 +0200
  • 5ce636b0ba Tweak to accomodate for build* directories anywhere. ocornut 2023-07-10 12:15:00 +0200
  • 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 +0200
  • 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 +0200
  • 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 +0200
  • 6aa408c6af IO: Added io.ClearEventsQueue(). Obsoleted io.ClearInputCharacters(). (#4921) ocornut 2023-07-06 15:55:17 +0200
  • 9a15730c2a Demo: better showcase use of SetNextItemAllowOverlap(). (#6574, #6512, #3909, #517) ocornut 2023-07-05 14:19:01 +0200
  • 3fe4319314 Version 1.89.8 WIP ocornut 2023-07-05 14:17:10 +0200
  • d4ddc46e77 InputText: Fixed a crash on deactivating a ReadOnly buffer. (#6570, #6292, #4714) ocornut 2023-07-04 16:20:51 +0200
  • 40aac5875a Changelog amends ocornut 2023-07-04 15:48:42 +0200
  • cb9015e254 Version 1.89.7 ocornut 2023-07-04 14:13:35 +0200
  • 121072cfe6 Backends: Vulkan: Amend for support for dynamic_rendering (#5446, #5037) ocornut 2023-07-03 17:48:28 +0200
  • 7812e836e4 Backends: Vulkan: Support for dynamic_rendering (#5446, #5037) sean 2022-02-19 20:15:58 +0100
  • dcdb145713
    Docs: Fix outdated link in freetype docs (#6568) sakiodre 2023-07-04 17:23:13 +0700
  • 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 +0200
  • 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 +0200
  • 655aae5911 Comments + docs: tidying up todo list + demo tweak for tooltips. ocornut 2023-06-28 16:01:01 +0200
  • a02315e1c4 Combo: Made simple/legacy Combo() function not returns true when picking already selected item. (#1182) ocornut 2023-06-28 15:47:10 +0200
  • 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 +0200
  • 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 +0200
  • 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 +0200
  • 8439a73645 Overlap: Added 'SetNextItemAllowOverlap()' as a replacement for 'SetItemAllowOverlap()'. (#6512, #3909, #517) ocornut 2023-06-26 15:00:51 +0200
  • 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 +0200
  • 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 +0200
  • 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 +0200
  • 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 +0200
  • b03a4993b3 Internals: reorder tests in ItemHoverable() so most likely early out are taken first. ocornut 2023-06-27 15:43:33 +0200
  • 836aff3467 Drag and Drop: Amend ItemHoverable() logic for item with no identifier. ocornut 2023-06-27 15:23:19 +0200
  • d5d4d709c7 Drag and Drop: moved "drag souce doesn't report as hovered" from ButtonBehavior() to ItemHoverable(). ocornut 2023-06-27 14:41:51 +0200
  • a2f6581171 Selectable: Fixed bad manual cherry-pick/merge (fixes 3ec128c) ocornut 2023-06-27 10:57:08 +0200
  • 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 +0200
  • cada78917c Tables: removed misleading, seemingy useless use of ImGuiButtonFlags_AllowtemOverlap in TableUpdateBorders(). (#6512, #3909) ocornut 2023-06-26 18:12:37 +0200
  • 0a53b45858 CollapsingHeader/TreeNode: Fixed text padding when using _Framed+_Leaf flags. (#6549) ocornut 2023-06-26 11:14:51 +0200
  • 6b2e03c5b1 GetKeyName(): Fixed assert with ImGuiMod_XXX values when IMGUI_DISABLE_OBSOLETE_KEYIO is set. ocornut 2023-06-22 22:02:31 +0200
  • 94c46d7486 InputText: Fixed not returning true when buffer is cleared by ImGuiInputTextFlags_EscapeClearsAll. (#5688, #2620) ocornut 2023-06-21 14:20:13 +0200
  • 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 +0200
  • 959a9c79bd TreeNode: Added support for ImGuiTreeNodeFlags_UpsideDownArrow in frameless tree nodes (#6517, #6538) Krzysztof Adamek 2023-06-20 12:07:25 +0200
  • e0583975cd Demo: Fix typo (amusingly had no side effect). ocornut 2023-06-20 15:18:37 +0200
  • 9214c28aad IsWindowHovered, IsItemHovered: Assert when passed any unsupported flags. ocornut 2023-06-19 15:34:20 +0200
  • e7a4327eb8 IsWindowHovered: Added support for ImGuiHoveredFlags_Stationary. ocornut 2023-06-19 13:41:52 +0200
  • b60acfa87d Tooltips: Added SetItemTooltip(), BeginItemTooltip(). Improved Demo section. ocornut 2023-06-16 16:42:56 +0200
  • 0f72652c2d IsItemHovered, Tooltips: Added io.HoveredFlagsForTooltipMouse, io.HoveredFlagsForTooltipNav now pulled by ImGuiHoveredFlags_Tooltip. (#1485) ocornut 2023-06-16 14:42:38 +0200
  • b3b8cbd001 IsItemHovered, Tooltips: Added ImGuiHoveredFlags_ForTooltip, ImGuiHoveredFlags_Stationary. (#1485) ocornut 2023-06-15 15:51:00 +0200
  • d4b94bd65b (Breaking) Moved io.HoverDelayShort/io.HoverDelayNormal to style.HoverDelayShort/style.HoverDelayNormal. (#1485) ocornut 2023-06-20 14:38:48 +0200
  • f09ef23ae6 IsItemHovered, Tooltips: Tweak default delay again. (#1485) ocornut 2023-06-15 15:23:05 +0200
  • d96bbf0aae TreeNode: Added undocumented ImGuiTreeNodeFlags_UpsideDownArrow flag. (#6517) ocornut 2023-06-19 14:20:24 +0200
  • 194916135a Internals: renamed HoverDelay fields. ocornut 2023-06-16 16:56:33 +0200
  • 15d74bad1d Internals: Tooltips: renamed internal flags (expecting to expose later when we publish priority stuff). ocornut 2023-06-16 13:28:54 +0200
  • 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 +0200
  • 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 +0200
  • 6cabad6e7a Encode version string in binary to facilitate identification when demo/tools are striped + amend About window. ocornut 2023-06-14 16:13:01 +0200
  • 534340cd88 Tooltips: Tweak default offset for non-drag and drop tooltips. ocornut 2023-06-13 15:27:46 +0200
  • e95d66faa8 Clipper: Rework inner logic to allow functioning with a zero-clear constructor. (#5856) ocornut 2023-06-13 14:55:02 +0200
  • 9c16976749 Debug Tools: Added 'io.ConfigDebugIniSettings' option to save .ini data with extra comments. ocornut 2023-06-13 11:47:22 +0200
  • 3cc9d2051a Examples: Win32+OpenGL3: Fixed not calling DefWindowProcW() as with other Win32 examples. (#6516, #5725, #5961, #5975) ocornut 2023-06-13 11:22:32 +0200
  • 884e3fd21f Backends: GLFW: Accept glfwGetTime() not returning a monotonically increasing value. (#6491, #6189, #6114) ocornut 2023-06-12 11:58:17 +0200
  • dec082ff97 Backends: OpenGL3: Fixed support for glBindSampler() backup/restore on ES3. (#6375, #6508) ocornut 2023-06-12 11:44:48 +0200
  • 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 +0200
  • a134892a3d BeginComboPreview: fix when part of preview rect is clipped by parent window. (#6501, #1658) ocornut 2023-06-09 13:41:11 +0200
  • 666b93e989 Demo: fixed a misuse of EndChildFrame(). (#6496) ocornut 2023-06-07 13:43:56 +0200
  • 956a1a17fb Internals: add ImGuiNavMoveFlags_NoSelect and use in FocusItem(). ocornut 2023-06-01 15:49:34 +0200
  • 31f11cf304 Internals: Added FocusItem(). Made activation explicit/opt-in via ImGuiNavMoveFlags_Activate. Rename ActivateItem() to ActivateItemByID(). ocornut 2023-06-01 15:17:37 +0200
  • 61ebb37843 Version 1.89.7 WIP ocornut 2023-06-01 11:22:43 +0200
  • f1777f9517
    Demo: fix casing swap demo inserting garbage characters when typing lowercase letters (#6482) Christian Fillion 2023-06-01 04:17:32 -0400
  • 5319d1cffa Version 1.89.6 ocornut 2023-05-31 14:46:24 +0200
  • 075b975fed Fonts: Fixed crash when manually specifying an EllipsisChar that doesn't exist. (#6480) ocornut 2023-05-31 14:44:29 +0200
  • b476184574 Backends: SDLRenderer3: Amend/finish SDL_Renderer3 patch + add example. (#6286) ocornut 2023-05-30 20:36:07 +0200
  • 0b57c07c79
    Backends: SDL3: Add SDL_Renderer for SDL3 implementation. (#6286) Andrea Carcone 2023-05-30 20:30:30 +0200
  • b709b02e96 Backends: SDL_Renderer2: renamed all functions accordingly. (#6286) ocornut 2023-05-30 20:15:31 +0200
  • 88e7d773df Backends: SDL_Renderer2: Renamed 'imgui_impl_sdlrenderer.h/cpp' to 'imgui_impl_sdlrenderer2.h/cpp' (#6286) ocornut 2023-05-30 20:11:08 +0200
  • 216ae7db52 Examples: SDL3: Added clues that Emscripten doesn't support SDL3 yet. (#6386) ocornut 2023-05-30 19:53:20 +0200
  • 7e03ae3240 Window: Fixed resizing from upper border when io.ConfigWindowsMoveFromTitleBarOnly is set. (#6390) ocornut 2023-05-25 15:22:25 +0200
  • 7947f327de Demo: added casing swap demo to clarify use of ImGuiInputTextFlags_CallbackCharFilter. (#6457) + Metrics: simplified some code. ocornut 2023-05-23 20:10:00 +0200
  • 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 +0200
  • 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 +0200
  • 08145bc45c Fonts: Fixed crash when merging fonts and the first font has no valid glyph. (#6446) ocornut 2023-05-23 10:55:10 +0200
  • 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 +0200
  • df8667b18b Comments/typos tweaks ocornut 2023-05-20 17:56:20 +0200
  • 2c558d5741 Internals: SeparatorEx(): expose thickness + add misc comments relating to Separators. ocornut 2023-05-20 16:25:14 +0200
  • c8579abb43 Examples: DX9: Fix WM_SIZE handling bug introduced in 031e152d2. (#6374) ocornut 2023-05-20 14:01:34 +0200
  • 7348e99269 CI: temporarily use Emscripten 3.1.37 because 3.1.18 has a regression. ocornut 2023-05-15 14:34:30 +0200
  • e489e40a85 Clipper: Amend ecb0aaa (#6424, #3841) GamingMinds-DanielC 2023-05-15 14:05:00 +0200
  • ecb0aaa7c2 Clipper: Renamed ForceDisplayRangeByIndices() to IncludeRangeByIndices(). (#6424, #3841) + commented out obsolete ImGuiListClipper() constructor. ocornut 2023-05-15 12:01:40 +0200
  • a550263d6c Misc: made ErrorCheckEndWindowRecover() handle font stack. (#6431, #1651) ocornut 2023-05-15 11:15:13 +0200
  • bcfc1ad8f6 Nav: Forwarded (wrap/loop) request don't mistakenly wreck reference pos. ocornut 2023-05-10 15:01:02 +0200
  • 430c05991c Docs: added more detailed information about UTF-8 encoding. ocornut 2023-05-10 12:54:51 +0200
  • 513af1efc9 Examples: Updated all Visual Studio project file to use /utf-8 option, so string literals are UTF-8 encoded by default. ocornut 2023-05-10 12:34:11 +0200
  • 0397321be0 Debug Tools: Added 'io.ConfigDebugIgnoreFocusLoss' option. (#4388, #4921) ocornut 2023-05-09 20:28:08 +0200
  • 6656553fa4 Nav: Record/restore preferred position on each given axis. ocornut 2023-04-26 15:20:40 +0200
  • 39f7248d4a Backends: OpenGL3: Add glBindSampler for GL ES 3.0. (#6375) Jason Millard 2023-04-26 11:47:37 -0400
  • dd9db5e889 Backends: OpenGL3: Added runtime flags for ES2/ES3 to simplify coding-style. (#6375) ocornut 2023-05-09 15:09:47 +0200
  • 6cdedf5834 Drag, Sliders: if the format string doesn't contain any %, when using CTRL+Click to input we use a default format. (#6405) ocornut 2023-05-09 12:04:04 +0200
  • 70cca1eac0
    Backends: avoid null dereference in metal and osx shutdown (#6385, #6334) Alex 2023-05-04 08:18:29 -0700
  • 5dc6013713 Backends: SDL3: Fixed build on Emscripten/iOS/Android. (#6391) ocornut 2023-05-04 17:06:36 +0200
  • 7c291ba31b Tables: Fixed command merging when compiling with VS2013. (#6377) ocornut 2023-04-28 13:58:59 +0200
  • 085fa42b7d Adedd workaround for GCC erroneous/zealous warning (#5343) cfillion 2023-04-27 19:15:48 +0200
  • 031e152d29 Examples: DX9, DX10, DX11: Queue framebuffer resize instead of processing in WM_SIZE. (#6374) ocornut 2023-04-27 14:57:09 +0200
  • 15da1a9abc Fixed misleading local name (#4493) + minor typo (#6369) ocornut 2023-04-25 16:39:02 +0200
  • fd943182bd ImVec2: Added unary minus operator (#6368) Koostosh 2023-04-25 14:22:47 +0200
  • d3ad2f357f Menus: Fixed an issue when opening a menu hierarchy in a given menu-bar would allow opening another via simple hovering. (#3496, #4797) ocornut 2023-04-25 12:17:37 +0200