Commit Graph

  • 3a737e665a Examples: Vulkan: Added missing support for 32-bit indices (#define ImDrawIdx unsigned int). + demo typo omar 2019-04-01 17:32:14 +0200
  • d9568c717d Silencing -Wstack-protector (#2459) Nicolas Noble 2019-03-31 01:35:03 -0700
  • e21bbee311 Examples: DirectX9: Fixed erroneous assert in ImGui_ImplDX9_InvalidateDeviceObjects(). FreeType: Fixed suggested code to not require an initial build call.. (#2454) omar 2019-03-29 18:29:15 +0100
  • 163779da51 Examples: DirectX12: Various tidying up. omar 2019-03-29 16:18:26 +0100
  • 512d39d031 Examples: OpenGL3: Minor tweaks, clarifications + not calling glBindBuffer more than necessary in the render loop. omar 2019-03-29 16:17:04 +0100
  • 9bf6509c6e Docking: Fixed focus restore lagging by a frame when a tab stops being submitted. (#2109) Building on a little build of technical debt there, should transition toward a more general docking-agnostic system (#2304) omar 2019-03-28 18:43:27 +0100
  • 5af385ea78 Viewport: Renamed member + added note about a Docking issue with restoring focus. omar 2019-03-28 18:02:03 +0100
  • 47219dd5c6 Docking: Remove code in BeginDocked() to set HiddenFramesCannotSkipItems based on upcoming tab bar selection, solely based on focus (might break something subtle?). Follow-up to c355ed1267. (#2453, #2109) omar 2019-03-28 16:13:06 +0100
  • b6ae8a0dca Docking: Disable SkipItems when directly/programmatically focused (possible generalization of code currently in BeginDocked which relies on tab bar interaction, will remove that code in next commit). (#2453, #2109) omar 2019-03-28 16:04:00 +0100
  • a33d45d7cd Merge branch 'master' into docking omar 2019-03-28 15:44:04 +0100
  • 9a0e71a6ec Internals: Renamed the ImGuiWindow HiddenFrameXXX fields to decorrelate them from resizing behavior, as those values are set by other logic. omar 2019-03-28 15:41:49 +0100
  • 5a665e423c Docking: Added ImGuiDockNodeFlags_NoTabBar (not exposed publicly). (#2423, #2109) omar 2019-03-27 20:44:49 +0100
  • fc95da8aa3 Docking: Internals: Moved CentralNode and HiddenTabBar state into LocalFlags for consistency. (#2423, #2109) omar 2019-03-27 20:32:44 +0100
  • fd5859ed04 Docking: Separating SharedFlags vs LocalFlags in dock node so settings can be applied to individual nodes. Made _NoResize logic on single node applies as expected. (#2423, #2109) omar 2019-03-27 18:48:07 +0100
  • 75e3793f4d Docking: Fix DockBuilderAddNode() not storing flags when creating floating node. omar 2019-03-27 17:30:32 +0100
  • 8d4b5fef1d Renamed ImGuiDockNodeFlags_Dockspace to ImGuiDockNodeFlags_DockSpace for consistency. DockBuilderCopyDockspace() to DockBuilderCopyDockSpace(). Made casing consistent elsewhere. (#2109) omar 2019-03-27 17:25:39 +0100
  • 04a9ce3a18 Docking: Renamed ImGuiDockNodeFlags_PassthruDockspace to ImGuiDockNodeFlags_PassthruCentralNode. + Comments, shallow tweaks. (#2109) omar 2019-03-27 15:34:02 +0100
  • 87883abd86 Docking: Tweak and silencing PVS studio static analyzer (back to zero warnings among our selected ones). omar 2019-03-26 14:15:56 +0100
  • f20725eada Docking: Fixed an issue where windows docked into a node that's part of their dockspace wouldn't recover their order correctly after init. (#2109) (It only worked on floating dock node for the accidental reason that BeginDocked would generally early out on the first frame) Tom Watson 2019-03-13 10:02:04 -0700
  • 26646f2450 Docking: Wrapping tab bar creation/destroy to make it easier to debug them. omar 2019-03-26 12:41:50 +0100
  • f208fd7ebb Docking: Fixed crash with ImGuiDockNodeFlags_AutoHideTabBar flag. (#2423, #2109) omar 2019-03-26 12:33:58 +0100
  • 20188b19d6 Comments (#2441) + Freeglut fixes (#2430) omar 2019-03-26 12:14:17 +0100
  • cf1b02e54e Rearrange code in UpdateMouseWheel(). (#2424, #1463) + Fix old io.FontAllowUserScaling feature (probably should be made obsolete, but until then best fixed) omar 2019-03-25 19:40:19 +0100
  • 1963cc59be Implement horizontal scrolling with Shift+Scroll Luca Rood 2019-03-16 19:55:42 +0100
  • 9350158d61 Merge branch 'master' into docking omar 2019-03-25 16:08:09 +0100
  • 3d8ea352d1 InputText: Fixed selection background starts rendering one frame after the cursor movement when first transitioning from no-selection to has-selection. (Bug in 1.69) (#2436) [@Nazg-Gul] omar 2019-03-25 16:06:30 +0100
  • abb7d7b18a InputText: Simplify read-only code path. omar 2019-03-25 15:50:23 +0100
  • d9f6ba3035 IsWindowHovered() made change which should have no effect in master but fix result of IsWindowHovered(ImGuiHoveredFlags_ChildWindows) over multiple viewport in docking branch. (#2432) omar 2019-03-25 15:39:11 +0100
  • a53c57152b Mention Julia binding in README (#2446) Gnimuc 2019-03-24 10:32:19 +0800
  • 7a5196601e Docking: BeginDocked() doesn't need to rely on tab bar data (will allow removing tab bar). omar 2019-03-16 18:13:24 +0100
  • c7619d4a6a Docking: Preserve existing docked nodes when setting the ImGuiDockNodeFlags_NoDockingInCentralNode flag. (#2423, #2109) omar 2019-03-16 16:19:09 +0100
  • 221bf93a55 Comments, todo list, remove trailing spaces. omar 2019-03-16 15:48:21 +0100
  • 7ba774a440 Viewports: Fixed being unable to refocus windows when ConfigViewportsNoTaskBarIcon + ConfigViewportsNoDecoration are enabled. (#2420, #1542) [@PathogenDavid] + comments. omar 2019-03-15 15:35:46 +0100
  • 857381b9ca GetMouseDragDelta(): also returns the delta on the mouse button released frame. Verify that mouse positions are valid otherwise returns zero. Removed obsolete comment. Tweaked demo. (#2419) omar 2019-03-15 15:03:37 +0100
  • ff03ae503b Examples: OpenGL: Added a dummy GL call + comments in ImGui_ImplOpenGL3_Init() to detect uninitialized GL function loaders early, and help users understand what they are missing. (#2421) omar 2019-03-15 13:09:07 +0100
  • cf2c52282d Version 1.70 WIP omar 2019-03-15 13:07:30 +0100
  • ebe79bbed0 Demo: Custom rendering: Minor sizing issue fix. v1.69 omar 2019-03-13 15:44:23 +0100
  • b1af4d36ce Merge branch 'master' into docking omar 2019-03-13 15:30:35 +0100
  • 55c02099c5 Version 1.69, comments, typos omar 2019-03-13 11:35:34 +0100
  • c3f20f6b81 Viewport: DestroyPlatformWindow() skips calling user function if PlatformWindowCreated is set. + Clarified comment about implicit Debug viewport which may be hogging a viewport. omar 2019-03-13 11:27:30 +0100
  • e7dca4fec2 Fixed main viewport not being marked as created, which broke updating the IME input position for the main viewport. David Maas 2019-03-13 00:57:15 -0500
  • a26085ed53 Internals: Fixed Navigation from reaching ImGuiItemFlags_Disabled items (#211) + Examples comments omar 2019-03-12 22:23:56 +0100
  • 53e0c13be2 TabBar: Reworked scrolling policy (when ImGuiTabBarFlags_FittingPolicyScroll is set) to teleport the view when aiming at a tab far away the visible section, and otherwise accelerate the scrolling speed to cap the scrolling time to 0.3 seconds. omar 2019-03-12 20:57:02 +0100
  • 99d8425173 TabBar: Fixed Tab tooltip code making drag and drop tooltip disappear during the frame where the drag payload activate a tab. omar 2019-03-12 18:56:19 +0100
  • 9afb849e16 Merge branch 'master' into docking omar 2019-03-12 18:28:47 +0100
  • cfa8f672f6 Examples: GLFW, SDL: Preserve DisplayFramebufferScale when main viewport is minimized. (This is particularly useful for the viewport branch because we are not supporting per-viewport frame-buffer scale. It fixes windows not refreshing when main viewport is minimized.) (#2416) omar 2019-03-12 18:27:14 +0100
  • 495065f790 Fixed Clang and PVS warnings. omar 2019-03-12 12:08:51 +0100
  • f254168335 InputText: Fixed c779fbb leading to display of the wrong buffer when resizing a buffer. (#2400, #2006, #1443, #1008). omar 2019-03-12 11:56:40 +0100
  • 897badec7a Demo: InputText: Demonstrating use of ImGuiInputTextFlags_CallbackResize. (#2006, #1443, #1008). omar 2019-03-12 11:24:49 +0100
  • a92c587c75 Added GetGlyphRangesVietnamese() helper. (#2403) omar 2019-03-11 22:02:59 +0100
  • 65c2220049 Internal: Removed unused fields from ImGuiMenuColumns. omar 2019-03-11 20:14:56 +0100
  • e1acb0b1fa Docking: Fixed node merging altering window position incorrectly in a way that would make SizeContents incorrect for the next frame (making scrollbar flicker). (#2414, #2109) omar 2019-03-11 19:46:37 +0100
  • 3ead9820f7 Viewport: Popups and Tooltips viewports are correctly parented to the parent window's viewport. (#2409, #1542) omar 2019-03-11 16:51:46 +0100
  • f7db4fad31 Merge branch 'master' into docking omar 2019-03-11 16:08:16 +0100
  • 6767b0a1b0 Examples: Win32+DirectX: moved helper functions below main. omar 2019-03-11 16:00:18 +0100
  • cf4fcc4735 Viewports: Fixed delayed window pos->viewport pos sync leading to monitor not being updated at the time of clamping window position in Begin. (#2415, #1542) omar 2019-03-11 13:10:41 +0100
  • 3eedb542a6 Viewports: Renamed ConfigViewportsNoParent to ConfigViewportsNoDefaultParent. Fix outdated comments in examples. omar 2019-03-11 11:07:23 +0100
  • ecf7666624 Docking: Fixed an issue where removing the last window from a dockspace node that is not a central node without remove the node. (#2414, #2109) omar 2019-03-10 22:19:18 +0100
  • b5d57a6615 Fix typos. (#2413) Bruce Mitchener 2019-03-09 16:10:17 +0700
  • 17c567c3a9 Don't use const qualified parameters in declarations. Bruce Mitchener 2019-03-09 00:05:20 +0700
  • 79bb4ce128 Added ImGuiColorEditFlagsFlags_InputHSV. (#2383, #2384) Haldean Brown 2019-03-07 15:31:29 +0100
  • 8e0e91827f ColorEdit: Fixed tooltip not honoring the ImGuiColorEditFlags_NoAlpha contract of never reading the 4th float in the array (value was read and discarded). (#2384) omar 2019-03-08 17:46:04 +0100
  • 66936880ba Moved placeholder sections to match Docking branch. Comments. omar 2019-03-08 17:33:44 +0100
  • 3b11505481 Fix typos. (#2411) Bruce Mitchener 2019-03-08 23:52:32 +0700
  • d77d3416d3 Merge branch 'master' into docking omar 2019-03-07 18:40:55 +0100
  • 5ce93bc0cc Refactor: Move viewport code under other subsystem to simplify merging (4) (moving in multiple commits to make diff/patch behave nicely) omar 2019-03-07 18:39:31 +0100
  • 54a129a2e2 Refactor: Move viewport code under other subsystem to simplify merging (3) (moving in multiple commits to make diff/patch behave nicely) omar 2019-03-07 18:38:40 +0100
  • bdf60dac6a Refactor: Move viewport code under other subsystem to simplify merging (2) (moving in multiple commits to make diff/patch behave nicely) omar 2019-03-07 18:35:14 +0100
  • bbb543fc16 Refactor: Move viewport code under other subsystem to simplify merging (1) (moving in multiple commits to make diff/patch behave nicely) omar 2019-03-07 18:33:45 +0100
  • f717df4eb6 Internal: Columns: Allow to use BeginColumns(1) so code designed for variable number of columns can still call NextColumn etc. (#125) omar 2019-03-07 18:21:56 +0100
  • e9651aaa77 TabBar: Fixed ImGuiTabItemFlags_SetSelected being ignored if the tab is not visible (with scrolling policy enabled) or if is currently appearing. omar 2019-03-07 17:45:59 +0100
  • 1c23981782 Made ImS8 and ImS16 explicitly signed in case some crazy SDK decide to flip the signedness over. (#2408) omar 2019-03-07 16:09:11 +0100
  • 28d8eb220b Fix for Android char being unsigned by default (#2408) omar 2019-03-07 16:07:16 +0100
  • 0a6c5bc234 Examples: DirectX9: Added support for multi-viewport (#2394) Gilad Reich 2019-03-06 21:34:37 +0100
  • e91d275b10 Merge branch 'master' into docking omar 2019-03-06 21:18:46 +0100
  • 8464df1f6e Internals: ColorEdit: Minor optimizations. Initialize internal arrays as static const, avoid unnecessary HSV->RGB conversion. omar 2019-03-06 19:12:53 +0100
  • ea8158acdf Demo: Renamed ShowHelpMarker() -> HelpMarker(). Fixed minor PVS warning. Removed unnecessary casts. omar 2019-03-06 18:19:28 +0100
  • 510342f024 Examples: DirectX9: Minor changes to match the other DirectX examples more closely. (#2394) omar 2019-03-06 18:00:04 +0100
  • c779fbb651 InputTextWithHint: Fix for Password fields. Update changelog, demo. (#2400) omar 2019-03-06 17:33:24 +0100
  • ab80ee6453 Added InputTextWithHint() (#2400) Lucas Lazare 2019-03-06 14:31:19 +0100
  • fe48368cb2 InputText: Moving some code in anticipation of supporting hint display with password. This commit is aimed at having no visible side effect. (#2400) omar 2019-03-06 15:44:21 +0100
  • 8b8ab1db5b Removed redundant declaration of SetNextWindowClass. (#2402) David Maas 2019-03-06 00:39:16 -0800
  • e02d6014bf Merge branch 'master' into docking omar 2019-03-05 22:13:38 +0100
  • 344140004b Fixed IsItemDeactivated()/IsItemDeactivatedAfterEdit() from not correctly returning true when tabbing out of a focusable widget (Input/Slider/Drag) in most situations. (#2215, #1875) + Minor renaming of a local variable in widget code. omar 2019-03-05 22:09:25 +0100
  • 26328fc9fe Internal: Tabbing/Focus: Tidying up old code, moved some state to context instead of window. Storing new data will allow us to fix the bug mentioned in #2215 (probably in next commit). omar 2019-03-05 19:37:20 +0100
  • 9c45072cb0 Demo: Added flags to InputTextMulttiline() demo. omar 2019-03-05 19:22:58 +0100
  • 076be7ec41 MenuItem, Selectable: Fixed disabled widget interfering with navigation (fix c2db7f63 in 1.67). omar 2019-03-05 19:00:19 +0100
  • ce4e62649a Internal: Tabbing: Tweaks to FocusableItemRegister and using the standard mechanism to allow/block Tab being interpreting by tabbing instead of InputText() widget. omar 2019-03-05 17:38:36 +0100
  • 1ed3c4cf4a Internal: Text: Extracted TextUnformatted into TextEx over which we can freely atter the signature. Clarified current large text behavior of TextUnformatted with explicit ImGuiTextFlags_NoWidthForLargeClippedText flag (always set). omar 2019-03-05 16:08:18 +0100
  • 622a27506a Text: Fixed large Text/TextUnformatted call not declaring its size when starting below the lower point of the current clipping rectangle. Somehow this bug has been there since v1.0! It was hardly noticeable but would affect the scrolling range, which in turn would affect some scrolling request functions when called during the opening frame of a window. omar 2019-03-05 15:23:11 +0100
  • ac4842fa17 Nav: Fixed Ctrl+Tab keeping active InputText() of a previous window active after the switch. (#2380) omar 2019-03-05 12:03:54 +0100
  • f4dd990e38 Comments and Issue Template omar 2019-03-05 11:03:32 +0100
  • 8414c0bb09 Merge branch 'master' into docking omar 2019-03-04 18:00:32 +0100
  • 94e794f81b Renamed GetOverlayDrawList() to GetForegroundDrawList() for consistency. Kept redirection function (will obsolete). (#2391) Demo: Using GetBackgroundDrawList() and GetForegroundDrawList() in "Custom Rendering" demo. omar 2019-03-04 16:20:32 +0100
  • 96b13760d4 Added GetBackgroundDrawList() helper to quickly get access to a ImDrawList that will be rendered behind every other windows. (#2391) omar 2019-03-04 16:10:51 +0100
  • 49eb5f0280 Merge branch 'master' into docking omar 2019-03-03 23:34:56 +0100
  • beb3062dc5 Examples: OpenGL: Fix to be able to run on ES 2.0 / WebGL 1.0. [@rmitton, @gabrielcuvillier] omar 2019-03-03 23:32:40 +0100
  • 9d1a392d7d Examples: OpenGL: Comments about versions and loaders. (#2393, #2351) omar 2019-03-03 23:14:30 +0100
  • 7a536f1bd2 Examples + Viewport: GLFW: context wasn't set when using multiple windows. (#2392) Richard Mitton 2019-03-01 18:55:55 -0800
  • 1c67d09c0b ColorPicker: Fix assertion when running in a collapsed window and dragging its title bar (#2389) omar 2019-03-01 00:05:39 +0100