Commit Graph

  • 61f4aec868 Added PushDisabled(), PopDisabled() currently only exposed in imgui_internal.h (#211) ocornut 2021-06-09 15:28:59 +02:00
  • a44d4da87c Merge branch 'master' into docking ocornut 2021-06-08 18:38:51 +02:00
  • b66529fe3e Backends: Win32: Rework to handle certains Windows 8.1/10 features without a manifest. (#4200, #4191) ocornut 2021-06-08 18:35:35 +02:00
  • 020d1ced1d Examples: SDL2: Accomodate for vcpkg install having headers in SDL2/SDL.h vs SDL.h + vcpkg related comments. ocornut 2021-06-08 15:20:47 +02:00
  • 7fc144edde Examples: update all VS project files to VS2015. Update DX12 project Windows SDK to latest. ocornut 2021-06-08 13:06:21 +02:00
  • 6ee398ac2b Tables: Added ImGuiTableColumnFlags_Disabled acting a master disable over (hidden from user/context menu). (#3935, #3740) ocornut 2021-06-07 13:03:13 +02:00
  • b918751ff4 Tables: Clarified that TableSetColumnEnabled() requires the table to use the ImGuiTableFlags_Hideable flag. (#3935) ocornut 2021-06-07 13:20:25 +02:00
  • 689e387180 Tables: offset and shuffle flags (breaks ABI compatibility as often) ocornut 2021-06-07 12:52:36 +02:00
  • 642426c15b Tables: Fix columns order on TableSetupScrollFreeze() if previous data got frozen columns out of their section. ocornut 2021-06-07 10:36:43 +02:00
  • 2887a6e07d Tables: made TableUpdateBorders() use IsVisibleX flag. comments. ocornut 2021-06-07 09:45:36 +02:00
  • 1b4323a1b4 Tables: Added ImGuiTableColumnFlags_NoHeaderLabel to request TableHeadersRow() to not submit label for a column. (#4206) ocornut 2021-06-07 09:11:53 +02:00
  • fe24591411 Backends: OpenGL3: Fix access violation due to NULL from glGetStringi. (#4201) Tatsuya Yatagawa 2021-06-05 23:27:31 +09:00
  • 16abfa5eb6 Merge branch 'master' into docking ocornut 2021-06-04 17:28:45 +02:00
  • 94b680e830 Internals: fixed ImPool:: iteration, rename GetBufSize to GetMapSize. Amend c6c82b9f ocornut 2021-06-04 17:21:59 +02:00
  • f53db3541a Docking: comments (#4189) ocornut 2021-06-04 14:55:40 +02:00
  • c6c82b9f1d Internals: fixed iterating ImPool, fix after use of TableRemove() (was only used by TestEngine) ocornut 2021-06-03 17:37:35 +02:00
  • 5e528d9eea Docking: Clicking on the right-most close button of a docking node closes all windows. (#4186) ocornut 2021-06-03 17:22:18 +02:00
  • f03ab2a5c5 Docking: Fix IsWindowAppearing() unnecessarily returning true twice in a row. (#4177, #3982, #1497, #1061) + added a zealous assert. ocornut 2021-06-03 16:46:01 +02:00
  • fa1f540e6c Docking: Amend 91704b7, window->DockXXX booleans not properly cleared when window not docked. (#4177, #3982, #1497, #1061) ocornut 2021-06-03 16:07:22 +02:00
  • 91704b773e Docking: Fix IsWindowAppearing() and ImGuiCond_Appearing on docked windows. (#4177, #3982, #1497, #1061) ocornut 2021-05-31 17:06:46 +02:00
  • a640d8a6d2 Fixed printf-style format checks on non-MinGW flavors. (#4183, #3592) ocornut 2021-05-31 12:59:41 +02:00
  • 060b6ee7d1 Internals: Combo: Extracted into a BeginComboPopup() function. (#4168) ocornut 2021-05-28 16:50:09 +02:00
  • 5b4bc985ad Nav, Combo: removed unnecessary window->LastNavIds[] assignment in combo code. + minor renaming. ocornut 2021-05-28 16:31:10 +02:00
  • 838c16533d Backends: Comments. ocornut 2021-05-27 13:59:35 +02:00
  • 79e18896fe TabBar: Fixed using more than 32 KB-worth of tab names. (#4176) ocornut 2021-05-27 11:58:04 +02:00
  • 1ad1429c6d Merge branch 'master' into docking ocornut 2021-05-25 18:45:54 +02:00
  • 04fd5072fb Fix warnings with VS2019 in C++20 mode (#4173) ocornut 2021-05-25 18:43:01 +02:00
  • 4c420f3cf9 CI: Add a build of imgui_impl_vulkan.cpp with IMGUI_IMPL_VULKAN_NO_PROTOTYPES defined. (#4151, #3759, #3227) Rokas Kupstys 2021-05-25 16:36:03 +03:00
  • c2bf4abfa1 Internals: Added ImTextCharToUtf8() helper. Added "out_" markers in more UTF-8 functions. Metrics: Fonts: Fixed display of EllipsisChar by feeding proper utf-8. ocornut 2021-05-25 13:32:33 +02:00
  • 3a941f95e9 Metrics, Demo: moved font details display to metrics code. (#4171) ocornut 2021-05-25 13:23:00 +02:00
  • e31d13fa76 Version 1.84 WIP ocornut 2021-05-25 13:36:37 +02:00
  • 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
  • 1b435ae3e0 Merge branch 'master' into docking ocornut 2021-05-24 17:49:20 +02:00
  • ad5d1a8429 Version 1.83 v1.83 ocornut 2021-05-24 17:16:27 +02:00
  • 142c866bd9 Backends: WebGPU: Support draw_data->FramebufferScale (#4163) Vladimir Davidovich 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
  • 105d82d134 Docking: Docking node tab bar honors ItemInnerSpacing.x before first tab. Tweak rendering and alignment of dock node menu marker. (#4130) ocornut 2021-05-20 18:12:08 +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
  • 86c2b609ef Merge branch 'master' into docking ocornut 2021-05-19 19:05:01 +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) thedmd 2021-02-07 12:36:54 +01:00
  • 2cdfcb8fd2 Backends: Vulkan: Fix for using IMGUI_IMPL_VULKAN_NO_PROTOTYPES (#4151, #3759, #3227) warriormaster12 2021-05-18 15:07:17 +02: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 Fierz 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 Davulcu 2021-05-07 18:43:42 +03:00
  • a8dcab8e2a Backends: DX9: Fix potential resource leak (#4093) Hattrick HttrckCldHKS 2021-05-01 21:47:48 +03:00
  • ea9122b0ac Examples: add backends include path in readmes. (#4106) ITotalJustice 2021-05-07 14:12:09 +01:00
  • 4c9f0cec27 Add and use SSE-enabled ImRsqrt() in place of 1.0f / ImSqrt(). (#4091) Bartosz Taudul 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
  • 31290807dc Merge branch 'master' into docking ocornut 2021-04-30 22:48:16 +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 Lange 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) Jarhmander 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 Kupstys 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
  • 33cdbe97b8 Merge branch 'master' into docking ocornut 2021-04-19 20:05:59 +02:00
  • 6d53884487 Backends: OSX: Fix keys remaining stuck in pressed state when CMD-tabbing to a different application. (#3832) rokups 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
  • 34d4bc620d Merge remote-tracking branch 'origin/master' into docking ocornut 2021-04-15 19:57:52 +02:00
  • 690a90bd35 Make PathArcTo accept counter-clockwise angles (#4030, #3491) thedmd 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) duddel 2021-04-14 21:43:53 +02:00
  • 76902c482f Changelog: added docking+entries from 1.72 to 1.82 to increase their visibility. ocornut 2021-04-14 19:31:40 +02:00
  • b957300260 Documentation tweaks (#4042) ocornut 2021-04-14 15:44:56 +02:00
  • e5efa01920 Docking: Fix window menu button. Broken by 3f16a52 (#4043) ocornut 2021-04-14 14:33:10 +02:00
  • 3f16a524c8 Docking: move NavWindow to SelectedTabId application lower to leave a chance for in-between code to alter focus. + store per-node window menu button id to simplify usage. ocornut 2021-04-13 16:22:30 +02:00
  • 646c873598 Docking: Fixed reappearing docked windows with no close button showing a tab with extraneous space for one frame. ocornut 2021-04-13 15:50:15 +02:00
  • e87dd0e65d Docking: Fixed multiple simultaneously reappearing window from appearing undocked in their initial frame. ocornut 2021-04-12 19:21:49 +02:00
  • 539de4387b Docking: Fixed restoring of tab order within a dockspace or a split node. ocornut 2021-04-12 16:51:05 +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 Kupstys 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