Commit Graph

  • 63370be0e5 Viewports: fix/amend dcb6335 to (1) avoid refocusing when focus action was actionned from a click within imgui boundaries and (2) restore a null focus as well. (#6299) ocornut 2023-04-06 16:29:36 +02:00
  • 1f0b46b93c Viewports: moved Platform_GetWindowFocus queries in UpdateViewportsNewFrame(). Added ImGuiViewportFlags_IsFocused status flag. (#1542) ocornut 2023-04-06 15:43:26 +02:00
  • ed72fcd12a Viewports: Internal: rename LastFrontMostStampCount -> LastFocusedStampCount. Rename ImGuiViewportFlags_Minimized -> ImGuiViewportFlags_IsMinimized ocornut 2023-04-06 14:31:27 +02:00
  • dcb6335bfe Viewports: Setting focus from Platform/OS sets corresponding focus at Dear ImGui level. (#6299) ocornut 2023-04-05 20:25:05 +02:00
  • 47a07d8476 ButtonBehavior: Fixed an edge case where changing widget type/behavior while active and using same id could lead to an assert. (#6304) ocornut 2023-04-04 21:43:48 +02:00
  • ee5ce36745 Merge branch 'master' into docking, including specific merge for imgui_impl_glfw.cpp for f070497 ocornut 2023-04-04 21:15:21 +02:00
  • c9fe7ebc7b IO: Input queue trickling adjustment for touch screens. (#2702, #4921) ocornut 2023-04-04 20:07:57 +02:00
  • f070497cbd Backends: Win32/SDL2/SDL3/GLFW: Added support for io.AddMouseSourceEvent(). (#2334, #2702) ocornut 2023-04-04 19:43:51 +02:00
  • a16f99c6a2 IO: Added io.AddMouseSourceEvent() and ImGuiMouseSource enum. (#2702, #2334, #2372, #3453, #5693) ocornut 2023-04-04 19:32:51 +02:00
  • 9a1e09eb1f Fixed ImVec2 operator[] warning.in Clang. (#6272) ocornut 2023-04-04 19:26:48 +02:00
  • 13931fd851 Redirecting domain name ocornut 2023-04-03 15:07:20 +02:00
  • e8206db829 InputText: Fixed crash introduced by 5a2b1e848 (#6292, #4714) ocornut 2023-04-02 17:29:11 +02:00
  • 4fdafef54f Merge branch 'master' into docking ocornut 2023-03-29 18:41:41 +02:00
  • 5f301914a0 TabBar: Tab-bars with ImGuiTabBarFlags_FittingPolicyScroll can be scrolled with horizontal mouse-wheel (or Shift + WheelY). (#2702) ocornut 2023-03-29 17:09:16 +02:00
  • 84fd0c7ff4 Inputs, IO: record MouseWheelRequestAxisSwap information. Apply in UpdateMouseWheel() before legacy ctrl+wheel. ocornut 2023-03-29 17:06:44 +02:00
  • a38e3c222f Fixed ImVec2 operator[] violating aliasing rules causing issue with Intel C++ compiler. (#6272) ocornut 2023-03-29 12:42:51 +02:00
  • f65bcf481a Docs: added details and link to wiki from imgui_stdlib to increase discoverability. ocornut 2023-03-23 19:03:17 +01:00
  • 8a6911b894 Backends: Fixes zealous warnings (#5760) ocornut 2023-03-23 18:17:45 +01:00
  • 7dcf129b3b Backends: OpenGL3: Properly restoring "no shader program bound". (#6267, #6220, #6224) ocornut 2023-03-23 13:27:29 +01:00
  • 821814b450 InputText: Reworked prev/next-word behavior . Include period as delimiter and tweak prev/next words logic. (#6067) AJ Weeks 2023-03-22 20:27:17 +01:00
  • bf87fbcbcc Docking: Fixed using GetItemXXX() or IsItemXXX() functions after a DockSpace(). (#6217) ocornut 2023-03-22 18:48:16 +01:00
  • 89d09070e3 Nav: Made Ctrl+Tab/Ctrl+Shift+Tab windowing register ownership to held modifier. (#4828, #3255, #5641) ocornut 2023-03-22 15:42:14 +01:00
  • c98bad042d ColorEdit, RadioButton, Windows: Using adaptative tesselation for preview circles. ocornut 2023-03-21 17:38:32 +01:00
  • 9ac94ff001 ColorPicker: Fixed shading of S/V triangle in Hue Wheel mode. (#6254, #5200) PanForPancakes 2023-03-19 00:56:25 +04:00
  • ad44f5831a Merge branch 'master' into docking ocornut 2023-03-21 16:51:19 +01:00
  • d885094be3 Demo: stop relying on internal function. ocornut 2023-03-21 16:50:02 +01:00
  • e55a0ef107 IO: avoid changing context in AddKeyAnalogEvent(). Amend 7269498. (#6199, #6256, #4921, #5856) ocornut 2023-03-21 14:25:34 +01:00
  • 7269498ecc IO: actually fixed adding events from inactive context (#6199, #6256, #4921, #5856) cfillion 2023-03-18 19:12:45 -04:00
  • 5320a6ebd3 Backends: Made SDL3 backend compatible with commit 698dbd8. (#6255, #6146) Bruno Perković 2023-03-18 23:20:50 +01:00
  • cac76b2754 Slider, Drags: skip %+ and %# format flags for scanning. (#6259) David Briscoe 2023-03-20 13:51:53 -07:00
  • 5a2b1e8482 InputText: Fixed a tricky edge case, ensuring value is always written back on the frame where IsItemDeactivated() returns true (#4714) ocornut 2021-12-08 20:54:04 +01:00
  • 314e6443c9 Internals: removed ImGuiInputSource_Nav enum, ocornut 2023-03-16 20:28:05 +01:00
  • 5d4a8978bd Docs: added all older versions to Changelog. ocornut 2023-03-16 15:15:02 +01:00
  • c501c2d4cd Internals: inverted a block in InputScalar() to facilitate reading/stepping in common case. ocornut 2023-03-16 14:48:35 +01:00
  • 6b3435a2db Merge branch 'master' into docking ocornut 2023-03-16 12:01:13 +01:00
  • 91577c7f51 Backends: GLFW: Fixed key modifiers handling on secondary viewports. (#6248, #6034) Aiekick 2023-03-16 11:58:32 +01:00
  • 301c956039 Examples: Windows: Added 'misc/debuggers/imgui.natstepfilter' file to all Visual Studio projects. (#3038) ocornut 2023-03-15 17:09:03 +01:00
  • 8b6e021f35 Demo: Fixed typos. (#6247) Ambrose Bonnaire-Sergeant 2023-03-15 10:55:47 -04:00
  • ae4dad09b5 Examples: SDL3: Updated for latest WIP SDL3 branch. (#6243) ocornut 2023-03-15 15:04:07 +01:00
  • 85beda96de Backends: GLFW: Fix Emscripten erroneously enabling multi-viewport support, leading to assert. (#5683) ocornut 2023-03-15 14:51:46 +01:00
  • 0d606968d8 Backend: OpenGL3: Amend b0c18166 fix cases where glGetString(GL_VERSION) returns NULL. (#6154, #4445, #3530) ocornut 2023-03-15 12:25:34 +01:00
  • 24a44b9abe Version 1.89.5 WIP ocornut 2023-03-15 12:25:20 +01:00
  • 9e30fb0ec1 Merge branch 'master' into docking ocornut 2023-03-14 16:38:22 +01:00
  • f3f6295d53 Version 1.89.4 v1.89.4 ocornut 2023-03-14 16:08:31 +01:00
  • e39c2552ac Backends: GLFW: Avoid using glfwGetError() and glfwGetGamepadState() on Emscripten. (#6240) ocornut 2023-03-14 15:56:38 +01:00
  • cc2177de15 Debug Tools: Added io.ConfigDebugBeginReturnValueOnce / io.ConfigDebugBeginReturnValueLoop options. ocornut 2023-03-14 15:24:16 +01:00
  • 552969e33e BeginTooltip: correctly testing return value of BeginTooltipEx() even though it always return true in current code. ocornut 2023-03-14 14:28:41 +01:00
  • c426e32247 Tables: Fixed an issue where user's Y cursor movement within a hidden column would have side-effects. ocornut 2023-03-13 16:23:45 +01:00
  • 6ca1556d02 Nav: Fixed SetItemDefaultFocus() from not scrolling when item is partially visible. (#2814, #2812) domgho 2019-09-29 12:29:48 +02:00
  • 9937660b1c Merge branch 'master' into docking ocornut 2023-03-10 18:40:04 +01:00
  • bb224c8aa1 Examples: Updated all examples application to enable ImGuiConfigFlags_NavEnableKeyboard and ImGuiConfigFlags_NavEnableGamepad by default. ocornut 2023-03-10 18:35:03 +01:00
  • 2bb9e35a48 Nav: Tabbing now cycles through all items when ImGuiConfigFlags_NavEnableKeyboard is set. (#3092, #5759, #787) ocornut 2023-03-09 18:53:20 +01:00
  • e83fb468c6 Renamed PushAllowKeyboardFocus()/PopAllowKeyboardFocus() to PushTabStop()/PopTabStop(). (#3092) ocornut 2023-03-09 17:31:06 +01:00
  • a322122f74 InputText: Fixed not being able to use CTRL+Tab while an InputText() using Tab for completion or textinput is active. ocornut 2023-03-09 16:21:44 +01:00
  • 3b2f617652 BeginTooltip: Added 'bool' return value to BeginTooltip() for API consistency. Updated demo. ocornut 2023-03-09 14:59:19 +01:00
  • e2cede6542 Merge branch 'master' into docking ocornut 2023-03-08 17:41:32 +01:00
  • b5f9381036 Made internal clipboard/IME handlers not rely on implicit GImGui context (#5856) ocornut 2023-03-08 16:21:25 +01:00
  • c8ad25caa6 Make classes not depend on the implicit GImGui context (#5856, #6199): ImGuiWindow, ImGuiInputTextCallbackData, ImGuiListClipper, ImGuiStackSizes Marc Delorme 2023-03-08 15:12:00 +01:00
  • 10ace228bc Make classes not depend on the implicit GImGui context (#6199, #5856, #6199): ImGuiIO Marc Delorme 2022-11-01 20:35:05 +09:00
  • 5a1e6b60a2 Nav: Fixed an issue with Gamepad navigation when the movement lead to a scroll and frame time > repeat rate. (#6171) ocornut 2023-03-08 14:03:58 +01:00
  • c9a53aa74d Nav: Made Enter key submit the same type of Activation event as Space key. (#5606) ocornut 2023-03-07 18:38:05 +01:00
  • b4b79584d1 Internals: added GetStyleVarInfo(). exposed previously .cpp only ImGuiStyleVarInfo as ImGuiDataVarInfo. ocornut 2023-03-07 14:40:25 +01:00
  • 57d0fcd021 Examples: Fix Android example build for Gradle 8. (#6229) duddel 2023-03-07 07:17:56 +01:00
  • b6586bb06d TestEngine: update IMGUI_TEST_ENGINE_ITEM_ADD() hooks to support passing item in flags. ocornut 2023-03-06 18:10:04 +01:00
  • 1c29a8ed18 Debug Log: auto-disable ImGuiDebugLogFlags_EventClipper to reduce spam. ocornut 2023-03-06 18:09:37 +01:00
  • f5c5a710aa Docking: exposed DockNodeWindowMenuHandler_Default() in imgui_internal.h to facilitate reuse. ocornut 2023-03-06 17:08:09 +01:00
  • 4078abe14c Merge branch 'master' into docking ocornut 2023-03-06 17:03:55 +01:00
  • 702626dd8a Docking: storing window menu handler in a function pointer to allow customizing menu (undocumented) ocornut 2023-03-06 16:59:57 +01:00
  • 66b762577c Backends: OpenGL3: Fixed restoration of a potentially deleted OpenGL program. (#6220, #6224) Cyphall 2023-03-05 02:43:21 +01:00
  • bfce7750b1 Simpified code in GetKeyData() and used ImGuiKey_KeysData_OFFSET for consistency. Rework demo, Comments. Moved ImGuiKey_KeysData_OFFSET to internal.h (#4921, #6191) ocornut 2023-02-24 12:34:44 +01:00
  • 2496b973f9 Backends: SDL2,SDL3: Accept SDL_GetPerformanceCounter() not returning a monotonically increasing value. (#6189, #6114, #3644) Adam Kewley 2023-02-23 13:06:07 +01:00
  • e9743d85dd Drag and Drop: Clear state on EndDragDropTarget() with delivery + fixed handling of overlapping targets when smaller one is submitted before and can accept the same data type. (#6183, #5817) ocornut 2023-02-21 21:22:15 +01:00
  • 2ee77aa6be Missing closing parenthesis in debug popup log (#6177) Giuseppe Barbieri 2023-02-20 14:43:40 +01:00
  • 696a533532 TestEngine: added ImGuiItemStatusFlags_Inputable flag report to facilitate fuzzing. ocornut 2023-02-16 12:11:32 +01:00
  • 752603bc70 Fixed imgui_single_file.h for IMGUI_DEFINE_MATH_OPERATORS change. (#6164, #6137, #5966, #2832) ocornut 2023-02-15 19:50:03 +01:00
  • a1b8457cb5 Moved the optional "courtesy maths operators" (#define IMGUI_DEFINE_MATH_OPERATORS) implementation from imgui_internal.h in imgui.h. (#6164, #6137, #5966, #2832) ocornut 2023-02-15 19:14:22 +01:00
  • e25e4526cd Merge branch 'master' into docking ocornut 2023-02-15 18:18:47 +01:00
  • 5d74891285 Backends: Win32: Use WM_NCMOUSEMOVE / WM_NCMOUSELEAVE to track mouse positions over non-client area (OS decorations) when app is not focused. (#6045, #6162) ocornut 2023-02-15 17:17:34 +01:00
  • 4f630b0449 imgui_freetype: fixed non-ASCII characters in sources. (#6166) ocornut 2023-02-15 16:43:08 +01:00
  • 204cb4d226 Version 1.89.4 WIP ocornut 2023-02-15 15:35:50 +01:00
  • 192196711a Merge branch 'master' into docking ocornut 2023-02-14 16:01:11 +01:00
  • 458a109031 Version 1.89.3 v1.89.3 ocornut 2023-02-14 15:42:32 +01:00
  • b0c1816664 Backends: OpenGL3: Fixed loader compatibility with GL_VERSION for GL 2.x (#6154, #4445, #3530) Laurens Holst 2023-02-09 21:56:04 +01:00
  • fa0852f9e5 ColorEdit, ColorPicker: Fixed hue/saturation preservation logic from interfering with the displayed value (but not stored value) of others widgets instances. (#6155) ocornut 2023-02-14 15:20:01 +01:00
  • 092b6825ac Fonts: Assert that in each GlyphRanges[] pairs first is <= second. ocornut 2023-02-14 15:00:12 +01:00
  • 345184330b Internals: Settings: amend ClearWindowSettings() for Docking. ocornut 2023-02-10 18:28:45 +01:00
  • ea4565368e Merge branch 'master' into docking ocornut 2023-02-10 17:05:06 +01:00
  • f0ac68ad35 Internal: Settings: amend 0b86513 revert to use FindWindowSettingsByID(). ocornut 2023-02-10 17:01:14 +01:00
  • 082b20e46b Internals: Settings: added ClearWindowSettings(). Extract part of CreateNewWindow() into InitOrLoadWindowSettings(). ocornut 2023-02-10 15:59:01 +01:00
  • b2ebd03b16 Internals: Settings: moved Windows setting to their sub-section. ocornut 2023-02-10 15:51:26 +01:00
  • 0b865136e3 Internals: Settings: Added FindWindowSettingsByName() (replacing old version by ID) FindWindowSettingsByWindow() + remove unnecessary FindOrCreateWindowSettings(). ocornut 2023-02-10 15:33:33 +01:00
  • 0d7d877cb5 Backends: SDL3: Update for latest. ocornut 2023-02-10 14:45:42 +01:00
  • 99c0bd65df Added SeparatorText() widget. (#1643) ocornut 2023-02-10 12:16:23 +01:00
  • 85395b76b0 CI: Update versions. ocornut 2023-02-07 20:17:18 +01:00
  • fac19e1883 Backends: SDL2:+SDL3 Implement SetPlatformImeDataFn (amends). (#6071, #1953) + fix SDL3 setting PlatformHandleRaw. (#6146) ocornut 2023-02-07 18:55:10 +01:00
  • 734c6af187 Backends: SDL2: Implement SetPlatformImeDataFn. (#6071, #1953) imkzh 2023-01-12 18:42:38 +08:00
  • 95412ad3a5 Backends: SDL3: Removed unnecessary #ifdef. ocornut 2023-02-07 17:09:51 +01:00
  • a526ff8c30 Backends: SDL3: Added multi-viewports support. (#6146) ocornut 2023-02-07 16:30:58 +01:00
  • e4233c6fb6 Merge branch 'master' into docking (doesn't include viewports-related changes for new SDL3 backend) ocornut 2023-02-07 16:23:49 +01:00
  • 13fbd99491 Backends: SDL3: update to run with SDL3. Examples: Add SDL3+Gl example. Remove some version checks. (#6146) ocornut 2023-02-07 13:49:37 +01:00