Commit Graph

  • 65ad63de84 Added ImGuiFocusedFlags_NoPopupHierarchy and ImGuiHoveredFlags_NoPopupHierarchy (followup #4527) ocornut 2021-09-24 13:58:00 +02:00
  • fc4988ffb0 Added ImGuiFocusedFlags_NoPopupHierarchy and ImGuiHoveredFlags_NoPopupHierarchy (followup #4527) ocornut 2021-09-24 14:51:14 +02:00
  • 24a77824f2 Added ClosePopupsExceptModals() helper, unused for now (aimed at user being able to close popups on app focus loss, not necessarily a suitable default) ocornut 2021-09-22 15:50:40 +02:00
  • bbb95a5e06 IO: modify io.AddFocusEvent() to tolerate in/out for multi-viewports. Amend 2f40be6. (merged from docking) (#3532) ocornut 2021-08-19 17:35:27 +02:00
  • ca097c2c68 Docking: Fixed IsItemHovered() and functions depending on it (e.g. BeginPopupContextItem()) when called after Begin() on a docked window (#3851) ocornut 2021-09-22 14:05:21 +02:00
  • fba756176d Backends: SDL_Renderer: Amend 1d2d246, various tweaks, fixes, sync to latest. (#3926) ocornut 2021-09-21 19:29:39 +02:00
  • 62b17f928e Backends: SDL_Renderer: Added renderer backend for SDL 2.0.17+ (#3926) Sylvain 2021-09-21 17:12:30 +02:00
  • d7260104b1 Added comments about sliders clamping and ImGuiSliderFlags_AlwaysClamp (#4573) Martin Ejdestig 2021-09-21 19:18:21 +02:00
  • 15fe7ba31f ColorPicker: Fix not being able to pick exactly (1.0f, 1.0f, 1.0f) color by dragging toward the edges of the SV square. (#3517) Rokas Kupstys 2021-04-12 12:42:04 +03:00
  • 30546bc0e7 ColorEdit: Fix multiple issues. (#4014) Rokas Kupstys 2021-04-08 14:37:03 +03:00
  • 15132217a3 Nav: Fixed an issue with losing focus on docked windows when pressing Alt while keyboard navigation is disabled. (#4547, #4439) ocornut 2021-09-21 13:16:00 +02:00
  • fa0a314f59 Nav: Fixed an issue with losing focus on docked windows when pressing Alt while keyboard navigation is disabled. (#4547, #4439) ocornut 2021-09-21 13:16:00 +02:00
  • bc3d267c51 Backends: OSX: Use mach_absolute_time as CFAbsoluteTimeGetCurrent can jump backwards. (#4557, #4563) James McCartney 2021-09-20 00:20:04 -07:00
  • c6ca327fb2 Backends: Added more implicit asserts to detect invalid/redundant calls to Shutdown functions. (#4562) ocornut 2021-09-20 18:43:05 +02:00
  • ddddabdccf InputText: amend validation test to allow pushing Activate events remotely. (#4552, #2321) ocornut 2021-09-17 16:44:14 +02:00
  • 2cffcbdc64 InputText: fix Space key with nav enabled interfering with input text boxes (fix bd6c9e99). made it possible to activate InputText with tweak gamepad button (why not, now that we can cancel) (#4552, #2321) ocornut 2021-09-17 15:44:43 +02:00
  • 3973de7933 Internals: removed last parameter to IsClippedEx() + fix PVS studio warnings. ocornut 2021-09-15 16:50:20 +02:00
  • 2d0a6a4969 Misc: moved StacSizeOnBegin out of window instance into window stack data. ocornut 2021-09-15 15:36:03 +02:00
  • 66cd21db88 Misc: extracted ErrorCheckEndWindowRecover() out of ErrorCheckEndFrameRecover(). (#1651) ocornut 2021-09-15 15:23:55 +02:00
  • d366694062 Disabled: Added assert guard for mismatching BeginDisabled()/EndDisabled() blocks. (#211) + Added asserts for missing PopItemFlag() calls. Added both to ErrorCheckEndFrameRecover (#1651) ocornut 2021-09-15 15:16:58 +02:00
  • 4f10fe0a27 TreePush: removed arbitrary/weird suppot for TreePush((const char*)NULL) ocornut 2021-09-15 12:12:49 +02:00
  • c58fb46411 Merge branch 'master' into docking ocornut 2021-09-14 19:26:27 +02:00
  • e7cc534367 Docking: Improved resizing system so that non-central zone are better at keeping their fixed size. ocornut 2021-09-14 17:57:47 +02:00
  • 29828d0469 Docking: floating node with a central node hides properly when nothing is docked + rename. ocornut 2021-09-14 16:58:35 +02:00
  • 7b8bc864e9 Menus: Fixed vertical alignments of MenuItem() calls within a menu bar. (broken by f8fae022). (#4538) ocornut 2021-09-14 11:09:39 +02:00
  • 8dfb52245b Docking: bits. ocornut 2021-09-13 18:03:22 +02:00
  • 82754561e2 Nav: Fixed a few widgets from not setting reference keyboard/gamepad navigation ID when activated with mouse. ocornut 2021-09-13 15:17:54 +02:00
  • 5d95e7eef9 Viewports: extracted DestroyViewport() out of UpdateViewportsNewFrame() function. ocornut 2021-09-11 14:06:43 +02:00
  • 92a39f78b9 Fixed IsWindowFocused/IsWindowHovered with _ChildWindows for not following through popup parents (amend 6b1e094c, fix #4527) ocornut 2021-09-11 14:05:53 +02:00
  • 17a7084b57 Menus: Fixed crash when navigating left inside a child window inside a sub-menu. (#4510). ocornut 2021-09-10 15:37:59 +02:00
  • 79d39b190b Viewports: fix window with viewport ini data immediately merged into a host viewport from leaving a temporary viewport alive for a frame (would leak into backend). ocornut 2021-09-10 14:58:45 +02:00
  • 6b77668171 Viewports: Fixed a crash while a window owning its viewport disappear while being dragged. ocornut 2021-09-09 21:05:40 +02:00
  • 9a49c1ddbd Viewports: fixed unnecessary creation of temporary viewports when multiple docked windows got reassigned to a new node (created mid-frame) which already has a HostWindow ocornut 2021-09-09 20:51:53 +02:00
  • 6b1e094cfb Fixed _ChildWindows from leaking docking hierarchy. Added ImGuiFocusedFlags_DockHierarchy and ImGuiHoveredFlags_DockHierarchy. ocornut 2021-09-08 16:49:35 +02:00
  • cfb837203c Internals: refactored IsWindowHovered()/IsWindowFocused() to make their logic more similar + change underlying value of ImGuiHoveredFlags_AllowWhenBlockedByPopup + comment out docking only flags. ocornut 2021-09-08 15:05:27 +02:00
  • 321b84f01f Internals: refactored IsWindowHovered()/IsWindowFocused() to make their logic more similar + change underlying value of ImGuiHoveredFlags_AllowWhenBlockedByPopup + comment out docking only flags. ocornut 2021-09-08 15:05:27 +02:00
  • 40caab4748 Fixed bad merge of Changelog in docking branch ocornut 2021-09-07 18:21:47 +02:00
  • fa9fc05ac6 Merge branch 'master' into docking ocornut 2021-09-07 18:20:12 +02:00
  • d9b427cce0 Nav: clarified/renamed NavInputId as NavAcivateInputId, added flags shared by both. ocornut 2021-09-06 19:15:20 +02:00
  • 755bf985d2 Backends: OpenGL3: Made our custom GL loader a bit more tolerant of use of another loader in same compilation unit. (#4445, #4514) ocornut 2021-09-07 14:48:26 +02:00
  • 607ad8c949 Drag and Drop: Fixed using BeginDragDropSource() within a Begin()/BeginChild() that returned false. (#4515) + BeginDragDropTarget() ocornut 2021-09-06 20:42:40 +02:00
  • bd6c9e99fc InputText: Allow cancelling/validating input with gamepad nav events. ocornut 2021-09-06 18:45:50 +02:00
  • 0a154b30ad Nav, ButtonBehavior: reworked old code which ended up 1) calling SetActiveId repeately and 2) misleadingly set g.NavActivateId (amend af38749e) ocornut 2021-09-03 17:27:17 +02:00
  • ade4c15eea Nav: Tidying up, renaming + update AnyRequest flag in NavMoveRequestSubmit(). ocornut 2021-09-02 18:41:00 +02:00
  • 528104a89b Menus: adjust closing logic to accomodate for varying font size and dpi + remove seemingly redundant use of g.NavActivateId where pressed was enough. ocornut 2021-09-03 16:34:38 +02:00
  • 5ee40c8d34 Nav: always disable highlight if nav is disabled, fix for IMGUI_DEBUG_NAV_SCORING, minor renaming. ocornut 2021-09-01 17:36:17 +02:00
  • dff15acdb5 Nav: Fixed toggling menu layer with Alt exiting menu layer with Esc not moving mouse when NavEnableSetMousePos config flag is set. ocornut 2021-09-01 15:51:21 +02:00
  • 3d9d3b49ae Internals: folded ImGuiItemAddFlags into ImGuiItemFlags. ImGuiItemAddFlags_Focusable > ImGuiItemFlags_Inputable. One step in the big nav/tab/focus rework. ocornut 2021-09-01 14:41:24 +02:00
  • 73a5e82e04 Nav: removed parameters from NavScoreItem(), NavProcessItem(), NavApplyItemToResult(): made little sense / misleading because pulling from other current state anyway. ocornut 2021-09-01 12:39:12 +02:00
  • a735a8c084 Nav: storing NavRect in LastItemData. Fix race condition where framed items (Rect != NavRect) calling SetFocusID() would store the wrong NavRectRel until next frame ocornut 2021-09-01 12:07:17 +02:00
  • ee351d3548 Nav: move code into NavMoveRequestSubmit(). NavApplyItemToResult() takes absolute rect., comments ocornut 2021-08-31 18:50:56 +02:00
  • 7b913db1ce Nav: split NavMoveRequest into NavMoveSubmitted + NavMoveScoringItems to allow operation to defer a move request and provide result immediately + fix regular scoring needlesly running during init + some renaming. ocornut 2021-08-31 17:44:58 +02:00
  • 53589092b2 Docking: warning fix for when IM_ASSERT() is empty ocornut 2021-08-30 20:53:22 +02:00
  • eb6c16d3dd PlotHistogram: Fixed zero-line position when manually specifying min<0 and max>0. (#4349) Filippo Crocchini 2021-07-22 00:29:42 +02:00
  • 03ce17f0a5 Backends: Allegro: Fixed clipping rectangles (#4498) broken by 2b0bd40b (#4464) Jackamilio 2021-08-30 21:36:01 +02:00
  • dedb381c51 Merge branch 'master' into docking ocornut 2021-08-30 20:01:16 +02:00
  • 7c4ffe490d Menus: added internal's BeginMenuEx() matching MenuItemEx() with icon parameter. (amend f8fae022) ocornut 2021-08-30 19:54:42 +02:00
  • 4aea1c5adb IO: added io.WantCaptureMouseAllowPopupClose (#4480) + comments ocornut 2021-08-30 14:55:26 +02:00
  • 66102880a3 Updated links to Discussions ocornut 2021-08-30 17:06:51 +02:00
  • 333807b483 Windows: fixed background order of overlapping childs submitted sequentially. (#4493) ocornut 2021-08-30 13:08:41 +02:00
  • 11103f8253 Examples: SDL+OpenGL3: fixed build on ES2 target. (#4492) ocornut 2021-08-27 21:32:36 +02:00
  • 0eb45a0577 Docking: fix 58f5092 (#4310) ocornut 2021-08-27 21:29:27 +02:00
  • bb6a60b1ff Nav: extracted sections of NavUpdate() into a NavUpdateCreateMoveRequest() function. Only clearing results when a request is activated. ocornut 2021-08-27 20:57:21 +02:00
  • ccfb20095e Nav: small refactor of forwarding, clarified that MoveDir only set when RequestActive, removed one indent level in NavUpdatePageUpPageDown(). ocornut 2021-08-27 20:48:01 +02:00
  • 4351febe9f Nav: moved enums/struct declarations in imgui_internal.h ocornut 2021-08-27 18:01:01 +02:00
  • 20a1edef89 Nav: made EndMenuBar() use NavMoveRequestForward() for consistency. Moved forward clearing to NavMoveRequestApplyResult(). Improved/fixed comments. ocornut 2021-08-27 16:21:28 +02:00
  • b08ed61907 CI: Build with empty IM_ASSERT() macro. Rokas Kupstys 2021-08-27 16:06:59 +03:00
  • 84890a3074 Nav: simplify wrap requests code (may soon be useable for tabbing) ocornut 2021-08-27 12:31:11 +02:00
  • 4c31c98d22 Nav: extracted code out of NavUpdate() into NavUpdateCancelRequest() ocornut 2021-08-27 12:26:42 +02:00
  • 80ed4eba87 Backends: Vulkan: non-dispatchable handles should compare to VK_NULL_HANDLE, not NULL (#4475) Cort 2021-08-24 12:53:54 -07:00
  • 58f5092c53 Docking: fixed settings load issue when mouse wheeling. (#4310) ocornut 2021-08-24 20:33:00 +02:00
  • 780c1ee265 TextUnformatted: Accept null ranges including (NULL,NULL) without asserting. (#3615) ocornut 2021-08-24 19:30:02 +02:00
  • 2b0bd40b99 Backends: Metal: Fixed a crash when clipping rect larger than framebuffer is submitted. (#4464) Rokas Kupstys 2021-08-24 18:03:52 +03:00
  • f8bad7e1e3 Backends: OpenGL3: Add TargetConditionals.h (#4473) + standardize include Siarhei Fiedartsou 2021-08-24 16:26:55 +03:00
  • 4a7c21d330 Fonts: Fixed ImFontAtlas::ClearInputData() marking atlas as not built. (#4455, #3487) ocornut 2021-08-24 15:28:39 +02:00
  • e652527313 Backends: WebGPU: Update impl_wgpu for an emscripten change Corentin Wallez 2021-08-24 13:48:04 +01:00
  • 51d841dcf3 Fix warnings and remove IM_RETURN (#4470) ocornut 2021-08-24 14:30:46 +02:00
  • 4c22b3e5d9 Backends: OpenGL3: Fix gl3wProcs colliding with gl3w. (#4445) Rokas Kupstys 2021-08-24 14:19:33 +03:00
  • 0608887fb5 InputTextMultiline: Fixed label size not being included into window contents rect unless the whole widget is clipped. ocornut 2021-08-23 17:07:46 +02:00
  • 68f428b449 imgui_freetype: Fixed crash when FT_Render_Glyph() returns NULL (which apparently happens with Freetype 2.11). (#4394, #4145 ?) ocornut 2021-08-23 16:42:58 +02:00
  • 6afe9bbb45 Projects: added GLFW Vulkan to default solution. ocornut 2021-08-23 16:35:44 +02:00
  • e23bee353c Removed GetWindowContentRegionWidth() function ocornut 2021-08-23 16:15:11 +02:00
  • 0649f750b4 Version 1.85 WIP ocornut 2021-08-23 15:31:06 +02:00
  • e3e1fbcf02 Backends: OpenGL3: OpenGL: Fixed ES 3.0 shader ("#version 300 es") to use normal precision floats. (#4463) v1.84.2 Nicolas Noble 2021-08-23 15:03:22 +02:00
  • d79ca9b0b6 Fixed nested BeginDisabled()/EndDisabled() calls. (#211, #4452, #4453, #4462) [Legulysse] ocornut 2021-08-23 14:57:23 +02:00
  • e6ffc04291 Moved ImDrawIdx declaration higher up in imgui.h (to ease work for dear_bindings) ocornut 2021-08-23 11:40:08 +02:00
  • 6bd447c885 Backends: GLFW: Fixed unused variable warning for empty assert macro. (#4459) ocornut 2021-08-22 18:46:49 +02:00
  • 47fb332fb2 Fix BeginDisabled(false), again, (#211, #4452, #4453) Version 1.84.1 ocornut 2021-08-20 23:59:46 +02:00
  • 32d4f6c5d9 Fix BeginDisabled(false), again, (#211, #4452, #4453) Version 1.84.1 ocornut 2021-08-20 23:59:46 +02:00
  • b0361375ee Fix BeginDisabled(false), again, (#211, #4452, #4453) Version 1.84b v1.84b v1.84.1 ocornut 2021-08-20 23:50:55 +02:00
  • 2e01952b35 Fix BeginDisabled(false), (#211, #4452) ocornut 2021-08-20 20:30:51 +02:00
  • f969e68c10 Fix BeginDisabled(false), (#211, #4452) ocornut 2021-08-20 20:30:51 +02:00
  • 5a7d18a441 Merge branch 'master' into docking ocornut 2021-08-20 18:14:58 +02:00
  • d2ffbd9b86 Version 1.84 v1.84 ocornut 2021-08-20 17:30:49 +02:00
  • fc062e6028 Backends: OpenGL3: Update loader to include APIs used by test framework. Rokas Kupstys 2021-08-20 17:24:56 +03:00
  • df2319a854 Small optimizations to BeginDisabled() to allow frequent calls (#211) ocornut 2021-08-20 16:56:13 +02:00
  • c543d93af1 Expose BeginDisabled()/EndDisabled() in public API. Add to demo. (#211) ocornut 2021-07-19 19:21:18 +02:00
  • 9c3359ef39 IO: modify io.AddFocusEvent() to tolerate in/out for multi-viewports. Amend 2f40be6. (#3532) ocornut 2021-08-19 17:35:27 +02:00
  • 0b06c4b2b0 Merge branch 'master' into docking (will need further for io.AddFocusEvent) ocornut 2021-08-19 17:25:12 +02:00
  • cb00972b87 ImDrawList: Fix AddCircle{Filled} with 12 segment case (#4419, #4421) thedmd 2021-08-11 13:21:27 +02:00