Commit Graph

  • 90b152f265 ImFontAtlas: Fixed multiple rebuild with same inputs erroneously increased ConfigDataCount. CI: Update Ubuntu 18.04 > 20.04 (motivated by #3369) ocornut 2020-08-07 16:26:16 +02:00
  • ede8825fb2 Examples: Vulkan: Fixed GLFW+Vulkan and SDL+Vulkan clear color not being set. Broken by a06eb833 (#3390) ocornut 2020-08-07 15:24:00 +02:00
  • b15b25bccd TabBar: made a change to that declared ideal width (for auto-resize) won't lag by an extra frame. omar 2020-08-06 16:35:29 +02:00
  • 8074b49148 Selectable: Fixed highlight/hit extent when used with horizontal scrolling (in or outside columns). (#3187, #3386) omar 2020-08-05 19:23:00 +02:00
  • fc61018b1c Demo: Renamed "Layout" -> "Layout & Scrolling". Fixed usage of local struct as template class (c++11). omar 2020-08-05 17:10:06 +02:00
  • 473a01adb0 Scrolling: Avoid SetScroll, SetScrollFromPos functions from snapping on the edge of scroll limits. (#3379) + Demo: Rename "Layout" to "Layout & Scrolling". omar 2020-08-05 17:09:40 +02:00
  • a24578ec09 Examples: Switch most VS projects to enable Edit & Continue by default (may need to upgrade projects to latest toolchain) omar 2020-08-05 14:58:44 +02:00
  • db886f3953 Demo: Rework Clipping section. Fix for static analysis. Added bindings in Readme. omar 2020-08-04 12:05:15 +02:00
  • 963839373c Demo tweaks + general removal of the word dummy were possible with no issues (kept the API call). omar 2020-08-03 21:19:12 +02:00
  • de1588928b Merge branch 'master' into docking omar 2020-08-03 19:54:31 +02:00
  • 55041ac3be Demo: Removed thin triangle and aligned code. omar 2020-08-03 19:25:41 +02:00
  • 912c45ab23 Demo: Improve "Custom Rendering"->"Canvas" demo with a grid, scrolling and context menu. omar 2020-08-03 19:13:42 +02:00
  • 4929a8e4a5 InvisibleButton: Made public a small selection of ImGuiButtonFlags (previously in imgui_internal.h) and allowed to pass them to InvisibleButton(). omar 2020-08-03 18:37:19 +02:00
  • a876ad877d Window: Fixed clicking over an item which hovering has been disabled (e.g inhibited by a popup) from marking the window as moved. omar 2020-08-03 18:04:58 +02:00
  • 5d87941451 Fixed ImFontConfig::GlyphExtraSpacing and ImFontConfig::PixelSnapH settings being pulled from the merged/target font settings when merging fonts, instead of being pulled from the source font settings. omar 2020-08-02 11:54:34 +02:00
  • 76ddacd2a1 Internals: Backport HoveredWindowUnderMovingWindow code from Docking branch. omar 2020-07-29 15:26:31 +02:00
  • 70fa37527d Merge branch 'master' into docking omar 2020-07-29 15:15:14 +02:00
  • 218ff3a2a5 Internals: Backport one ->WasActive test in NavRestoreLastChildNavWindow() from 9bf6509c6 + minor/shallow bits from docking branch. omar 2020-07-29 15:04:29 +02:00
  • c7f5876f8a Internals: backport window HitTestHole code from docking branch + RenderRectFilledWithHole() helper. (#1512, #3368) omar 2020-07-29 14:44:58 +02:00
  • bbd061538c Internals: Drag/Sliders: simplified some code. omar 2020-07-24 13:00:56 +02:00
  • b8c22bdb28 DragFloatRange2, DragIntRange2: Fixed an issue allowing to drag out of bounds when both min and max value are on the same value. (#1441) omar 2020-07-23 19:03:48 +02:00
  • fdc526e8f8 Stop advertisting for Drag v_min>v_max which was introduced in 1.73 likely for 0537ac00 then made unnecessary with 32c33c66, added undocumented ImGuiItemFlags_ReadOnly as possible replacement (unused), (#211) omar 2020-07-23 18:18:30 +02:00
  • b335225caa Internals: Extract ImFontAtlasBuildRender1bppRectFromString() out of ImFontAtlasBuildRenderDefaultTexData() + minor renaming, comments omar 2020-07-22 17:24:52 +02:00
  • 3d4af15d1d Backends GLFW: Use GLFW_MOUSE_PASSTHROUGH when available. Rokas Kupstys 2020-07-17 16:57:50 +03:00
  • cba52b66af Backends: GLFW: Fixed enabling ImGuiBackendFlags_HasMouseHoveredViewport broken by 950539b7. omar 2020-07-17 18:11:01 +02:00
  • e223bd8177 ImDrawList: changed AddCircle(), AddCircleFilled() default num_segments from 12 to 0. omar 2020-07-16 22:25:23 +02:00
  • 4be8155002 Style Editor: Added preview of circle auto-tessellation when editing the corresponding value.. omar 2020-07-16 21:51:49 +02:00
  • 825f2ae455 Demo: Tweak "child windows" section. (#3318) omar 2020-07-16 17:20:24 +02:00
  • f79f0e42f7 Merge branch 'master' into docking omar 2020-07-14 18:38:47 +02:00
  • eefae08261 Nav: Fixed clicking on void from not clearing focused window. Amend d31fe97f7. (#3344, #2880) omar 2020-07-14 18:36:35 +02:00
  • 550f110354 InputText, ImDrawList: Fixed assert triggering when drawing single line of text with more than ~16 KB characters. (#3349) omar 2020-07-12 23:51:13 +02:00
  • cbade7b16d Docking: Workaround recovery for node created without the _ockSpace flags later becoming DockSpace. (#3340) omar 2020-07-10 19:04:58 +02:00
  • fb7f6cab8c Backends: Amend, docs + extra comments. (#3330, #3245) omar 2020-07-10 14:36:00 +02:00
  • 06f7854b16 Backends: OpenGL3: Add glad 2 to OpenGL loaders. (#3330) Moritz Heinemann 2020-07-01 23:13:59 +02:00
  • b626dd57d3 Backends: DX12, Viewports: Tidying up, renaming. omar 2020-07-10 12:20:03 +02:00
  • cb1d578470 Backends: DX12, Viewports: Fixed issue on shutdown when viewports are disabled. (#3347) omar 2020-07-10 12:09:24 +02:00
  • 89685b346c ImDrawList: Fixed minor bug introduced in 1.75 where AddCircle() with 12 segments would generate an extra unrequired vertex. omar 2020-07-09 11:21:31 +02:00
  • 66336528c8 Merge branch 'features/tex_antialiased_lines' (#3245) omar 2020-07-08 20:19:57 +02:00
  • 3a6c9907cd Texture-based thick lines: Minor tweaks and rename toward merging in master. Changes to allow changing AA_SIZE (disable texture path). omar 2020-07-07 13:24:10 +02:00
  • b5bae9781d Texture-based thick lines: Only use textured lines for integer line widths Ben Carter 2020-07-07 16:19:27 +09:00
  • 78d6bdf080 Texture-based thick lines: Remove unnecessary indirection in fetching UV data, removed lerp call, renames, tweaks. omar 2020-05-16 16:55:05 +02:00
  • a07c8b6999 Texture-based thick lines: Fixes for AddCustomRect api, add IMGUI_HAS_TEXLINES define (temporarily) to facilitate working with test cases, Demo allows growing FrameBorderSize for testing Omar 2020-02-17 11:58:22 +01:00
  • 21d9e8e1f4 Texture-based thick lines: Simplified line width calculation code and removed hack for thickness 1.0 lines Ben Carter 2020-02-11 11:23:43 +09:00
  • 403bf45245 Texture-based thick lines: Allow interpolation between textures for non-integer line widths Ben Carter 2020-02-06 14:30:29 +09:00
  • 222b7ddbfa Texture-based thick lines: Tweaks, fix for truetype builder. omar 2020-01-23 15:23:23 +01:00
  • 741ab74b55 Texture-based thick lines: Improvements to code for drawing anti-aliased lines using textures Ben Carter 2020-01-15 16:33:09 +09:00
  • 1d3c3070d8 Texture-based thick lines: Initial version of AA line drawing using textures (press SHIFT to enable) Ben Carter 2020-01-13 14:24:55 +09:00
  • 8e4046e13b Atlas build use GetCustomRectByIndex() + comments, rename, and shallow merge from tex_antialiasing_lines branch. Ben Carter 2020-07-08 17:17:52 +02:00
  • 0d03e1fafa CI: Fix emscripten builds that broke due behavior change of emscripten SDK. Rokas Kupstys 2020-07-07 12:49:25 +03:00
  • 4f5aac319e Docking: moved local-ish IMGUI_DOCK_SPLITTER_SIZE to DOCKING_SPLITTER_SIZE at the top of the file. omar 2020-07-03 15:51:05 +02:00
  • fc9d6b6cb5 Docking: Added experimental flags to perform more docking filtering and disable resize per axis. Designed for toolbar patterns. omar 2019-11-29 17:52:30 +01:00
  • a1d2c6fad9 Fixed invalid comment (#3327) omar 2020-06-30 19:00:31 +02:00
  • 4bdbea8375 Docking: Rework size allocation to allow user code to override node sizes. Not all edge cases will be properly handled but this is a step toward toolbar emitting size constraints. omar 2020-06-30 18:53:13 +02:00
  • 2b9d88196e Docking: Rework size allocations to recover when there's no enough room for nodes + do not hold on WantLockSizeOnce forever (#3328) omar 2020-06-30 18:52:02 +02:00
  • ab4ef822f0 Version 1.78 WIP omar 2020-06-30 16:56:09 +02:00
  • 90ea7e2f2f Merge branch 'master' into docking omar 2020-06-30 16:43:16 +02:00
  • 0738611559 Misc: Bunch of code formatting changes suggested by a pass running 'astyle' Rokas Kupstys 2020-06-30 15:31:54 +02:00
  • dca7c3c629 TestEngine: Added hook to notify test engine of a removed imgui context. omar 2020-06-29 20:10:59 +02:00
  • ddabfc3477 Merge branch 'master' into docking omar 2020-06-29 17:15:40 +02:00
  • 9418dcb693 Version 1.77 v1.77 omar 2020-06-29 15:09:55 +02:00
  • 122febcdbf IO: Added storage for PenPressure (unused by core library, to facilitate experiments) (#2372) omar 2020-06-29 15:03:11 +02:00
  • f4f04cb5ec Windows: Amend 6b0cf2e6 to facilitate working in viewport branch + handle safe area padding and ConfigWindowsMoveFromTitleBarOnly. omar 2020-06-25 22:58:23 +02:00
  • dd02a180b5 Windows: Amend 6b0cf2e6 to facilitate working in viewport branch + handle safe area padding and ConfigWindowsMoveFromTitleBarOnly. omar 2020-06-25 22:58:23 +02:00
  • d7ef56dca2 Windows: Fix unintended window size changes when resizing windows close to main viewport edges. Rokas Kupstys 2020-06-24 14:00:35 +03:00
  • 6b0cf2e6ae Windows: Fix unintended window size changes when resizing windows close to main viewport edges. Rokas Kupstys 2020-06-24 14:00:35 +03:00
  • 45a7cf47ab FAQ update, removed redundant block in imgui.cpp omar 2020-06-25 16:44:06 +02:00
  • 5628416bd3 Merge branch 'master' into docking omar 2020-06-25 14:03:40 +02:00
  • fed80b9537 Popups: Changed 'int mouse_buttons' to ImGuiPopupFlags. Added ImGuiPopupFlags_NoOpenOverExistingPopup, ImGuiPopupFlags_NoOpenOverItems. Refactored signature of BeginPopupContextWindow(). omar 2020-06-19 15:26:02 +02:00
  • 5acf6d861a Popups: Added ImGuiPopupFlags type, ImGuiPopupFlags_AnyPopupId and ImGuiPopupFlags_AnyPopupLevel flags for IsPopupOpen(). omar 2020-06-19 15:17:56 +02:00
  • 1c35750ee0 Added ImGuiCond_None for consistency and for generated bindings needing this for enums mapping. omar 2020-06-23 19:45:31 +02:00
  • 7538bbabb6 Demo: Commented out ideas on another way to center a window. omar 2020-06-23 19:01:40 +02:00
  • e1d7e14717 Viewports: used main viewport for centering (wip), clarified the meaning of how ImGuiPlatformMonitor WorkPos/WorkSize should be set if unknown, added asserts. omar 2020-06-23 18:31:44 +02:00
  • a616ff5d4a BeginPopupModal() doesn't set the ImGuiWindowFlags_NoSavedSettings flag anymore, and will not always be auto-centered. (#915, #3091) omar 2020-06-23 17:52:13 +02:00
  • b83a1f3b00 BeginPopupModal() doesn't set the ImGuiWindowFlags_NoSavedSettings flag anymore, and will not always be auto-centered. (#915, #3091) omar 2020-06-23 17:52:13 +02:00
  • 68389200c4 Internals: Comments about CalcWrapWidthForPos() (#778) omar 2020-06-23 16:12:19 +02:00
  • e0ec69d84b Internals: Added ImageButtonEx() helper to temporarily bypass ID issues (#2464, #1390) omar 2020-06-23 15:47:07 +02:00
  • 76e40fe5d1 Docking: Fix misuse of PushClipRect in UpdateWindowManualResize(). (#3311) omar 2020-06-20 22:06:44 +02:00
  • 20d61f5f62 Merge branch 'master' into docking omar 2020-06-20 22:06:01 +02:00
  • 1a1dcea1a0 Internals: Initialize drawlist earlier in Begin() to facilitate detecting accidental draw earlier than legal. (#3311) omar 2020-06-20 22:03:50 +02:00
  • 99f68d7958 Docs: Added FAQ entries removed old one which is misleading today. Misc tweaks. omar 2020-06-19 10:56:54 +02:00
  • 9c2a36f573 Internals: clarified the code for ClampWindowRect(). omar 2020-06-19 10:08:05 +02:00
  • 8ead38c100 Clang: Reduce uses of __has_warning for overall sanity, as compilers are hostile to software targetting multiple compiler version. omar 2020-06-18 16:33:23 +02:00
  • 704723744e Disabled latest overzealous warnings from Clang omar 2020-06-18 16:19:51 +02:00
  • b1d8309abc Added ImGuiTabItemFlags_NoTooltip for individual Tab Item. Louis Schnellbach 2020-06-18 15:18:14 +02:00
  • 078571b7a9 Popups: added comments, reorganized the functions in imgui.h ocornut 2020-06-16 23:05:01 +02:00
  • 6e138504c1 Popups: Fix BeginPopupContextVoid() when clicking over the area made unavailable by a modal. (#1636) ocornut 2020-06-16 19:32:21 +02:00
  • 37eb89371b Popups: Internals: Added IsAnyPopupOpen(). ocornut 2020-06-16 18:46:14 +02:00
  • d31fe97f74 Popups: Fix an edge case where programatically closing a popup while clicking on its empty space would attempt to focus it and close other popups. (#2880) ocornut 2020-06-16 16:50:28 +02:00
  • 1dfd0634cb Internals: Allow ItemHoverable() to be used with id==0 to facilitate high-level read-only hover test in widget code. ocornut 2020-06-15 19:06:20 +02:00
  • 99ab521024 Renamed OpenPopupOnItemClick() to OpenPopupContextItem(). Kept inline redirection function (will obsolete). + Removed CalcItemRectClosestPoint() entry point ocornut 2020-06-15 22:06:45 +02:00
  • c658cba22b Comments, reworded some !(xxx && xxx) complex expression to be a little less confusing. ocornut 2020-06-15 16:18:30 +02:00
  • 90c0c0c163 Columns: Lower overhead on column switches and switching to background channel. (second attempt for 9b3ce49) omar 2020-06-13 15:48:05 +02:00
  • d3b37180a3 ImDrawList: Fixed minor bug introduced in 1.75 where AddCircle() with 12 segments would generate an extra unrequired vertex. Ben Carter 2020-06-13 14:14:07 +02:00
  • 2665288b30 Merge branch 'master' into docking ocornut 2020-06-11 11:36:38 +02:00
  • a933cc4f4d Documentation update ocornut 2020-06-11 09:52:46 +02:00
  • 64d8d302fb ImDrawList: Fixed VtxOffset change leading to unnecessary leading empty ImDrawCmd in certain cases. ocornut 2020-06-10 19:16:06 +02:00
  • 16da8e6da6 Revert "Columns: Lower overhead on column switches and switching to background channel (some stress tests in debug builds went 3->2 ms). (#125)" ocornut 2020-06-10 17:54:19 +02:00
  • 53f0f97273 Added FAQ entry about DPI. Added Japanese font loading example. ocornut 2020-06-09 17:29:26 +02:00
  • 40b799023b Docs: Update fonts.md (#2861) + update all references to FONTS.txt ocornut 2020-06-09 16:29:00 +02:00
  • a72754886f Docs: Initial draft of fonts documentation (#2861) Scott 2020-06-09 16:10:37 +02:00