Commit Graph

  • 1e18da5c38 Backends, Examples: Add comments about using WndProc handler and WantCaptureXXX flags. (#5061) ocornut 2022-02-28 20:50:58 +01:00
  • 54fb051e52 ColorEdit: Fixed text baseline alignment after a SameLine() after a ColorEdit() with visible label. ocornut 2022-02-28 16:12:43 +01:00
  • f337378066 Backends: SDL: Fix multi-viewport dragging issue with SDL on some systems. (#5012) Rokas Kupstys 2022-02-25 17:18:40 +01:00
  • 8639a2f9f8 Viewports: Fixed translating a host viewport from briefly altering the size of AlwaysAutoResize windows. (#5057) ocornut 2022-02-25 16:41:40 +01:00
  • 64519c6875 Docking: Fixed floating docked nodes not being clamped into viewport workrect to stay reachable when g.ConfigWindowsMoveFromTitleBarOnly is set and multi-viewports are disabled. (#5044) ocornut 2022-02-22 16:21:10 +01:00
  • 7b0d58c5e5 Merge branch 'master' into docking ocornut 2022-02-22 14:57:17 +01:00
  • fa2b318dd6 IO: Fixed input queue trickling of interleaved keys/chars events when InputText() is not active. (#4921, #4858) ocornut 2022-02-22 14:36:27 +01:00
  • 5659db5529 IO: Fixed backward-compatibility accesses to io.KeysDown[]. (#4921, #4858) ocornut 2022-02-21 21:27:28 +01:00
  • a61ca097a7 Backends: OSX: Fix typo in scrolling event handler. (#5036) Jan Sikorski 2022-02-19 18:57:41 +01:00
  • dca527be1b Clipper: Assert on extraneous calls to Step(). (#4822) + Demo tweak. ocornut 2022-02-18 18:39:29 +01:00
  • 9948535118 Merge branch 'master' into docking ocornut 2022-02-17 18:47:43 +01:00
  • 29d462ebce Set HoveredID even when g.NavDisableMouseHover is set by gamepad/keyboard navigation. This will facilitate the use of future InputOwner API based on HoveredID/ActiveID. ocornut 2022-02-17 18:39:03 +01:00
  • 421e73e6db Fix an assert in metrics. ocornut 2022-02-17 15:36:00 +01:00
  • d9e60d29e1 Clipper: Fixed a regresssion when not calling End() + calling End() twice as well. (#4822) ocornut 2022-02-17 11:09:06 +01:00
  • 5c8f8d0311 ImVector: Fixed erase() with empty range. (#5009) amend/fix b6b8f66 thedmd 2022-02-16 19:50:36 +01:00
  • 2dfa71fad5 Inputs: Fixed IsMouseClicked() repeat mode rate being half of keyboard repeat rate. Using KeyModAlt. Removed KeyModsPrev. ocornut 2022-02-16 19:32:46 +01:00
  • 7ff41a78f9 Fonts: binary_to_compressed_c.cpp gained -nostatic option (#5021) Konstantin Podsvirov 2022-02-15 22:16:55 +03:00
  • 8d3906365d CI: Fixes for OSX + explicitely request C++11. ocornut 2022-02-15 17:06:50 +01:00
  • b6b8f6634e ImVector: Fixed erase() with empty range. (#5009) thedmd 2022-02-15 11:14:43 +01:00
  • 5854da10e6 Declare other structures as constexpr (#4995) + rename ImGuiInputEventType_Char to ImGuiInputEventType_Text for consistency with event structure. ocornut 2022-02-11 12:24:32 +01:00
  • 71f98dd056 Declare ImVec2 and ImVec4 constructors as constexpr (#4995) Jeff Mears 2022-02-07 17:09:43 -08:00
  • 1e14cc5cae Viewports: Fixed main viewport size not matching ImDrawData::DisplaySize for one frame during resize when multi-viewports are disabled. (#4900) ocornut 2022-02-10 18:50:28 +01:00
  • 955aacfbc5 GCC: Disable deprecated-enum-enum-conversion for gcc as well (#4997) Borislav Stanimirov 2022-02-09 10:47:11 +02:00
  • 4691fa0ed5 ImDrawList: PthArcTo: Add small tolerance when comparing angles (#4993) thedmd 2022-02-08 13:33:26 +01:00
  • aa79d0cd2f Stack Tool: Added option to copy item path to clipboard. (#4631) ocornut 2022-02-08 14:45:57 +01:00
  • 88de982071 Version 1.88 WIP ocornut 2022-02-08 14:44:06 +01:00
  • aa86800092 Internals: rework RenderMouseCursor() signature so we can use it in docking branch more naturally. (Merged from master+ rework for docking) ocornut 2022-02-08 12:22:46 +01:00
  • 97b1abd6dd Internals: rework RenderMouseCursor() signature so we can use it in docking branch more naturally. ocornut 2022-02-08 12:22:46 +01:00
  • 1ee252772a Merge branch 'master' into docking ocornut 2022-02-07 18:20:10 +01:00
  • c71a50deb5 Version 1.87 v1.87 ocornut 2022-02-07 17:41:24 +01:00
  • 033538731c Merge branch 'master' into docking ocornut 2022-02-07 16:18:19 +01:00
  • e52bb147a7 Backends: GLFW: Added ImGui_ImplGlfw_InstallCallbacks()/ImGui_ImplGlfw_RestoreCallbacks(). (#4981) ocornut 2022-02-07 16:00:13 +01:00
  • 732bc2058e Backends: GLFW: Handle spurious leave/enter sequences apparently submitted by X11/GLFW combo. (#4984) ocornut 2022-02-07 15:59:28 +01:00
  • 40fd163a3b Backends: OpenGL3: Fix OpenGL ES2 includes on Apple systems. Rokas Kupstys 2022-02-02 10:38:37 +02:00
  • 2554b512c0 Backends: OSX: Forward keyDown/keyUp events to OS when unused by Dear ImGui. ocornut 2022-02-07 11:55:24 +01:00
  • c6cab1f352 Backends: SDL: Added SDL_Renderer* parameter to ImGui_ImplSDL2_InitForSDLRenderer(). Use SDL_GetRendererOutputSize() instead of SDL_GL_GetDrawableSize() when bound to a SDL_Renderer. (#4927) Clownacy 2022-01-22 13:55:03 +00:00
  • c39192ba64 Backends: SDL_Renderer: Fix texture atlas format on big-endian hardware (#4927) Clownacy 2022-01-30 22:42:21 +00:00
  • 31762a8173 Docking: fixed potential crash if a passthrough dock node is submitted without a child intermediate (currently not possible via API) ocornut 2022-02-03 12:04:11 +01:00
  • 5017602752 Backends: SDL: Amend 08350e5, multi-viewports mouse tracking works under Linux. (#4960) + Reword tests to help static analysis. ocornut 2022-02-03 11:49:36 +01:00
  • 37958ca1b5 Docking: Fixed CTRL+TAB back into a docked window not selecting menu layer when no item are on main layer. ocornut 2022-02-03 00:19:31 +01:00
  • 8eb8689391 Docking: Tabs use their own identifier (in order to make window->ID refer to whole window in test engine). Also prevents Tab ID from clashing with "" which was common. ocornut 2022-02-02 23:23:13 +01:00
  • c1ab3c406f Docking: Fixed size constraints not working on single window holding on a dock id (still doesn't work on docked windows). ocornut 2022-02-02 23:10:14 +01:00
  • d378e4088f Merge branch 'master' into docking ocornut 2022-02-01 15:46:42 +01:00
  • 43177324c0 Backends: GLFW: Fixed miss untranslation of keypad keys. (#4921, #452) ocornut 2022-02-01 15:27:10 +01:00
  • 6f73dbea80 TestEngine: submit window data to item system. ocornut 2022-02-01 15:02:14 +01:00
  • 35e197f413 TestEngine: fixed InvisibleButton() and ArrowButton() not calling the info macro. ocornut 2022-02-01 11:08:47 +01:00
  • 551ab84c2d Backends: OSX: Fix building with old Xcode versions. rokups 2022-01-31 14:02:22 +02:00
  • 422902dbda Correct typos (#4954, #4955), use IM_STATIC_ASSERT now that old pre-C++11 macro has been obsoleted. Clownacy 2022-01-27 17:52:00 +00:00
  • 08350e53e7 Backends: SDL: no support for ImGuiBackendFlags_HasMouseHoveredViewport under OSX/LInux (#4960) ocornut 2022-01-31 11:47:44 +01:00
  • 64d910ad37 Removed IMGUI_API from inline templated classes. (#4962) ocornut 2022-01-29 18:10:36 +01:00
  • 27004aca70 Revert moving ImGuiKeyModFlags to internal.h (amendc906c65) ocornut 2022-01-28 15:53:09 +01:00
  • 49e38a5b32 Revert moving ImGuiKeyModFlags to internal.h (amendc906c65) ocornut 2022-01-28 15:53:09 +01:00
  • d5f0d45ae4 Merge branch 'master' into docking + remove two _PopUnusedDrawCmd() from docking branch, following 718daa1 ocornut 2022-01-27 17:50:31 +01:00
  • 9def2b04d7 IO: Added simple (incomplete) filter for duplicates to reduce data spam. (#4921, #4858) ocornut 2022-01-27 17:18:29 +01:00
  • 5429f0f6b5 Backends: OSX, Android: Replaced AddKeyModsEvent() added by 790132a in favor of unified key enum system. (#4921, #4858) thedmd 2022-01-26 22:00:50 +01:00
  • c906c65cac (BREAKING) Replaced AddKeyModsEvent() added by 790132a in favor of unified key enum system. Backends: update most. (#4921, #4858) ocornut 2022-01-21 17:32:35 +01:00
  • 718daa153d Rendering: defer responsability of calling _PopUnusedDrawCmd() later so RenderDimmedBackgrounds()/RenderMouseCursor() don't need to deal with the side-effects (#4857, #4317) ocornut 2022-01-27 16:59:24 +01:00
  • 075f4ac661 Don't merge ImDrawCmd which have had their IdxOffset changed to not be sequential. Fixed CTRL+Tab into an empty window causing artefacts on the highlight rectangle due to bad reordering on ImDrawCmd. ocornut 2022-01-26 15:53:18 +01:00
  • 8555335935 Shallow alignment of ImGuiKey stuff + moving some in internals. Internals: add offset to ImBitArray<>, simpify ActiveIdUsingKeyInputMask. ocornut 2022-01-25 12:23:26 +01:00
  • f1a073186c Docking: Fixed a CTRL+TAB crash when aiming at an empty docked window. (#4792) ocornut 2022-01-25 17:28:43 +01:00
  • 08f3aa8972 Popups: Fix b17b2fb (#4936) ocornut 2022-01-24 14:14:34 +01:00
  • 4caf1e9b59 Backends: GLFW: fix ImGui_ImplGlfw_TranslateUntranslatedKey() for grave accents. (#456, #2625) + fix preceeding commit. ocornut 2022-01-24 13:45:47 +01:00
  • b17b2fb732 Popups: Fixed an issue when reopening a same popup multiple times would offset them by 1 pixel on the right. (#4936) ocornut 2022-01-24 13:13:38 +01:00
  • cda3db1449 Backends: SDL: Fixed key mapping for ImGuiKey_Menu (#4921) + misc typos (#4928) ocornut 2022-01-24 12:10:40 +01:00
  • dd6a44abb1 Fix compiler warning for Intel compiler (#4934) sergeyn 2022-01-24 12:09:02 +01:00
  • 4fb0c1f963 Correct some typos in FAQ.md (#4924) Clownacy 2022-01-21 23:03:09 +00:00
  • cff0342454 Internals: moved lines into a Inputs section. ocornut 2022-01-21 17:49:04 +01:00
  • c2db4c2462 Demo: draw a section of keyboard in "Inputs > Keyboard, Gamepad & Navigation state" to visualize keys. thedmd 2022-01-21 15:24:54 +01:00
  • 69b697378b Comments, tweaks. ocornut 2022-01-21 14:50:31 +01:00
  • 26e59c8742 Nav: Fixed gamepad navigation in wrapping popups not wrapping all the way. (#4365) ocornut 2022-01-21 14:41:34 +01:00
  • 3e0d6ec895 Merge branch 'master' into docking ocornut 2022-01-21 12:39:15 +01:00
  • 62d6be3747 IO: Removed ImGuiInputSource from public api for now, unnecessary. (#4858, #787) ocornut 2022-01-20 17:39:25 +01:00
  • 5ea47d9560 Backends: OSX: Add full gamepad support using io.AddKeyEvent(), io.AddKeyAnalogEvent(), stopped writing to io.NavInputs[]. (#4858, #787) thedmd 2022-01-19 21:43:48 +01:00
  • 39c3412f91 Backends: SDL: Add full gamepad support using io.AddKeyEvent(), io.AddKeyAnalogEvent(), stopped writing to io.NavInputs[]. (#4858, #787) ocornut 2022-01-20 17:12:28 +01:00
  • 3d85433748 Backends: GLFW: Add full gamepad support using io.AddKeyEvent(), io.AddKeyAnalogEvent(), stopped writing to io.NavInputs[]. (#4858, #787) ocornut 2022-01-20 17:12:22 +01:00
  • 9f8c599ca7 Backends: Win32: Add full gamepad support using io.AddKeyEvent(), io.AddKeyAnalogEvent(), stopped writing to io.NavInputs[]. (#4858, #787) ocornut 2022-01-20 17:12:11 +01:00
  • f33bb99821 IO: added AddKeyAnalogEvent() and support for ImGuiKey_GamepadXXXX. (#4858, #787) ocornut 2022-01-19 13:14:40 +01:00
  • 6e63fcaca3 Backends: Vulkan: Amends, fix miscast on 32-bit systems with the right ImTextureID=ImU64. (#914) ocornut 2022-01-20 16:56:29 +01:00
  • ceb26bac48 Backends: Vulkan: Added support for ImTextureID as VkDescriptorSet, amends. (#914) ocornut 2022-01-20 15:53:28 +01:00
  • 29f104319e Backends: Vulkan: Added support for ImTextureID as VkDescriptorSet, add ImGui_ImplVulkan_AddTexture(). (#914) Marcell Kiss 2022-01-20 15:32:49 +01:00
  • 19471da3fd Popups: Fix a crash when a new window is created after a modal on the same frame. (#4920) Rokas Kupstys 2022-01-20 13:52:19 +02:00
  • 7ad42ff431 IO: renamed io.ConfigInputEventQueue to io.ConfigInputTrickleEventQueue. (#4858) ocornut 2022-01-19 18:45:57 +01:00
  • 26d04c948f Tables: Fixed positioning of Sort icon on right-most column with some settings (not resizable + no borders). (#4918). ocornut 2022-01-19 18:03:36 +01:00
  • 97b1ffcb3b IO: Reorder enums, compact a little in header. Removed const from internal GetKeyData(). ocornut 2022-01-19 15:40:17 +01:00
  • 91ae56af45 Removed support for legacy arithmetic operators (+*/) when inputing text into a slider/drag. (#4917, #3184) ocornut 2022-01-19 15:10:42 +01:00
  • 673f5e588d IO: moved fields to put more focus on the new functions + update misc docs/references + update main.mm in Apple+Metal example (#4858) ocornut 2022-01-18 17:41:35 +01:00
  • e278277d53 IO: added AddMouseViewportEvent() + used in backends. ocornut 2022-01-18 17:24:59 +01:00
  • 1338eb31f7 Viewports: Relaxed specs for backend supporting ImGuiBackendFlags_HasMouseHoveredViewport. Backends: SDL: Added support for simplified HasMouseHoveredViewport. (#1542, #4665) ocornut 2022-01-18 16:59:19 +01:00
  • 007a427e0a Viewports: Fixed active InputText() from preventing viewports to merge. (#4212) ocornut 2022-01-18 16:04:25 +01:00
  • 8567a4cca3 Merge branch 'master' into docking ocornut 2022-01-17 18:16:55 +01:00
  • 90a6961638 IO: apply same flooring as UpdateMouseInputs() in dupe event processing. (#4858) + provision for test engine. ocornut 2022-01-17 18:10:51 +01:00
  • 7374b96f5c IO: Added input queue. (#4858, #2787, #1992, #3383, #2525, #1320) ocornut 2022-01-17 17:32:25 +01:00
  • b8e56dce83 IO: Added AddMousePosEvent(), AddMouseButtonEvent(), AddMouseWheelEvent() api + updated all Backends. (#4858) (input queue code will be next commit) thedmd 2022-01-17 17:22:37 +01:00
  • b6582a471a Backends: OSX: Fix Game Controller nav mapping to use shoulder for both focusing and tweak speed. (#4759) ocornut 2022-01-17 16:22:32 +01:00
  • 92c4ff1c2f Rename ImGuiKey_LeftControl to ImGuiKey_LeftCtrl, ImGuiKey_RightControl to ImGuiKey_RightCtrl + made key order match mods order. (#4858) ocornut 2022-01-17 15:41:04 +01:00
  • 0755767440 Backends: move io.AddKeyModsEvent() next to io.AddKeyEvent() submission, rely on mods from platform/source. (#4858) + fix #2622 again broken by 746c9f7 ocornut 2022-01-17 14:57:55 +01:00
  • eb823655af Removed support for pre-C++11 compilers. We'll stop supporting VS2010. (#4537) ocornut 2022-01-17 11:53:03 +01:00
  • f84c93d834 Update BACKENDS.md (#4909) Adheesh Trivedi 2022-01-16 22:46:39 +05:30
  • 45c4365ec3 Backends: GLFW: glfwGetKeyName is not implemented in emscripten (#4907, #4858) RandomErrorMessage 2022-01-14 04:47:53 +00:00
  • 6188e94108 Examples: Vulkan: fill Subpass and MSAASamples to increase discoverability (#4886) + IO docs update (#4858) ocornut 2022-01-13 19:18:31 +01:00