Commit Graph

  • 556689591c Backends: OpenGL3: Handle GL_CLIP_ORIGIN on <4.5 contexts if "GL_ARB_clip_control" extension is detected. (#4170, #3998) ocornut 2021-05-24 23:38:50 +02:00
  • ad5d1a8429 Version 1.83 ocornut 2021-05-24 17:16:27 +02:00
  • 142c866bd9 Backends: WebGPU: Support draw_data->FramebufferScale (#4163) Vladimir Davidovichandocornut 2021-05-22 13:37:33 +03:00
  • 88a24fb896 Fix build with IMGUI_DISABLE_DEMO_WINDOWS ocornut 2021-05-24 15:42:26 +02:00
  • 029c83c73e Combos: Changed the combo popup to use a different id to also using a context menu with the default item id. (#4167) ocornut 2021-05-24 15:09:39 +02:00
  • c708299ca9 Docs: Improvements to description of using colored glyphes/emojis. (#4169, #3369) + Add Fonts to Metrics. Removed IMGUI_HAS_TABLE markers. ocornut 2021-05-24 12:49:58 +02:00
  • 8877eab393 Docs: Describe IMGUI_DISABLE_FILE_FUNCTIONS in imconfig (#3628, #2734) ocornut 2021-05-21 18:44:22 +02:00
  • b474bff6c6 Nav: Fixed single frame CTRL+Tab from properly enabling the menu layer of target window if it doesn't have other active layers. ocornut 2021-05-21 18:39:17 +02:00
  • 5d77b6f274 Docs: update links, sponsors ocornut 2021-05-20 15:58:40 +02:00
  • 45f5ed52c1 Menus: made MenuItem() in a menu bar reflect the 'selected' argument with a highlight. (#4128) ocornut 2021-05-20 15:00:36 +02:00
  • fd06dc511f Backends: GLFW: Adding bound check in KeyCallback because GLFW appears to send -1 on some setups. [#4124] ocornut 2021-05-19 19:03:15 +02:00
  • 4181ccceea Backends: WebGPU: Fix build, amend 3c72e51. (#3761) ocornut 2021-05-19 18:50:31 +02:00
  • 3c72e5142b Backends: Replace direct access to TextureId with GetTexID() call in ImDrawCmd. (#3761) thedmdandocornut 2021-02-07 12:36:54 +01:00
  • e7e170c534 InputText: Internal renaming to use our own types to clarify code a little bit. ocornut 2021-05-18 14:48:45 +02:00
  • 26a1bbfe1e InputText: Fixed CTRL+Arrow or OSX double-click leaking the presence of spaces when ImGuiInputTextFlags_Password is used. (#4155, #4156) [@michael-swan] ocornut 2021-05-18 14:45:04 +02:00
  • 41030cbfe2 Tweak computation of io.Framerate so it is less biased toward high-values in the first 120 frames. (#4138) ocornut 2021-05-16 20:37:38 +02:00
  • 83bdfef8e0 Backends: WGPU: update to latest specs. (#4116, #3632) Basil Fierzandocornut 2021-05-16 18:55:58 +02:00
  • 4ce6bd8cff Tables: sharing splitter and sort buffers between tables, reducing memory footprints. (#3740) ocornut 2021-05-07 18:29:50 +02:00
  • 32c453ae53 Tables: sharing transient buffers between tables, reducing memory footprints. (#3740) ocornut 2021-05-07 18:00:12 +02:00
  • cbcd89152b Backends: Android: Tweaks. (#4034) Mertcan DavulcuandGitHub 2021-05-07 18:43:42 +03:00
  • a8dcab8e2a Backends: DX9: Fix potential resource leak (#4093) Hattrick HttrckCldHKSandocornut 2021-05-01 21:47:48 +03:00
  • ea9122b0ac Examples: add backends include path in readmes. (#4106) ITotalJusticeandGitHub 2021-05-07 14:12:09 +01:00
  • 4c9f0cec27 Add and use SSE-enabled ImRsqrt() in place of 1.0f / ImSqrt(). (#4091) Bartosz Taudulandocornut 2021-05-06 17:25:40 +02:00
  • 84545dbe6f Disabling some of MSVC most aggressive Debug runtime checks for some simple/low-level functions ocornut 2021-05-06 12:40:03 +02:00
  • 393941ceea Refactor focusable/tabbalbe item registration toward allowing to handle it prior to clipping (not yet the case) (#343, #4079) ocornut 2021-04-30 22:18:31 +02:00
  • 2c3f25d2d9 Nav: Fixed Tabbing initial activation from skipping the first item if it is tabbable through. (#787) ocornut 2021-04-30 21:40:42 +02:00
  • 9b90639577 Internals: ItemFlags is a shared resource as advertised. Fix Begin/PushItemFlags/End sequence (mostly for consistency) ocornut 2021-04-30 19:31:30 +02:00
  • 10a1c5b021 TestEngine: fixed wrong flags passed to ItemInfo queries. Was luckily/misleadingly not causing issues as the test-engine flags we tested were upper bits not colliding with the other type. ocornut 2021-04-30 19:24:40 +02:00
  • 788e91aece Fixes for MSVC static analyzers (wider range of versions). (#3938, #4073) + warning fix (#4089) + comments. ocornut 2021-04-29 21:34:16 +02:00
  • 89162a04f4 Fixes for PVS Studio and MSVC static analyzers. Using a macro to suppress single-use MSVC false positives. (#3938, #4073) ocornut 2021-04-29 18:11:22 +02:00
  • d28535f351 Fixes for Visual Studio 2019 static analyzers. (#3938, #4073) + two minor edge case were invalid scalar input (e.g. a sign only) would return buffer as modified. ocornut 2021-04-29 16:20:47 +02:00
  • 2dec7b3301 InputText: Align caret/cursor to pixel coordinates. (#4080) ocornut 2021-04-27 13:31:32 +02:00
  • 7cdb3850e7 CI: test with ImTextureID as pointer to catch accidental reuse of const (#4060) ocornut 2021-04-26 10:18:18 +02:00
  • 04e98fbe6b Remove const qualifier on ImTextureID local (#4060) Nick LangeandGitHub 2021-04-26 01:15:55 -07:00
  • 7b8932554e Backends: Win32: Change the case of XInput.h include, so it cross-compile nicely on unices. (#4074) JarhmanderandGitHub 2021-04-26 03:29:38 -04:00
  • b493cae8c9 Nav: Fixed pressing Escape to leave menu layer while in a popup or child window. (#787) ocornut 2021-04-23 19:08:22 +02:00
  • 21428ad3f4 Nav, InputText: Fixed accidental menu toggling while typing non-ascii characters using AltGR. (#370) Rokas Kupstysandocornut 2021-04-23 16:47:55 +03:00
  • 4540177ce7 Nav: clear activeid on menu toggle (so pressing Alt leaving an InputText will steal ActiveID. Previously wouldn't not, but ButtonBehavior() hover logic would not show Menu layer item as hovered when ActiveId != 0). (#787) ocornut 2021-04-23 18:37:15 +02:00
  • e61e8aea9c Nav: clear navid in NavInitWindow() when window is marked with ImGuiWindowFlags_NoNavInputs. (#787) ocornut 2021-04-23 14:15:24 +02:00
  • daf97832f1 Internals: Nav: renaming. ocornut 2021-04-22 16:34:08 +02:00
  • 06545c4f2a Backends: DirectX9: explicitely setting up more graphics states to increase compatibility with unusual non-default states. (#4063) ocornut 2021-04-23 14:09:43 +02:00
  • bfc4a3347a Nav: Fixed using SetItemDefaultFocus() on windows with _NavFlattened flag + tools in metrics. ocornut 2021-04-22 12:51:51 +02:00
  • 6d53884487 Backends: OSX: Fix keys remaining stuck in pressed state when CMD-tabbing to a different application. (#3832) rokupsandocornut 2021-04-19 13:47:31 +03:00
  • 25fbff2156 ImDrawList: Revert alteration of normal scaling threshold, for now prioritize preserving property of limiting extents. (#4053, #3366, #2964, #2868, #2518, #2183) ocornut 2021-04-19 14:58:42 +02:00
  • fdda8b8c12 ImDrawList: Fixed/improved thickness of thick strokes with sharp angles. (#4053, #3366, #2964, #2868, #2518, #2183) ocornut 2021-04-19 14:03:21 +02:00
  • 936f53229d Internals: maintaining focus order inside windows + only storing root windows in WindowsFocusOrder[] array. (toward #2304) ocornut 2021-03-15 17:08:04 +01:00
  • 770f9daab3 Tables: Better preserve column data (mainly widths) when columns count changes. (#4046) + .ini skips columns with no data. ocornut 2021-04-16 18:27:48 +02:00
  • 690a90bd35 Make PathArcTo accept counter-clockwise angles (#4030, #3491) thedmdandocornut 2021-04-14 20:07:23 +02:00
  • 5fed6bdc72 Demo: Improved popups demo and comments. ocornut 2021-04-15 15:53:50 +02:00
  • 7c9c5dbe9a Internals: Added ImFloorSigned() + use our own ImFloorSigned() for stb_truetype, compared as matching output for variety of font data. (#2884) ocornut 2021-04-15 14:27:45 +02:00
  • 858ea17eba Backends: DirectX10, DirectX11: fixed a crash when backing/restoring state if nothing is bound when entering the rendering function. (#4045) ocornut 2021-04-15 13:29:42 +02:00
  • 05a20ca738 Examples: Android: Make Android build compatible with Gradle 7.0. (#3446) duddelandocornut 2021-04-14 21:43:53 +02:00
  • b957300260 Documentation tweaks (#4042) ocornut 2021-04-14 15:44:56 +02:00
  • d6a5cc7934 Metrics: hotfix (fix 6ba13349 + f08566b4, #4005) ocornut 2021-04-07 17:57:14 +02:00
  • bcdc8bcc4b Examples: Vulkan: Update GPU selection to pick discrete GPU if available, or use first GPU otherwise. (#4012) Rokas Kupstysandocornut 2021-04-06 11:11:59 +03:00
  • c283a1da5b Fixed clipping of multi-line value text when label is single-line + Fixed vertical alignment of single-line value text when label is multi-line. (#4004) ocornut 2021-04-06 18:35:06 +02:00
  • 92b7b1f72b Scrolling: Fix mouse wheel axis swap when using SHIFT on macOS (system already does it). (#4010) ocornut 2021-04-06 17:51:21 +02:00
  • 5f45047fb6 Update example makefiles to check the new homebrew paths (#4003) Peter Kristensenandocornut 2021-04-03 16:03:37 +02:00
  • 71dda216ef Backends: OpenGL3: Don't try to read GL_CLIP_ORIGIN unless we're OpenGL 4.5. (#3998, #2366, #2186) Sam Jonesandocornut 2021-04-06 12:36:52 +02:00
  • f08566b4d7 InputText: Do not filter private unicode codepoints (e.g. icons) when pasted from clipboard. (#4005) Doug Binksandocornut 2021-04-06 12:00:38 +02:00
  • feb8b1e32d Update URLs to HTTPS (#4011) TotalCaesar659andGitHub 2021-04-06 10:16:35 +03:00
  • 00d570e280 Added OpenPopup() ImGuiID overload (#3993, #331) ocornut 2021-04-01 17:18:18 +02:00
  • f0fc822837 Fix popup positioning, broken by 84e6fe4. (#3991, #3982) ocornut 2021-03-31 19:09:08 +02:00
  • 2403ed92a3 Added build/ to gitignore (#3027), Examples: SDL2: Link with shell32.lib required by SDL2main.lib since SDL 2.0.12. [#3988, #3884] + added batch file for SDL+Vulkan. ocornut 2021-03-31 16:14:18 +02:00
  • 3c7177c6a7 Internals: storing WindowsHoverPadding in context for external access. + Docs update binaries ocornut 2021-03-31 15:53:30 +02:00
  • 45c45d2506 Internals: shallow tidying up of the old resize border structure. Make them match the ImGuiDir order. Split GetWindowResizeID() into GetWindowResizeCornerID() and GetWindowResizeBorderID(). ocornut 2021-03-30 16:13:16 +02:00
  • 84e6fe4fc7 Fix IsWindowAppearing() from returning true twice in most cases. (#3982, #1497, #1061) ocornut 2021-03-29 19:45:55 +02:00
  • 951c84969b Popups: fix comment about OpenPopupOnItemClick(). (#3981) ocornut 2021-03-29 15:41:28 +02:00
  • eab3ae473c Fix warning message C4100 (#3974) Chris OhkandGitHub 2021-03-28 01:11:57 +09:00
  • c6c15a44fa Examples: Add OpenGL ES 2.0 support to modern GL examples. (#2837, #3951) Nikolai Wuttkeandocornut 2021-03-20 14:46:38 +01:00
  • 1dcd3a45cc ColorEdit4: Alpha default to 255 (instead of 0) when omitted in hex input. (#3973) ocornut 2021-03-26 11:34:07 +01:00
  • 688e06490e TabBar: Amend previous commit. Fix tab reordering when tab bar has scrolling. ocornut 2021-03-25 18:35:24 +01:00
  • 475c0fcc39 TabBar: Use mouse position instead of hardcoded +1/-1 offset when reordering tabs. Rokas Kupstysandocornut 2021-03-22 10:55:59 +02:00
  • a58271c079 Internals: extracted a more reusable BeginViewportSideBar() out of BeginMainMenuBar(). (#3966, #3518) ocornut 2021-03-25 16:16:48 +01:00
  • aa5431fde2 Tables: Expose TableSetColumnEnabled() in public api. (#3935) ocornut 2021-03-24 14:33:28 +01:00
  • 6f360d6040 Examples: Win32: using a more explicit loop for PeekMessage polling to make the code easier to copy and paste and less error-prone. ocornut 2021-03-23 18:09:21 +01:00
  • 1491d2c916 Backends: Win32: Clearing keyboard down array when losing focus (WM_KILLFOCUS). (#2062, #3532, #3961) ocornut 2021-03-23 16:48:10 +01:00
  • 186b734db0 Backends: SDL2: Extend global mouse pos availability check (#3950) Nikolai Wuttkeandocornut 2021-03-20 15:06:53 +01:00
  • 6d3a980f38 Backends: Vulkan: Fix mapped memory validation error when buffer sizes are not multiple of VkPhysicalDeviceLimits::nonCoherentAtomSize. (#3957) John Asperandocornut 2021-03-21 12:29:24 -04:00
  • 59da01901e Scrolling: Fix scroll tracking with e.g. SetScrollHereX/Y() when WindowPadding < ItemSpacing. Fix scroll snapping on edge of scroll region when both scrollbars are enabled. ocornut 2021-03-19 15:25:43 +01:00
  • 6e4770ea5c Examples: Vulkan: Rebuild swapchain on VK_SUBOPTIMAL_KHR. (#3881) ocornut 2021-03-18 18:12:52 +01:00
  • 61a0908713 Tables comments + Backends: DirectX9: calling IDirect3DStateBlock9::Capture() after CreateStateBlock() which appears to workaround/fix state restoring issues. . (#3857) ocornut 2021-03-18 18:04:38 +01:00
  • 412d6f7efe Fixes zealous MSVC static analyzers warnings (#3938) ocornut 2021-03-18 16:10:25 +01:00
  • 0c5b0c8b97 Internals: Add a way to request window to not process any interactions for specified number of frames. Rokas Kupstysandocornut 2021-02-25 14:04:07 +02:00
  • a1a39c632a Version 1.83 WIP ocornut 2021-03-16 14:45:30 +01:00
  • 4bf646e4b0 Drags, Sliders, Inputs: Specifying a NULL format to Float functions default them to "%.3f" to be consistent with the compile-time default. (#3922) ocornut 2021-03-16 12:59:35 +01:00
  • 64aab8480a DragScalar: Add default value for v_speed argument in DragScalar(), DragScalarN(). (#3922) Elias Dalerandocornut 2021-03-16 03:49:00 +03:00
  • ebe6ac5fb5 Improvements to minor mistakes in documentation comments (#3923) ANF-Studiosandocornut 2021-03-16 12:30:55 +01:00
  • 35b1148efb Version 1.82 ocornut 2021-03-15 20:12:26 +01:00
  • 352f64697c Internals: rename legagy tab focus fields to TabFocusXXXX for clarity + removed one unnecessary FocusWindow() call. ocornut 2021-03-15 17:24:55 +01:00
  • d94644261d Drags, Sliders: Support ImGuiSliderFlags_Logarithmic flag with integers. Because why not? (#3786) ocornut 2021-03-15 12:21:10 +01:00
  • 287bd9b984 InputText: renamed ImGuiInputTextFlags_AlwaysInsertMode to ImGuiInputTextFlags_AlwaysOverwrite. (#2863) ocornut 2021-03-12 17:33:10 +01:00
  • 1bc6f82091 Misc: added imgui.gdb and imgui.natstepfilter debugger helpers for gdb and msvc. Rokas Kupstysandocornut 2021-03-11 14:17:00 +02:00
  • 033dfd9d35 ImDrawFlags: rework/revert c2d6d26 + 39432bf in a way that is closer to old version and back to opt-in but with default 0 = all corners. ocornut 2021-03-12 14:04:40 +01:00
  • fdc2324d9a Moved 'misc/natvis/imgui.natvis' to 'misc/debuggers/imgui.natvis' ocornut 2021-03-11 16:21:46 +01:00
  • 39432bfd9c Amend 0c93238a ImDrawList: upgraded AddRect(), AddRectFilled(), PathRect() to use general ImDrawFlags instead of ImDrawCornersFlags ocornut 2021-03-11 12:25:24 +01:00
  • c2d6d26139 ImDrawList: upgraded AddRect(), AddRectFilled(), PathRect() to use general ImDrawFlags instead of ImDrawCornersFlags Rokas Kupstysandocornut 2021-03-10 12:15:08 +02:00
  • 8b9fedba28 Moved Obsolete function block lower in the file + obsoleted old SetScrollHere (->SetScrollHereY) ocornut 2021-03-11 12:15:20 +01:00
  • e45847d99a Add version of PathArcTo() and PathArcToFast() with adaptive rendering quality. (#3491) thedmdandocornut 2021-02-13 19:42:23 +01:00
  • 8ed34af6f8 ImDrawList: clarified that PathArcTo()/PathArcToFast() cannot take radius < 0.0f. (#3491) + changed poor-man ceiling in _CalcCircleAutoSegmentCount() to use 0.999999f to reduce gaps ocornut 2021-03-11 10:29:13 +01:00