Robert Edmonds
da29b776ee
Backends: SDL3: Fix leak of SDL_GetGamepads() return value ( #7381 )
2024-03-11 11:04:56 +01:00
ocornut
3c435c0297
Inputs: (Breaking) More formally obsoleted GetKeyIndex() when IMGUI_DISABLE_OBSOLETE_FUNCTIONS is set. ( #4921 )
2024-03-08 12:16:24 +01:00
ocornut
286cd5bd41
Internals, InputText: removed ImGuiInputSource_Clipboard. ( #4005 )
...
Added by f08566b4d
2024-03-07 15:02:38 +01:00
Kevin Leonardic
fc570ac922
Examples: WGPU: fixed initialization of WGPURenderPassColorAttachment ( #7371 )
2024-03-06 13:44:37 +01:00
ocornut
fd75685fb0
Merge branch 'master' into docking
2024-03-05 18:12:11 +01:00
ocornut
65dc67f63c
Windows: Double-click to collapse may be disabled via key-ownership mechanism. ( #7369 )
2024-03-05 17:34:34 +01:00
ocornut
6b7358e9f3
InputText: adding clarifying note about ImGuiInputTextCallbackData::Buf. ( #7363 )
2024-03-04 11:30:22 +01:00
ocornut
fbf45ad149
ImDrawList: add PathFillConcave(), AddConcavePolyFilled(): amends ( #760 )
...
- Simplify and compact some code. Shallow tweaks.
- Add comments.
- Add concave shape demo.
- Remove coarse culling.
- Remove nested types to match coding style and for consistent type nams when translated to other languages.
- Merged ClassifyNode() and ReclassifyNode().
- Extracted ImTriangleIsClockwise().
- Hold copy of points inside nodes instead of pointing to them.
2024-03-01 21:08:18 +01:00
thedmd
1ff90c52d5
ImDrawList: add PathFillConcave(), AddConcavePolyFilled() ( #760 )
...
Extracted from 2023/12/29 post.
WIP add PathFillConcave(), AddConcavePolyFilled()
* remove use of 'auto'
* IsConvex -> ImPathIsConvex
* Triangulator -> ImTriangulator
* ImTriangulator: split declaration from definition, ImTriangulator can be put in the header if necessary
* ImTriangulator: Add node list flip to reverse winding order and handle degenerate cases
* ImTriangulator: Remove _HeapStorage, always require scratch buffer to be provided
* ImTriangulator: Use ImTriangleContainsPoint
* AddConcavePolyFilled: Clone AddConvexPolyFilled and use triangulator
* AddConcavePolyFilled: Remove ImDrawListEx_AddPolyFilled_xxx
* AddConcavePolyFilled: Use _Data->TempBuffer in triangulator
* AddConcavePolyFilled:
2024-03-01 21:06:00 +01:00
ocornut
04f40014a6
Docs: added a mini wiki index in main source files.
2024-02-29 15:17:08 +01:00
omar
c623669967
Added link to crawlable wiki
2024-02-28 19:21:13 +01:00
ocornut
0573513d6d
Windows: Scrollbar visibility decision uses current size when both size and contents size are submitted by API. ( #7252 )
2024-02-28 17:09:20 +01:00
ocornut
77dff5a735
Backends: comments.
2024-02-28 11:06:40 +01:00
ocornut
4e8c43f6b7
Backends: Win32: made it so that an appearing viewport showing up doesn't bring its parent viewport to front. ( #7354 )
2024-02-27 20:02:26 +01:00
ocornut
44c7dfca03
Menus, Popup: Amend c3f8f4d
for static analyzer warning ("condition always true"). ( #7325 )
2024-02-27 19:42:20 +01:00
ocornut
1a487165b1
Merge branch 'master' into docking
2024-02-27 18:44:51 +01:00
ocornut
c3f8f4de25
Menus, Popups: Fixed an issue where sibling menu popups re-opening in successive frames would erroneously close the window. ( #7325 , #7287 , #7063 )
...
Amend 014e0ac8
2024-02-27 18:36:46 +01:00
ocornut
9877941775
Popups, Menus: rename ImGuiPopupData::BackupNavWindow > RestoreNavWindow and minor tweaks. Should be functionally a no-op.
...
This is expected to clear the noise so next commit can be cleared to read. (#7325 )
Last renamed in b3ea01d86
2024-02-27 17:56:51 +01:00
GamingMinds-DanielC
725f91922d
Tables: fixed TableGetHoveredRow() with overlapping frozen rows ( #7350 , #6588 , #6347 , #6250 )
2024-02-26 13:33:41 +01:00
ocornut
e46d1e69ac
Version 1.90.5 WIP
2024-02-26 13:31:10 +01:00
ocornut
c6aa051629
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
2024-02-22 20:01:46 +01:00
ocornut
277ae93c41
Version 1.90.4
2024-02-22 19:56:39 +01:00
ocornut
f5be90523d
Nav: Fixed SetKeyboardFocusHere() or programmatic tabbing API from not working on windows with the ImGuiWindowFlags_NoNavInputs flag.
...
Amend/fix 13d91ff
3a078466
2024-02-22 19:43:03 +01:00
ocornut
13d91ff918
Nav: Fixed SetKeyboardFocusHere() or programmatic tabbing API from not working on windows with the ImGuiWindowFlags_NoNavInputs flag.
...
Amend/fix 3a078466a
2024-02-22 19:39:10 +01:00
ocornut
34965cf23a
Modals: Temporary changes of ImGuiCol_ModalWindowDimBg are properly handled by BeginPopupModal(). ( #7340 )
...
+ Misc: Added optional alpha multiplier parameter to GetColorU32(ImU32) variant.
2024-02-22 14:53:33 +01:00
ocornut
659fb41d0a
Debug Tools: moved DebugStartItemPicker() to public API. Added to Demo->Tools menu. ( #2673 )
2024-02-20 17:33:17 +01:00
ocornut
198c38f0b1
Demo: Custom Rendering: better demonstrate PathArcTo(), PathBezierQuadraticCurveTo(), PathBezierCubicCurveTo(), PathStroke(), PathFillConvex() functions.
2024-02-20 16:33:54 +01:00
ocornut
3b6d924acd
ProgressBar: Fixed a minor tesselation issue when rendering rounded progress bars.
...
Incidentally, the auto-tesselation path of PathArcTo() wasn't much tested.
2024-02-20 16:02:04 +01:00
ocornut
2b662b1ab9
Merge branch 'master' into docking
...
# Conflicts:
# docs/CHANGELOG.txt
# imgui.cpp
2024-02-20 15:33:20 +01:00
ocornut
d3f1a7165c
Popups: allow Child Popups to be resizable if not explicitly disabling.
2024-02-20 15:03:09 +01:00
ocornut
e78ce72eb6
Popups: Fixed resizable popup minimum size being too small. Standardized CalcWindowMinSize() logic a bit more. ( #73290
...
Amend e2035a514
, 623bff23ce
, 923535240
, etc.
2024-02-20 15:00:01 +01:00
ocornut
014e0ac8c9
Menus, Popups: Fixed an issue where hovering a parent-menu upward would erroneously close the window. ( #7325 , #7287 , #7063 )
...
Amend 76e09c4b0
. Initial call to ClosePopupToLevel d31fe97f7
(#2880 ).
See "widgets_menu_reopen_2" in TestSuite.
2024-02-20 14:01:24 +01:00
ocornut
c16043c1d5
Tables: Angled headers: improve clipping of text since multi-line labels makes clipping issues visible. ( #6917 )
2024-02-19 20:49:52 +01:00
ocornut
405e54ebd5
Tables: Angled Headers: fixed support for multi-line labels. various padding/layout fixes. ( #6917 )
2024-02-19 20:27:20 +01:00
ocornut
6655ab2e43
Tables: Angled Headers: fixed TableAngledHeadersRow() incorrect background fill drawn too low. Fixed row geometry with non-small values of CellPadding. ( #6917 )
2024-02-19 19:08:38 +01:00
Tim-Rex
9159cd7b4a
Updated invalid documentation link ( #7331 )
2024-02-18 12:51:32 +01:00
cvionis
ccc5347e45
Fix typos ( #7332 )
2024-02-18 12:50:51 +01:00
ocornut
8a14b71f22
Version 1.90.4 WIP
2024-02-15 16:51:57 +01:00
John Melas
b19a4c5f2b
Backends: OSX: remove legacy clearing of io.NavInputs in ImGui_ImplOSX_UpdateGamepads(). ( #7320 )
2024-02-15 14:57:37 +01:00
ocornut
8048b52498
Backends: GLFW: enable ImGuiBackendFlags_HasMouseHoveredViewport support with GLFW 3.3.x. ( #7316 )
2024-02-15 14:50:45 +01:00
ocornut
c66a1e7d51
Backends: Vulkan: ImGui_ImplVulkan_CreateWindow() amend merge to take account of PipelineRenderingCreateInfo change. ( #7166 , #6855 , #5446 , #5037 )
2024-02-14 14:39:26 +01:00
ocornut
d79514c407
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_dx9.cpp
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# backends/imgui_impl_vulkan.cpp
# imgui.cpp
2024-02-14 14:32:17 +01:00
ocornut
5b6f03213d
Version 1.90.3
2024-02-14 13:58:19 +01:00
Shawn Hatori
f80e65a406
Backends:,Examples: Vulkan: moved RenderPass parameter from ImGui_ImplVulkan_Init() function to ImGui_ImplVulkan_InitInfo structure. ( #7308 )
2024-02-14 13:56:46 +01:00
ocornut
829f45df99
Backends: SDL2: removed obsolete ImGui_ImplSDL2_NewFrame(SDL_Window*) signature which was obsoleted in 1.84..
2024-02-14 12:06:21 +01:00
Tom Seddon
3cc37170ca
Examples: GLFW+Metal: Add -I and -L paths for MacPorts.
2024-02-14 11:47:02 +01:00
ocornut
891b81fc5d
Backends: SDL3: Fixed gamepad. Added support for disconnection. Added support for multiple gamepads. Added ImGui_ImplSDL3_SetGamepadMode(). ( #7180 , #3884 , #6559 , #6890 )
2024-02-14 11:37:18 +01:00
ocornut
262e30e300
Backends: SDL2: rework new API as ImGui_ImplSDL2_SetGamepadMode(). ( #3884 , #6559 , #6890 , #7180 )
...
Code is simpler this way.
2024-02-14 11:30:43 +01:00
ocornut
9dfa2397de
Internals: Fixed ImFileOpen not working before context is created. ( #7314 , #7315 )
...
Amend daf49e9d8
2024-02-14 11:02:24 +01:00
ocornut
d15e4100b8
Backends: SDL2: Amend new API, all support for multiple gamepads. ( #3884 , #6559 , #6890 )
2024-02-13 18:55:14 +01:00