Commit Graph

  • f9b873662b Backends: Win32: Fixed setting of io.DisplaySize to invalid/uninitialized data when after hwnd has been closed. ocornut 2020-12-04 11:48:17 +01:00
  • 657589ab47 Backends: Vulkan+Viewports: fixed build, removed extraneous pipeline creation (770c9953, e8447dea, 6a0e85c5) (#3459, #3579) ocornut 2020-12-04 11:29:53 +01:00
  • c1ffac2fee Merge branch 'master' into docking ocornut 2020-12-03 20:05:49 +01:00
  • 998d7303b1 Log/Capture: fix capture to work on clipped child windows. ocornut 2020-12-03 15:14:32 +01:00
  • 2afdfa602f Rebuild ImFontAtlas::GetGlyphRangesJapanese offset table (#3627) vaiorabbit 2020-11-23 17:19:56 +09:00
  • d20f2bc90a Rename example_emscripten/ to example_emscripten_opengl3/ (#3632) ocornut 2020-12-02 11:23:56 +01:00
  • ae3e2406ec Misc tweaks/fixes (see details). ocornut 2020-11-30 12:40:49 +01:00
  • 9801c8c1c5 Texture-based thick lines: comment out dead code (amend b5bae978). (#3245) ocornut 2020-11-26 19:35:56 +01:00
  • e0cae25c3c Clarify usage of right-aligned items in Layout>Widgets Width. Tweaks FAQ, added missing syntax coloring. ocornut 2020-11-20 17:24:18 +01:00
  • 4da92b89ed Viewports: fix incorrect whitening of popups above a modal if both use their own viewport + fix pvs warning. ocornut 2020-11-19 17:03:56 +01:00
  • 3dcbcd8bf0 Internals: added IsWindowAbove() for use for modal/viewport bugfix. ocornut 2020-11-19 16:58:14 +01:00
  • d4f08d893e InputText: Fixed swiching from single to multi-line while preserving same ID. ocornut 2020-11-19 18:30:14 +01:00
  • 97265602c4 Internals: added IsWindowAbove() for use for modal/viewport bugfix. ocornut 2020-11-19 16:58:14 +01:00
  • cecf6b4209 Viewports: made standalone modals appear in taskbar + new window perform z-check before merging in main host viewport. (#3511, #1542) ocornut 2020-11-19 16:07:07 +01:00
  • 9712bff0bb Internals: added experimental ErrorCheckEndFrameRecover() to unroll/end/pop. (#1651, #3600) ocornut 2020-11-19 15:04:27 +01:00
  • c0ac4fb788 Columns/Internals: (Breaking): Renamed data structures. (#125, #513, #913, #1204, #1444, #2142, #2707) ocornut 2020-11-18 23:42:44 +01:00
  • 72de6f3360 Columns/Internals: (Breaking) renamed ImGuiColumnsFlags_* to ImGuiOldColumnFlags_*. (#125, #513, #913, #1204, #1444, #2142, #2707) ocornut 2020-11-18 22:40:27 +01:00
  • fcc2b71724 CI: Fix testing for Windows DLL builds + fix broken DLL build. (#3603, #3601) Borislav Stanimirov 2020-11-18 22:05:52 +02:00
  • 2e64ee050d Removed duplicate typedef for ImGuiButtonFlags ocornut 2020-11-18 19:28:30 +01:00
  • b2a91dc390 Merge branch 'master' into docking ocornut 2020-11-13 22:04:28 +01:00
  • 71cc636696 Metrics: Rebranded as "Dear ImGui Metrics/Debugger". Fix Show Window Rectangle. Fix Clang OSX warnings. Amend #3592 for Mingw only. ocornut 2020-11-13 21:17:46 +01:00
  • e736039538 Nav: Fixed IsItemFocused() from returning false when Nav highlight is hidden because mouse has moved. (#787) ocornut 2020-11-13 20:59:59 +01:00
  • 8119759329 Internals: extracted stack checking code into a ImGuiStackSizes helper struct + added test for FocusScope ocornut 2020-11-13 16:26:43 +01:00
  • 6e94013a3d Made ItemFlagsStack and GroupStack shared stacks. ocornut 2020-11-13 14:36:32 +01:00
  • 12ba6f4606 Fix PushFocusScopeID() + using shared stack. Renamed GetFocusScopeID() to GetFocusedFocusScope() - the two existing functions name are very error prone. ocornut 2020-11-13 14:09:09 +01:00
  • a3e8dc3f34 CI: Fix deployment of PVS-Studio license + fix reported error. Rokas Kupstys 2020-11-13 12:07:32 +02:00
  • a138855d56 Hotfix for PushFocusScope() being utterly wrong (until we split the stacks), Added asserts on PopID to help catch bugs, Added GC trigger. ocornut 2020-11-12 21:12:05 +01:00
  • 78f1d2d319 ImDrawListSplitter: create first draw cmd on demand + Internals: fix incorrect ImBitArraySetBitRange() (only used by tables) ocornut 2020-11-12 17:34:30 +01:00
  • 13258f5957 Internals: zero-clearing ImGuiWindow / ImGuiWindowTempData for simplicity. (amend) ocornut 2020-11-12 12:01:49 +01:00
  • 7a135a763c Fix format warnings when using gnu printf extensions in a setup that supports them (gcc/mingw). (#3592) ocornut 2020-11-12 11:56:04 +01:00
  • dcfb986fa8 Made EndFrame() assertion for key modifiers being unchanged during the frame more lenient. (#3575) ocornut 2020-11-11 18:07:29 +01:00
  • a3f79104df Examples: Apple+Metal: Forward events to OS key combinations like CMD+Q can work. (#3554) Rokas Kupstys 2020-10-28 12:20:10 +02:00
  • 6a0e85c561 Backends: Vulkan: Add override for the subpass to reference during VkPipeline creation. (#3579) Brandon DeRosier 2020-11-07 07:32:48 -08:00
  • 61825c7735 Tab Bar: Fixed minor/unlikely bug skipping over a button when scrolling left with arrows + InputText: minor optimization. ocornut 2020-11-11 12:04:35 +01:00
  • 2785ac0ee3 InputText: Fixed updating cursor/selection position when a callback alters the buffer in a way where the byte count is unchanged but the decoded character count changes. (#3587) 顾起威 2020-11-11 11:35:47 +01:00
  • ac08593b96 Merge branch 'master' into docking + tweak dock node padding + use CheckboxFlags with int ocornut 2020-11-05 21:34:26 +01:00
  • 5789e69a62 Checkbox: Added CheckboxFlags() helper with int* type. Demo: removed extraneous casts. ocornut 2020-11-05 21:23:02 +01:00
  • 5f97809cab Misc tidying up (zero-clear structures, more unused default in ClipRetFullscreen, NavApplyItemToResult() coding style fix) ocornut 2020-11-05 13:15:02 +01:00
  • 046057cebb Selectable: Avoid pushing span-column background if clipped. ocornut 2020-11-04 20:11:34 +01:00
  • 7a27b2a282 Update Readme, links to Useful Widgets, updated a gif. ocornut 2020-11-04 20:11:05 +01:00
  • 2bf5ca7ef2 ImDrawListClipper: avoid over reserving memory. ocornut 2020-11-04 17:50:30 +01:00
  • d6a2f7e95e Reduced padding + unused storage in ImDrawList (224->192 bytes) + zero-init ImDrawListSplitter and ImDrawList ocornut 2020-11-04 13:49:16 +01:00
  • 2fa00656a4 Fix for IMGUI_DISABLE_METRICS_WINDOW ocornut 2020-11-03 15:46:29 +01:00
  • b934b9bb86 Backends: OSX, Metal: Fix -Wshadow, -Wimplicit-float-conversion, and -Wsign-conversion warnings. (#3555) Albin Odervall 2020-10-23 18:57:35 +02:00
  • 9cca1b2e97 Replace UTF-8 decoder with one based on branchless version by Christopher Wellons. (not branchless anymore tho) Rokas Kupstys 2020-11-03 14:32:44 +01:00
  • 3777fbbd81 Renamed io.ConfigWindowsMemoryCompactTimer to io.ConfigMemoryCompactTimer as the feature will apply to other data structures. ocornut 2020-11-03 14:28:41 +01:00
  • e3ac52630a Merge branch 'master' into docking ocornut 2020-10-31 00:47:17 +01:00
  • 047d4c4500 Metrics: Extracted most functions. ocornut 2020-10-30 23:02:54 +01:00
  • 044ed22379 Metrics: Fixed mishandling of ImDrawCmd::VtxOffset in wireframe mesh renderer + omitting trailing empty ImDrawCmd in count + relying on IdxOffset value. ocornut 2020-10-30 22:40:44 +01:00
  • a129621292 Doc: mention IMGUI_USE_WCHAR32 in fonts documentation (#3562) M. Frink ~ Lemur 2020-10-29 12:21:06 -05:00
  • 6f57d58e82 Backends: OSX: Fix KeyPadEnter on MacOS. (#3554) Rokas Kupstys 2020-10-28 11:35:27 +02:00
  • df35157397 Drag and Drop: Fix losing drop source ActiveID (and often source tooltip) when opening a TreeNode() or CollapsingHeader() while dragging. (#1738) ocornut 2020-10-26 14:40:44 +01:00
  • b7530e5d04 Revert "Replace UTF-8 decoder with branchless version by Christopher Wellons." (#3558) ocornut 2020-10-25 16:27:32 +01:00
  • b3576dd354 Replace UTF-8 decoder with branchless version by Christopher Wellons. Rokas Kupstys 2020-09-23 14:35:46 +03:00
  • bca4749346 Examples: Apple: Consolidated example_apple_metal to reduce class and file count (#1873, #3543) Warren Moore 2020-10-18 13:24:35 -07:00
  • 5292320110 Amend ffe8f0177f (#3544) + readme fixes ocornut 2020-10-23 11:25:26 +02:00
  • ffe8f0177f Backends: OpenGL3: Backup/restore GL_PRIMITIVE_RESTART state (#3544) Louis Schnellbach 2020-10-20 10:00:26 +02:00
  • acb8ef2006 Examples: Vulkan: Fixed CMake include path. (#3550) Bill Six 2020-10-21 03:13:54 -04:00
  • 455c21df71 Merge branch 'master' into docking + dockspace demo comments ocornut 2020-10-19 15:06:58 +02:00
  • e6b99a420b Tab Bar: Do not display a tooltip if the name already fits over a given tab. (#3521) ocornut 2020-10-19 15:01:24 +02:00
  • fbe74ed50c Tab Bar: zero clear more structures. ocornut 2020-10-19 12:10:31 +02:00
  • 8c9b3c9013 Tab Bar: Fixed using more than 128 tabs in a tab bar. ocornut 2020-10-19 11:51:38 +02:00
  • 748bd1ba9c Tab Bar: Restore cursor position in EndTabBar() when amending (amend f2f32602) + made LastTabItemIdx consistent ImS8 as other tab storage relies on same type ocornut 2020-10-19 11:32:53 +02:00
  • c9fafd5ea4 Drag and Drop: Fix drag and drop to tie same-size drop targets by choosen the later one. Fixes dragging into a full-window-sized dockspace inside a zero-padded window. (#3519, #2717) Black Cat! 2020-10-10 17:39:06 +04:00
  • d015004f45 Rename colored>color in comments where possible (#3528) ocornut 2020-10-15 20:05:35 +02:00
  • 127f132447 Backends: OpenGL3: Add compatibility of GL_VERSION for GL 2.x (#3530) xndcn 2020-10-15 11:39:08 +08:00
  • 31a144b60c Fix comments (#3534) ocornut 2020-10-15 19:37:18 +02:00
  • d3a80d9f1b Internals: Docking: More fixes to make DockNodeBeginAmendTabBar() viable (probably some issues left) ocornut 2020-10-15 14:54:41 +02:00
  • b26f1530b7 Internals: Docking, Tab Bar: Add DockNodeBeginAmendTabBar() and work toward making hybrid dock node with windows tab bars somehow work (not done). ocornut 2020-10-14 19:11:00 +02:00
  • bae2240eda Tab Bar: Made it possible to append to an existing tab bar by calling BeginTabBar()/EndTabBar() again. ocornut 2020-10-14 18:34:33 +02:00
  • f2f326024c Tab Bar: Made it possible to append to an existing tab bar by calling BeginTabBar()/EndTabBar() again. ocornut 2020-10-14 18:34:33 +02:00
  • 042a3b01d2 Merge branch 'master' into docking ocornut 2020-10-14 14:43:45 +02:00
  • b1a18d82e3 Moving backends code from examples/ to backends/ (step 6: update markdown documentation) ocornut 2020-10-14 12:22:53 +02:00
  • a2a3d80f04 Moving backends code from examples/ to backends/ (step 5: move documentation to MD files) ocornut 2020-10-14 11:44:09 +02:00
  • a2d845f9dd Moving backends code from examples/ to backends/ (step 4: update documentation, much improvement) ocornut 2020-10-12 18:57:04 +02:00
  • a7e21fb05f Moving backends code from examples/ to backends/ (step 3: fixing project files) ocornut 2020-10-12 15:41:57 +02:00
  • 428f4fce70 Moving backends code from examples/ to backends/ (step 2: moving vulkan cruft) ocornut 2020-10-12 15:51:41 +02:00
  • d9b2fb7338 Moving backends code from examples/ to backends/ (step 1: moving source files) ocornut 2020-10-12 15:22:06 +02:00
  • 124c2608f1 Docs: Renamed all occurences of "binding" and "back-end" to "backend" in comments and documentations, for consistency. ocornut 2020-10-12 17:34:22 +02:00
  • 041ef01b33 Removed redirecting functions/enums names that were marked obsolete in 1.61: InputFloat, InputFloat2, InputFloat3, InputFloat4 with int decimal_precision parameter. (#648, #712) ocornut 2020-10-12 15:08:43 +02:00
  • 0f13fdd177 Removed redirecting functions/enums names that were marked obsolete in 1.60: io.RenderDrawListsFn, IsAnyWindowFocused(), IsAnyWindowHovered(), etc. ocornut 2020-10-12 13:13:09 +02:00
  • 04de5ef819 Version 1.80 WIP ocornut 2020-10-12 13:02:38 +02:00
  • a38c6dfcc8 Internals: Added support for context hooks (for test engine or other extensions) ocornut 2020-10-09 17:13:03 +02:00
  • 682249396f Merge branch 'master' into docking ocornut 2020-10-08 16:03:16 +02:00
  • e5cb04b132 Version 1.79 v1.79 ocornut 2020-10-08 13:55:25 +02:00
  • c6f9c558ec CI: Use our own discord notifier. Rokas Kupstys 2020-10-08 15:06:46 +03:00
  • ae5b4991be Docs: update gallery links. (#3514) Christian 2020-10-08 13:56:05 +02:00
  • 03b1e643b4 Docs: Funding link, Tweaks, Gallery links. ocornut 2020-10-08 10:47:10 +02:00
  • 12d9505534 CheckboxFlags: Display mixed-value/tristate marker when passed flags that have multiple bits set and stored value matches neither zero neither the full set. ocornut 2020-10-07 15:13:04 +02:00
  • 4fd43a8b64 Internals: removed NavLayerCurrentMask (redundant, add extra shift in ItemAdd(). ocornut 2020-10-05 14:52:18 +02:00
  • 014e5078a8 Demo: add a small easter egg when the 4x4 board of Selectable is filled + tweaked the demo. ocornut 2020-10-05 12:57:05 +02:00
  • 01cc666039 ImGuiListClipper: Renamed constructor parameters which created an ambiguous alternative to using the ImGuiListClipper::Begin() function, with misleading edge cases. ocornut 2020-10-05 12:28:28 +02:00
  • 6469b94304 Silence memset warning. (#3505) Bartosz Taudul 2020-10-02 19:12:53 +02:00
  • 7b1ab5b275 ImVector: Stricter bound-checking asserts. Fix warnings: trailing comma (old compilers), zealous preprocessor warnings. ocornut 2020-10-01 14:07:20 +02:00
  • 958e58b06b Merge branch 'master' into docking ocornut 2020-10-01 13:33:08 +02:00
  • 5f336ce8f8 Tab Bar: Fixed buffer underflow in TabBarLayout, introduced by 4a57a982b (#3501, #3291) ocornut 2020-10-01 13:27:24 +02:00
  • 3be352fc80 CI: Add discord notifications. Rokas Kupstys 2020-09-28 12:29:54 +03:00
  • 179dc04d8a Examples: Added missing comments in example_apple_metal. (#3400) ocornut 2020-09-30 14:22:36 +02:00
  • c49330fc52 Docking: Fix handling of WindowMenuButtonPosition == ImGuiDir_None in Docking Nodes. (#3499) ocornut 2020-09-30 14:11:22 +02:00
  • 52c0b1a340 ImGuiListClipper: internal rework and tidying up to facilitate supporting frozen rows in tables + stop promoting using constructors parameters. ocornut 2020-09-24 18:08:01 +02:00