Commit Graph

  • 1fd5ff7152 Avoid C++26 removed deprecated arithmetic conversion on enumerations. (#7088, #7089. #2983, #3040) Johel Ernesto Guerrero Peña 2023-12-04 11:09:28 -04:00
  • 52886872f1 Misc: Added IMGUI_USER_H_FILENAME to change the path included when using IMGUI_INCLUDE_IMGUI_USER_H. (#7039) Bryce Berger 2023-11-20 12:22:56 -05:00
  • 5768de79e2 InputText, ColorEdit, ColorPicker: better support for undocumented ImGuiItemFlags_ReadOnly flag. (#7079, #211) ocornut 2023-12-01 13:57:28 +01:00
  • b112d73edb Menus: amend to clarify/fix static analyzer warning. (#6671, #6926) ocornut 2023-11-29 17:08:06 +01:00
  • 2ee40d3cf9 Menus: Tweaked hover slack logic, adding a timer to avoid situations where a slow vertical movements toward another parent BeginMenu() can keep the wrong child menu open. (#6671, #6926) ocornut 2023-11-29 16:46:21 +01:00
  • b4b864e40a Backends: Vulkan: Fixed mismatching allocator passed to vkCreateCommandPool() vs vkDestroyCommandPool(). (#7075) ocornut 2023-11-29 14:24:25 +01:00
  • d2b0167610 Fixed link error when using IMGUI_DISABLE_DEBUG_TOOLS ocornut 2023-11-29 14:09:39 +01:00
  • 7965494ff3 Debug Tools: Added DebugFlashStyleColor() to identify a style color. Added to Style Editor. ocornut 2023-11-28 19:33:19 +01:00
  • c1a3c7f445 Fixed Clang zealous warnings ocornut 2023-11-28 19:33:02 +01:00
  • c6ec69c7c1 Using nullptr in remaining examples/backends locations. (#6313, #7071, #4537) ocornut 2023-11-28 19:29:09 +01:00
  • 888834c636 Backends: Android: Fixed build breaking typo. (#7060) ocornut 2023-11-28 15:23:45 +01:00
  • 077e4db772 Misc: Added extra courtesy ==/!= operators when IMGUI_DEFINE_MATH_OPERATORS is defined. ocornut 2023-11-28 15:00:32 +01:00
  • f6253b87d0 Merge branch 'master' into docking ocornut 2023-11-28 14:39:46 +01:00
  • 6f171a066d Nav, IO: SetNextFrameWantCaptureKeyboard(false) calls are not overrided back to true when navigation is enabled. (#6997) ocornut 2023-11-28 14:28:19 +01:00
  • e07663d9a1 Docking: transform ImGuiContext* ctx = GImGui to ImGuiContext& g = *GImGui for consistency (#5856) Marc Delorme 2023-11-23 21:08:37 +09:00
  • 1f3090a48d Backends: SDL3: Fix indent (#7062) Chris Gregory 2023-11-28 06:09:07 -05:00
  • 86891b0986 Backends: Android: ImGui_ImplAndroid_HandleInputEvent() takes a const AInputEvent* (#7060) ocornut 2023-11-28 12:07:16 +01:00
  • f37f6f67f6 Windows: BeginChild(): Fixed auto-resizing erroneously limiting size to host viewport minus padding. (#7063) ocornut 2023-11-27 16:33:20 +01:00
  • bce4db00bc Drag and Drop: Fixed drop target highlight on items temporarily pushing a widened clip rect. (#7049, #4281, #3272) ocornut 2023-11-22 19:30:08 +01:00
  • 65a10410e3 Docs: Add suggestion to turn of char8_t behavior for C++20 (#7025) sakiodre 2023-11-23 01:09:14 +07:00
  • 61b8197942 Misc: Renamed some defines in imstb_textedit.h to avoid conflicts when using unity/jumbo builds. ocornut 2023-11-22 12:03:34 +01:00
  • 3733b5064e Backends: SDL3: Fixed unused variable warning on master on some targets. (#7000) ocornut 2023-11-17 12:28:25 +01:00
  • c5c1c4134b Backends: OpenGL3: imgui_impl_opengl3_loader.h: change #define ARRAY_SIZE to GL3W_ARRAY_SIZE to avoid external conflicts (#7017, #7018) codefrog2002 2023-11-15 16:38:47 -08:00
  • 7bb0a525c3 Fixed text functions fast-path for handling "%s" and "%.*s" to handle null pointers gracefully. (#7016, #3466, #6846) ocornut 2023-11-16 00:00:26 +01:00
  • 3d083dbe1a Version 1.90.1 WIP ocornut 2023-11-15 23:53:58 +01:00
  • ce0d0ac829 Merge branch 'master' into docking v1.90-docking ocornut 2023-11-15 16:08:53 +01:00
  • b81bd7ed98 Version 1.90.0 v1.90 ocornut 2023-11-15 15:20:20 +01:00
  • 6695006bea Backends: Vulkan: use specified ColorAttachmentFormat when creating a secondary window when enabling UseDynamicRendering. (#6999, #5446, #5037) Oliver Eriksson 2023-11-11 01:12:07 +01:00
  • 623bff23ce Windows: WindowMinSize not applied on AlwaysAutoResize window. (amend e2035a5) ocornut 2023-11-15 14:44:01 +01:00
  • f298491a8a Docs: amend/tweak details about using io.WantCaptureMouse. (#7012) ocornut 2023-11-15 13:29:37 +01:00
  • 5de1312e1c SplitterBehavior: tweak to not assert due to floating point precision. ocornut 2023-11-14 15:34:30 +01:00
  • afadf74a53 BeginChild: undo child name simplification as it reveal an issue with handling of ### in child names. ocornut 2023-11-14 14:23:18 +01:00
  • 46843b683b Fonts: minor/shallow amends (#6925) ocornut 2023-11-13 18:18:49 +01:00
  • ade4d0e08a Fonts: added support for RasterizerDensity to FreeType based atlas generator. (#6925) thedmd 2023-10-14 18:04:50 +02:00
  • ed29ff08ba Fonts: added support for RasterizerDensity in built-in atlas generator. (#6925) thedmd 2023-10-14 18:04:32 +02:00
  • abfb9269b5 Fonts: added RasterizerDensity to ImFontConfig. (#6925) thedmd 2023-10-14 18:03:56 +02:00
  • 0941adc931 Backends: SDL3: Updates for recent API changes. (#7000) (w/ multi-viewports version) ocornut 2023-11-13 16:20:38 +01:00
  • add915bdc4 Backends: SDL3: Updates for recent API changes. (#7000) ocornut 2023-11-13 16:20:38 +01:00
  • 4ad5817aac Update backends/language lists omar 2023-11-13 15:47:25 +01:00
  • 75c46a3930 Demo: Partly fix resizing constraint demo. (#6210, #5627) ocornut 2023-11-13 14:53:14 +01:00
  • fe6544622b SetNextWindowSizeConstraints() clarified parameters, fixed comments. (#1139, #3186, #3270) ocornut 2023-11-13 14:13:17 +01:00
  • 454f36d2af Removed 'bool border' legacy versions of BeginChild() as they seemingly have no value other than confusing user and IDE. ocornut 2023-11-10 16:03:19 +01:00
  • 9d950444a2 Backends: Vulkan: Fixes for VK_NO_PROTOTYPES (docking merge + reorder docking only bits) ocornut 2023-11-10 15:10:27 +01:00
  • 44dbad64d7 Backends: Vulkan: Fixes for VK_NO_PROTOTYPES. ocornut 2023-11-10 15:10:27 +01:00
  • 450f1d7e7b Merge branch 'master' into docking ocornut 2023-11-10 14:56:10 +01:00
  • 79a9e2fdfb Backends: Vulkan: (Breaking) full font upload is performed by ImGui_ImplVulkan_CreateFontsTexture(), no need for user code to create or provide a command-buffer. Removed ImGui_ImplVulkan_DestroyFontUploadObjects(). (#6943, #6715, #6327, #3743, #4618) ocornut 2023-11-10 14:35:33 +01:00
  • 6e7b43b6c7 Backends: Vulkan: Added ImGui_ImplVulkan_DestroyFontsTexture(), made ImGui_ImplVulkan_CreateFontsTexture() destroy previous one. (#6943, #6715, #6327, #3743, #4618) ocornut 2023-11-10 14:17:11 +01:00
  • d0da79c572 Defining IMGUI_DISABLE_OBSOLETE_FUNCTIONS now automaticaly define IMGUI_DISABLE_OBSOLETE_KEYIO. (#4921) ocornut 2023-11-09 16:51:31 +01:00
  • ab522dd18c Removed IM_OFFSETOF() macro in favor of using offsetof() available in C++11. Kept redirection define. (#4537) ocornut 2023-11-09 16:44:39 +01:00
  • 0f50b52da4 Backends: OpenGL3: Update GL3W based imgui_impl_opengl3_loader.h to load "libGL.so" instead of "libGL.so.1". (#6983) ocornut 2023-11-09 12:38:56 +01:00
  • 5170a9d6dc Tables: Internals: renamed TableDrawContextMenu() to TableDrawDefaultContextMenu() for clarify. ocornut 2023-11-09 12:22:35 +01:00
  • fea52e29aa Tables: added flags to TableDrawContextMenu() in order to display selected sections + added internal table->DisableDefaultContextMenu = true way to submit your own contents. ocornut 2023-11-09 11:40:16 +01:00
  • 37ea320b96 Merge branch 'master' into docking ocornut 2023-11-07 20:20:41 +01:00
  • 0d3b468cb3 BeginChild(): added ImGuiChildFlags_AutoResizeX, ImGuiChildFlags_AutoResizeY, ImGuiChildFlags_AlwaysAutoResize + support for SetNextWindowSizeConstraints(). (#1666, #1395, #1496, #1710) + Demo ocornut 2023-10-17 17:39:56 +02:00
  • 44345c2108 Better documented the difference between BeginListBox() and BeginChild() w/ ImGuiChildFlags_FrameStyle. ocornut 2023-11-07 20:14:54 +01:00
  • fa4c49b4a7 BeginChild(): resizing is only clamped on axis where there's no scrollbar. Added an extra ResizeX in Demo->Simple Layout. ocornut 2023-11-07 17:15:57 +01:00
  • cdbc21a191 BeginChild(): Added ImGuiChildFlags_FrameStyle as a replacement for BeginChildFrame(). (#1666, #1496, #1395, #1710, #462, #503, #263) ocornut 2023-11-07 18:28:03 +01:00
  • ab47efd9a0 Bits / comments ocornut 2023-11-06 15:35:31 +01:00
  • 561af15d67 Internal: Added owner aware variant of IsMouseDoubleClicked() for consistency. ocornut 2023-11-06 14:09:35 +01:00
  • 376035fd01 Nav: fixed programmatic nav calls (e.g. SetKeyboardFocusHere() from storing io.KeyMods) ocornut 2023-11-06 14:03:40 +01:00
  • cfc71ab7c5 Made ImDrawCallback_ResetRenderState special value -8 instead of -1 so it is pointer aligned (#6969) ocornut 2023-11-06 14:00:39 +01:00
  • 208b8242bc Docking: Settings: Fix for loss of settings caused by 9298e31 yesterday. (#6982) ocornut 2023-11-03 21:13:59 +01:00
  • 1ab63d925f Undid some of the changes done by c95fbb4 because they are not compatible with docking code. ocornut 2023-11-02 18:06:38 +01:00
  • 4cde40dbe1 Undid some of the changes done by c95fbb4 because they are not compatible with docking code. ocornut 2023-11-02 18:06:38 +01:00
  • 9298e310b2 Merge branch 'master' into docking (note: won't build as-is, see next commit) ocornut 2023-11-02 17:56:54 +01:00
  • c0bc43ccff Offset values for ImGuiWindowFlags_NoNavInputs, ImGuiWindowFlags_NoNavFocus, ImGuiWindowFlags_UnsavedDocument. ocornut 2023-11-02 17:39:32 +01:00
  • f1d1a8d32b Windows: use relative mouse movement for border resize when the border geometry has moved. (#1710) ocornut 2023-10-31 18:37:49 +01:00
  • 9235352400 BeginChild: Added ImGuiChildFlags_ResizeX and ImGuiChildFlags_ResizeY. (#1710) ocornut 2023-10-19 18:36:57 +02:00
  • 34a0bc456e BeginChild: Added ImGuiChildFlags_AlwaysUseWindowPadding, obsoleted ImGuiWindowFlags_AlwaysUseWindowPadding. (#462, (toward #1666, #1496, #1395, #1710) ocornut 2023-10-18 19:15:31 +02:00
  • 7713c29258 BeginChild: Upgraded 'bool border = true' parameter to use a ImGuiChildFlags type and the ImGuiChildFlags_Border value. (toward #1666, #1496, #1395, #1710) ocornut 2023-10-18 18:50:19 +02:00
  • 04e9a2fac1 Backends: SDL3: rename SDL_EVENT_DISPLAY (#6974) Luca Lolli 2023-11-01 13:53:30 +01:00
  • 88fec09715 ColorPicker4(): Fixed ImGuiColorEditFlags_NoTooltip when ImGuiColorEditFlags_NoSidePreview is also set. (#6957) ocornut 2023-10-26 15:45:45 +02:00
  • 313676d200 Settings: omit outputing Collapsed=0 in .ini file. Changelog + docs tweaks ocornut 2023-10-20 17:04:51 +02:00
  • 8ee85137d8 BeginChild(): Internal name used by child windows now omits the hash/id if the child window is submitted in root of id stack of parent window. ocornut 2023-10-20 15:27:25 +02:00
  • 4e4042bc33 Windows: tidying up skipitems logic at end of Begin(), normally should be no meaningful side-effect. ocornut 2023-10-20 15:12:29 +02:00
  • bc3c6e74e6 Windows: fixed double-clicked border from showing highlighted at the new position. ocornut 2023-10-19 17:40:32 +02:00
  • e2035a514c Windows: shared code for CalcWindowMinSize(). ocornut 2023-10-19 17:28:16 +02:00
  • c95fbb4464 Windows: Double-clicking bottom or right window border auto-resize on a singles axis. ocornut 2023-10-19 16:06:07 +02:00
  • ade2acfd1d Inputs: Added IsKeyChordPressed() public helper function. ocornut 2023-10-19 14:44:24 +02:00
  • 2a6d7b1eaa Merge branch 'master' into docking ocornut 2023-10-18 19:45:19 +02:00
  • 1b9cb52d7b BeginChild(): rename parameters to reduce diff of upcoming patches. ocornut 2023-10-18 18:39:20 +02:00
  • f8dc03d702 Windows: Can also auto-resize by double-clicking lower-left resize grip (not only lower-right one). ocornut 2023-10-18 16:36:35 +02:00
  • 56f7e853be Demo: expose more Combo flags + misc tidying up. ocornut 2023-10-17 17:39:50 +02:00
  • 9a5da23553 Changelog formatting ocornut 2023-10-17 14:18:48 +02:00
  • d6d00b4fcf Moved BeginChild() above BeginChildEx() as it is more readable. ocornut 2023-10-17 13:44:23 +02:00
  • 99913b5051 Internals: added IsKeyChordPressed() for consistency. ocornut 2023-10-16 22:21:29 +02:00
  • a8bdbfddf9 Tables: Fixed top-most and left-most outer border overlapping inner clip-rect when scrolling. (#6765) ocornut 2023-10-16 21:41:36 +02:00
  • 8db02ef8df Tables: Fixed an issue with ScrollX enabled where an extraneous draw command would be created. ocornut 2023-10-16 21:33:51 +02:00
  • 51d1a72e9b Docking: Revised undocking logic to reduce accidental whole-node undocking: ocornut 2023-10-16 15:41:14 +02:00
  • 4521dec85d Docking: Fixed DockNodeBeginAmendTabBar() asserting on first call since ef8ff1b ocornut 2023-10-16 11:41:18 +02:00
  • 947255c3da Tooltips: made it possible to use ImGuiHoveredFlags_ForTooltip + a ImGuiHoveredFlags_DelayXXXX override. (#1485) ocornut 2023-10-16 11:56:03 +02:00
  • 0b8c6b9bce Internals: removed seemingly unused AutoFitChildAxises. ocornut 2023-10-13 14:52:08 +02:00
  • 12a3c77c2f Demo: Minor tweak to angled headers demo. ocornut 2023-10-12 20:00:34 +02:00
  • 83c4336828 Tables: fixed angled headers with frozen columns. ocornut 2023-10-12 19:47:37 +02:00
  • f96c5443b1 Tables: fixed angled headers with frozen columns. ocornut 2023-10-12 19:47:37 +02:00
  • f7fc186408 Merge branch 'master' into docking ocornut 2023-10-12 19:22:08 +02:00
  • 32228d8add Tables: added Angled headers support. Added ImGuiTableColumnFlags_AngledHeader, ImGui::TableHeadersAngledRow(), style.TableAngledHeadersAngle. (#2957) ocornut 2023-10-12 17:01:42 +02:00
  • 9f851ebfe4 Tables: added ImGuiTableFlags_HighlightHoveredColumn. ocornut 2023-10-12 14:43:34 +02:00
  • be1311cfc1 Tables: fixed double-clicking on a column from clearing HoveredColumnBorder for a frame. ocornut 2023-10-11 21:40:21 +02:00
  • 08606714a3 Fixed incorrect assert in FocusTopMostWindowUnderOne() preventing child+popup from being used. (#6915, #718) ocornut 2023-10-12 12:21:30 +02:00