Commit Graph

  • 77e4171894 Shortcuts: added flags to SetNextItemShortcut(). (#456) ocornut 2024-05-23 16:12:58 +02:00
  • 197f8904fe Shortcuts, Nav: make SetNextItemShortcut() work when another item is active. Made NavCalcPreferredRefPos() take account for remote activation. (#456) ocornut 2024-05-23 16:09:32 +02:00
  • dc5caa483c Demo: added "Shortcuts" section. (#456, #2637) ocornut 2023-03-07 17:37:15 +01:00
  • fc512a2474 Inputs: Added Shortcut(), SetNextItemShortcut(). Added ImGuiInputFlags, ImGuiInputFlags_RouteXXXX. (#456, #2637) ocornut 2024-05-22 18:43:01 +02:00
  • 85513de247 Internals, Inputs: *Breaking* Swapped parameter order of owner-aware versions of IsKeyPressed(), IsKeyChordPressed(), IsMouseClicked(). (#456) ocornut 2024-05-22 14:21:53 +02:00
  • 900b29055c Internals, Inputs: *Breaking* Swapped parameter order of Shortcut(). (#456) ocornut 2024-05-22 13:59:07 +02:00
  • 55748cdbe1 Internals, Inputs: *Breaking* Renamed ImGuiKeyOwner_None to ImGuiKeyOwner_NoOwner: avoid confusion with non zero value, makes IsKeyPressed() calls using ImGuiKeyOwner_NoOwner more explicit. ocornut 2024-05-22 11:56:58 +02:00
  • ec1d2be96f Examples: Win32+DX9,DX10,DX11,DX12: rework main loop to handle minimization and screen locking. (#2496, #3907, #6308, #7615) ocornut 2024-05-23 15:15:42 +02:00
  • 6d1a6f1c74 Internals, Inputs: Comments, alignment. ocornut 2024-05-21 17:55:56 +02:00
  • 4c3eac2c10 Backends: OpenGL3: Fixed zealous warning by initializing last_pixel_unpack_buffer. (#7614) Michal ŠlesárandGitHub 2024-05-22 12:01:54 +02:00
  • a1566c5e1b Tables: fixed 28a283b breaking PageDown on tables with no interactive items. ocornut 2024-05-21 12:35:22 +02:00
  • aa725ca79d Inputs: moving ImGuiInputFlags_RouteAlways into ImGuiInputFlags_RouteTypeMask_ ocornut 2024-05-21 12:28:47 +02:00
  • cd48059dc5 Tables: comments about skipping access to table data in coarse clipping path. ocornut 2024-05-21 11:34:58 +02:00
  • 28a283b460 Windows: BeginChild(), Tables:fixed visibility of fully clipped child windows and tables to Test Engine. ocornut 2024-05-21 10:54:30 +02:00
  • aa5a6098ee Fixed typos in comments (#7599) Eugene SandulenkoandGitHub 2024-05-18 17:10:36 +02:00
  • d39ca33b63 Fixed false positive with PVS-Studio. ocornut 2024-05-17 17:13:43 +02:00
  • ae8218a3ea Inputs, Shortcut: fixes some edge cases for GetKeyChordName(), clarify that it is aimed at display. (#456) ocornut 2024-05-17 17:03:00 +02:00
  • 25e279ee73 Inputs: Treat ctrl-left-click as right click when ConfigMacOSXBehaviors is set. (#2343) ocornut 2024-05-17 15:24:11 +02:00
  • b4f564c1ed Internals: Shortcuts: *Breaking* : rename ImGuiInputFlags_RouteGlobalLow -> ImGuiInputFlags_RouteGlobal, ImGuiInputFlags_RouteGlobal -> ImGuiInputFlags_RouteGlobalOverFocused, ImGuiInputFlags_RouteGlobalHigh -> ImGuiInputFlags_RouteGlobalHighest (#456) ocornut 2024-05-17 14:18:22 +02:00
  • 5107e58b0f Inputs: amend changelog and clarify how the swap might be a breaking change for a minority of users. (#2343) ocornut 2024-05-16 19:56:29 +02:00
  • 8bd5d1d42f Inputs: Fixed swapping of keys associated to mods. Fixed warnings. (#2343, #4084, #5923, #456) ocornut 2024-05-16 19:22:09 +02:00
  • 7747106647 Inputs: swap Ctrl and Cmd on macOS X, remove ImGuiMod_Shortcut. (#2343, #4084, #5923, #456) ocornut 2024-05-15 18:34:21 +02:00
  • 07dbcf1f70 Fixed typos. (#7593) Hubert Maierandocornut 2024-05-16 08:58:45 +02:00
  • 93daf23223 Examples: SDL3: updates for latest SDL3 API changes. ocornut 2024-05-15 14:18:48 +02:00
  • e45efa9951 Backends: SDL3: Rename SDLK_QUOTE and SDLK_BACKQUOTE to SDLK_APOSTROPHE and SDLK_GRAVE. (#7580) kuvausandocornut 2024-05-14 04:44:48 +03:00
  • 5d973a87d4 Backends: SDL_Renderer2/SDL_Renderer3: and ImGui_ImplSDLRenderer2_RenderDrawData() and ImGui_ImplSDLRenderer3_RenderDrawData() now takes a SDL_Renderer* parameter. ocornut 2024-05-14 19:10:31 +02:00
  • af2fbf043d Backends/Internals: Don't use IME and clipboard default win32 functions when WINAPI_FAMILY_GAMES (#7585) Erin MandGitHub 2024-05-15 11:42:56 +02:00
  • e4576914cb Internals: amend f806c76 to better match docking + fixed unused static forward declaration warning. ocornut 2024-05-14 16:17:13 +02:00
  • d0524df887 Internals: slight refactor FindHoveredWindow() -> FindHoveredWindowEx() toward reducing far-away code duplication. ocornut 2024-05-14 15:47:38 +02:00
  • f806c76e97 Tables, Dpi: added dummy g.DpiScale storage (to be altered in docking), using to scale tables border hit thickness. ocornut 2024-05-14 14:34:52 +02:00
  • f0912833ba Update FAQ.md (#7581) omarandGitHub 2024-05-14 14:09:46 +02:00
  • ac90e1bd5b Backends: Win32: replace bd != nullptr assert with early out. (#6275) ocornut 2024-05-14 12:10:06 +02:00
  • 0a5d40a016 Update FAQ.md omarandGitHub 2024-05-14 11:40:23 +02:00
  • d06b8b58d8 Nav: fixed holding Ctrl or gamepad L1 from not slowing down keyboard/gamepad tweak speed. ocornut 2024-05-13 15:25:11 +02:00
  • 5e23680454 Backends: all backends + demo now call IMGUI_CHECKVERSION() to verify ABI compatibility between caller code and compiled version of dear imgui. (#7568) ocornut 2024-05-13 15:07:13 +02:00
  • 510eb8f480 Tables: fixed cell background of fully clipped row overlapping with header. (#7575, #7041) prabuandocornut 2024-05-11 18:26:45 +05:30
  • f48aae600a Version 1.90.7 WIP ocornut 2024-05-13 14:47:37 +02:00
  • 6ccc561a2a Version 1.90.6 ocornut 2024-05-08 15:38:33 +02:00
  • 0d483a1c89 Backends: OpenGL3: Update loader for Linux to support EGL/GLVND. (#7562) ocornut 2024-05-07 18:23:29 +02:00
  • 92df32d339 Backends: OpenGL3: minor update of generated loader to match latest downloaded glcorearb.h/khrplatform.h files. ocornut 2024-05-07 17:46:36 +02:00
  • 1ab1af80c7 Backends: Win32: Facepalm revert part of d15574c + additional commentary (#6275) ocornut 2024-05-07 17:03:05 +02:00
  • d15574ce2a Backends: Win32: Removed silent return when calling ImGui_ImplWin32_WndProcHandler() with no active context! (#6275) ocornut 2024-05-07 16:53:03 +02:00
  • d4495446d5 Windows, Internal: added experimental SkipRefresh mode. (#3515, #4763, #7556, #5116 , #4076, #2749, #2268) ocornut 2024-05-03 18:04:07 +02:00
  • 0b309471f2 Windows: Changed default ClipRect to extend to windows' left and right borders. (#3312, #7540, #3756, #6170, #6365) ocornut 2024-05-03 16:00:20 +02:00
  • 0c9c12c1bb InnerClipRect use ImFloor() matching docking branch (fix c41868531 for #6861, #2884, followed by rename 94da5842) ocornut 2024-05-03 15:51:49 +02:00
  • 6ebbecc6a0 Realign assignments. ocornut 2024-05-03 12:57:07 +02:00
  • fc4d818e17 Tables: Angled headers: added TableAngledHeadersTextAlign, ImGuiStyleVar_TableAngledHeadersTextAlign. (#6917) thedmdandocornut 2024-04-30 16:08:48 +02:00
  • 4bb7567141 Tables: Angled headers: fixed multi-line label display when angle is flipped. (#6917) ocornut 2024-05-02 13:49:26 +02:00
  • b30df8890d Table: Angled Headers: internal refactor to facilitate changing angled header bg and text colors per column. (#6917) ocornut 2024-04-30 17:39:52 +02:00
  • 558c57a086 Fixed static analyzer warning "Pointer to local array 'overlay_buf' is stored outside the scope". Technically not used outside that scope, but best to play nice. ocornut 2024-04-30 11:00:57 +02:00
  • 50b2ff0bf0 ImGuiIO: moved IMGUI_DISABLE_OBSOLETE_KEYIO block lower in the structure so other fields layout are not affected by it (#7534) ocornut 2024-04-30 10:23:03 +02:00
  • 6ef4f67fa9 ImDrawList: moved cold fields lower in the structure so hot fields are closer to each others + better packed ImGuiNavItemData ocornut 2024-04-30 10:00:46 +02:00
  • a60387a3c2 Backends: GLFW: Add define guards for glfw native defines. (#7536) Lukas LippandGitHub 2024-04-29 19:24:17 +02:00
  • 913151caa8 Demo: move progress bars to their own section. ocornut 2024-04-24 19:39:03 +02:00
  • c895e987ad ProgressBar: added indeterminate mode by passing an animated negative value. (#5316, #5370, #1901) gan74andocornut 2024-04-24 19:32:36 +02:00
  • b8a44b198c TreeNode: added ImGuiTreeNodeFlags_SpanTextWidth. (#6937) diego.mateosandocornut 2023-10-17 12:21:21 +02:00
  • baaaaea9e9 Demo: tweak TreeNode demo. ocornut 2024-04-24 18:20:02 +02:00
  • da18fcb7ae Internals: ensure ButtonBehavior() is called with non 0 id. ocornut 2024-04-23 18:39:40 +02:00
  • b720c0f541 Backends: Vulkan: Added convenience support for Volk via IMGUI_IMPL_VULKAN_USE_VOLK define. (#6582, #4854) ocornut 2024-04-19 15:16:54 +02:00
  • 07e8ff9a8d Backends: Win32: Fixed a warning + moved header cruft below Changelog. ocornut 2024-04-18 21:26:49 +02:00
  • fa0120ea5e Windows: Fixed subsequent Begin() append calls from setting last item information for title-bar. (#7506, #823) ocornut 2024-04-18 21:10:05 +02:00
  • 361432a0bb TreeNode: fixed layout so that TreeNode("") or TreeNode("##HiddenLabel") may properly be used with SameLine(0,0). (#7505, #282) ocornut 2024-04-18 19:08:58 +02:00
  • eba46cb0d2 Drag and Drop: assert when nesting BeginDragDropSource() and BeginDragDropTarget() (#7504) + update Gallery links ocornut 2024-04-17 18:00:55 +02:00
  • 9ec299ebe3 Backends: OpenGL: Detect ES3 contexts on desktop based on version string, (#7447) ocornut 2024-04-16 16:17:48 +02:00
  • 7b8107e7c8 Examples: GLFW+WebGPU: Rename example_emscripten_wgpu/ to example_glfw_wgpu/ (#7435, #7132) ocornut 2024-04-16 13:51:03 +02:00
  • 648278cd62 Examples: GLFW+WebGPU: Amends. (#7435, #7132) ocornut 2024-04-16 12:08:45 +02:00
  • 80a5fdb108 Examples: GLFW+WebGPU: Fixed condition for when to recreate swapchain. (#7435, #7132) Jules Fouchyandocornut 2024-04-05 19:07:39 +02:00
  • f9df6bf662 Examples: GLFW+WebGPU: added support for WebGPU-native/Dawn (#7435, #7132) Elias Dalerandocornut 2024-03-24 14:18:10 +01:00
  • b475309fa1 Fonts: Fixed font ascent and descent calculation when a font hits exact integer values. (#7399, #7404) GamingMinds-DanielCandocornut 2024-03-14 14:58:32 +01:00
  • daecfffefb Text, DrawList: Improved handling of long single-line wrapped text. (#7496, #5720) ocornut 2024-04-15 12:52:45 +02:00
  • fab96a6e59 Backends: SDL3: Re-enable calling SDL_StartTextInput()/SDL_StopTextInput(). (#7452, #6306, #6071, #1953) Green Skyandocornut 2024-03-28 21:05:44 +01:00
  • dad1689bf7 Examples: SDL3: amend for removal of SDL_RENDERER_ACCELERATED. ocornut 2024-04-15 12:08:07 +02:00
  • 3caa79c8a5 Version 1.90.6 WIP ocornut 2024-04-15 11:27:07 +02:00
  • 76bc1b825e Extracted part of NewFrame() into SetupDrawListSharedData() for documentation purpose. (#7495, #6406) ocornut 2024-04-15 11:24:43 +02:00
  • f790d51665 Silent zealous/stupid warning introduced by Clang 16 (shipping with VS2022) with -Weverything. Pointers are now illegal! ocornut 2024-04-12 16:55:32 +02:00
  • 231cbee0fc Version 1.90.5 ocornut 2024-04-11 15:45:27 +02:00
  • 4f9ba19e52 Drags, Sliders, Inputs: Reactivated decimal point replacement for SliderScalar and DragScalar. (#7389, #6719, #2278) GamingMinds-DanielCandocornut 2024-03-11 16:35:27 +01:00
  • e7712ff103 Out of courtesy/consistency move all the DebugHookIdInfo compares into ifndef block. ocornut 2024-04-03 10:50:32 +09:00
  • f959c417fe Refactor moving ID stack functions to their own section (part 2) ocornut 2024-04-03 10:47:15 +09:00
  • 0bf134a8e2 Refactor moving ID stack functions to their own section. ocornut 2024-04-03 10:42:57 +09:00
  • 9a2b598ec1 ListBox: Fixed text-baseline offset when using SameLine()+Text() after a labeled ListBox(). ocornut 2024-04-03 10:18:49 +09:00
  • d3c3514a59 Tables: Fixed auto-width columns when using synced-instances of same table. (#7218) ocornut 2024-03-29 19:39:05 +09:00
  • 25a492f330 ProgressBar: Fixed passing fraction==NaN from leading to a crash. (#7451) ocornut 2024-03-29 19:09:55 +09:00
  • 9638c2839a Internals: adding ImGuiNavMoveFlags_NoClearActiveId even though there's currently no satisfying way to take advantage of it. (#1418) ocornut 2024-03-27 12:00:50 +09:00
  • 742e53434f Child Windows: adjust resizing limits to match window padding rather than inner clipping rectangle. (#7440) ocornut 2024-03-27 11:36:57 +09:00
  • 515b437c08 Child windows: look at the parent window's flags to decide whether to clamp child resizes. (#7440, #1710) cfillionandocornut 2024-03-25 13:31:46 -04:00
  • 976dc23965 Windows: extend outer resize borders to the edges when there are no corner grips. (#7440, #1710) cfillionandocornut 2024-03-25 10:02:40 -04:00
  • 37b37fc2a3 DrawList: Allow AddText() to accept null ranges. (#3615, 7391) ocornut 2024-03-27 10:50:55 +09:00
  • 5c5ae806aa Comments ocornut 2024-03-26 14:15:35 +09:00
  • cf4c10bef7 Style: added ImGuiStyleVar_TabBorderSize, ImGuiStyleVar_TableAngledHeadersAngle. (#7411) cfillionandocornut 2024-03-17 08:48:52 -04:00
  • f0802287db Tables: Angled headers: fixed table contents overflowing when a list clipper is used. (#7416) cfillionandocornut 2024-03-18 02:45:38 -04:00
  • 29ff159f94 Tables: Angled headers: fixed borders not moving back up after TableAngleHeadersRow stops being called. (#7416) cfillionandocornut 2024-03-18 02:10:46 -04:00
  • 38ddfb24f0 Tables: Angled headers: fixed border hit box extending beyond non-scrollable tables. (#7416) cfillionandocornut 2024-03-18 01:39:36 -04:00
  • 8be48a44f7 Backends: WebGPU: Avoid using -1u literal (#7436) Elie MichelandGitHub 2024-03-25 03:10:38 +01:00
  • 868facff9d ImDrawList: (Breaking) merge float radius_x/radius_y parameters into ImVec2 radius in PathEllipticalArcTo(), AddEllipse(), AddEllipseFilled(). (#2743, #7417) cfillionandocornut 2024-03-18 04:55:33 -04:00
  • 0a1f5b94e3 Demo: Two minor fixes (unchecked BeginTooltip + incorrect height constraint) (#7410)l Christian FillionandGitHub 2024-03-18 02:29:10 -04:00
  • 40df3db1a2 Tweaking terminology ocornut 2024-03-17 19:46:12 +09:00
  • da29b776ee Backends: SDL3: Fix leak of SDL_GetGamepads() return value (#7381) Robert EdmondsandGitHub 2024-03-11 10:04:56 +00:00
  • 3c435c0297 Inputs: (Breaking) More formally obsoleted GetKeyIndex() when IMGUI_DISABLE_OBSOLETE_FUNCTIONS is set. (#4921) ocornut 2024-03-08 12:12:21 +01:00
  • 286cd5bd41 Internals, InputText: removed ImGuiInputSource_Clipboard. (#4005) ocornut 2024-03-07 15:00:07 +01:00