Commit Graph

  • 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
  • 324e0310ad Renamed ImGuiSliderFlags_ClampOnInput to ImGuiSliderFlags_AlwaysClamp. (#1829, #3209, #946, #413) ocornut 2020-09-25 13:34:31 +02:00
  • fbabf651f4 Style: Renamed style.TabMinWidthForUnselectedCloseButton to style.TabMinWidthForCloseButton. Fixed README links. ocornut 2020-09-25 13:20:57 +02:00
  • fa004ae79a Merge branch 'master' into docking ocornut 2020-09-22 17:00:57 +02:00
  • 1ec464eb9a Tab Bar: Further simplification of section/clip rect handling. (#3291) ocornut 2020-09-22 16:14:04 +02:00
  • 6b76781c66 Tab Bar: Tidying up. Rework ShrinkWidths to allow marking tabs as not shrinkable (unused yet) + don't unnecessarily move data within ShrinkWidthBuffer. (#3291) ocornut 2020-09-22 11:18:22 +02:00
  • 99f69eb185 Tab Bar: Moved up TabBarScrollingButtons function call. (#3291) Louis Schnellbach 2020-09-22 10:58:10 +02:00
  • 205874f5b1 Tab Bar: Fix reorderable tab bars. Fix misleading use of tab_max_width in TabBarLayout(). Misc amends, shortening. (#3291) ocornut 2020-09-21 18:40:18 +02:00
  • 3422cb1308 Tab Bar: Various fixes. Tried to reduce code complexity. (#3291) Louis Schnellbach 2020-09-04 11:13:46 +02:00
  • 5e5f25e2dd Tab Bar: Rename named sections members into array. Various tidying up. (#3291) ocornut 2020-09-03 12:49:00 +02:00
  • 7ac16c02cc Tab Bar: Fix multiple width and position computation issue. (#3291) Louis Schnellbach 2020-08-27 16:18:25 +02:00
  • f23c39c395 Tab Bar: Fixed handling of scrolling policy with leading/trailing tabs. + warning fixes + bunch of renaming. (#3291) ocornut 2020-08-27 15:16:16 +02:00
  • 4a57a982be Tab Bar: Added TabItemButton(), ImGuiTabItemFlags_Leading, ImGuiTabItemFlags_Trailing + demo. (#3291) Louis Schnellbach 2020-08-03 18:55:51 +02:00
  • 29836412e1 Internals, CollapsingHeader, TabItem: Standardized using a #CLOSE id prefix for TabItem and ColllapsingHeader (same as window) ocornut 2020-09-22 15:49:47 +02:00
  • 27d0c3afa9 Tab Bar: Fixed a small bug where scrolling buttons (with ImGuiTabBarFlags_FittingPolicyScroll) would generate an unnecessary extra draw call. ocornut 2020-09-21 19:46:44 +02:00
  • afc1099fb5 Tab Bar: Fixed a small bug where closing a tab that is not selected would leave a tab hole for a frame. ocornut 2020-09-21 18:52:12 +02:00
  • 795cf6fcb5 Removed return value from OpenPopupOnItemClick(). Use IsWindowAppearing() after BeginPopup() for a similar result. ocornut 2020-09-21 15:05:04 +02:00
  • a58a727781 Renamed OpenPopupContextItem() back to OpenPopupOnItemClick(), reverting 99ab5210 ocornut 2020-09-21 12:02:19 +02:00
  • ec945f44b5 InputText: Added support for Page Up/Down in InputTextMultiline. (#3430) Louis Schnellbach 2020-09-17 11:39:54 +02:00
  • 8eca736a7a Update binary link omar 2020-09-18 10:03:14 +02:00
  • c206a19373 Removed ImFont::DisplayOffset in favor of ImFontConfig::GlyphOffset. (#1619) ocornut 2020-09-17 16:43:23 +02:00
  • fbf70070bb InputText: Fixed minor inconsistency when pressing Down on the last line when it doesn't have a carriage return (it used to move to the end of the line) Louis Schnellbach 2020-09-17 11:32:56 +02:00
  • c47bcb25ed Fix popup and tooltip positioning when not fitting in the screen. Amend fa42ccea8. ocornut 2020-09-17 11:00:56 +02:00
  • b7b08f52a4 Fix popup and tooltip positioning when not fitting in the screen. Rokas Kupstys 2020-05-13 14:56:13 +03:00
  • 825f699bde Backends: OpenGL3: Amends (#3467, #1985) ocornut 2020-09-17 09:33:48 +02:00
  • 42575d4a99 Viewports, Backends: Win32: Fix toggling of ImGuiViewportFlags_TopMost (#3477) Sven Balzer 2020-09-17 02:58:23 +02:00
  • 2460f2abe3 Backends: OpenGL3: Fix to avoid calling glBindSampler() with version <= 3.2 (#3467, #1985) Julian Webb 2020-09-10 13:02:45 -05:00
  • 645a6e0342 Bypass unnecessary formatting when using the TextColored()/TextWrapped()/TextDisabled() helpers with a "%s" format string. (#3466) ocornut 2020-09-16 18:36:42 +02:00