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:
10 months ago
ocornut
04f40014a6
Docs: added a mini wiki index in main source files.
8 months ago
omar
c623669967
Added link to crawlable wiki
8 months ago
ocornut
0573513d6d
Windows: Scrollbar visibility decision uses current size when both size and contents size are submitted by API. ( #7252 )
8 months ago
ocornut
44c7dfca03
Menus, Popup: Amend c3f8f4d
for static analyzer warning ("condition always true"). ( #7325 )
8 months ago
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
8 months ago
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
8 months ago
GamingMinds-DanielC
725f91922d
Tables: fixed TableGetHoveredRow() with overlapping frozen rows ( #7350 , #6588 , #6347 , #6250 )
9 months ago
ocornut
e46d1e69ac
Version 1.90.5 WIP
9 months ago
ocornut
277ae93c41
Version 1.90.4
9 months ago
ocornut
f5be90523d
Nav: Fixed SetKeyboardFocusHere() or programmatic tabbing API from not working on windows with the ImGuiWindowFlags_NoNavInputs flag.
Amend/fix 13d91ff
3a078466
9 months ago
ocornut
13d91ff918
Nav: Fixed SetKeyboardFocusHere() or programmatic tabbing API from not working on windows with the ImGuiWindowFlags_NoNavInputs flag.
Amend/fix 3a078466a
9 months ago
ocornut
34965cf23a
Modals: Temporary changes of ImGuiCol_ModalWindowDimBg are properly handled by BeginPopupModal(). ( #7340 )
+ Misc: Added optional alpha multiplier parameter to GetColorU32(ImU32) variant.
9 months ago
ocornut
659fb41d0a
Debug Tools: moved DebugStartItemPicker() to public API. Added to Demo->Tools menu. ( #2673 )
9 months ago
ocornut
198c38f0b1
Demo: Custom Rendering: better demonstrate PathArcTo(), PathBezierQuadraticCurveTo(), PathBezierCubicCurveTo(), PathStroke(), PathFillConvex() functions.
9 months ago
ocornut
3b6d924acd
ProgressBar: Fixed a minor tesselation issue when rendering rounded progress bars.
Incidentally, the auto-tesselation path of PathArcTo() wasn't much tested.
9 months ago
ocornut
d3f1a7165c
Popups: allow Child Popups to be resizable if not explicitly disabling.
9 months ago
ocornut
e78ce72eb6
Popups: Fixed resizable popup minimum size being too small. Standardized CalcWindowMinSize() logic a bit more. ( #73290
Amend e2035a514
, 623bff23ce
, 923535240
, etc.
9 months ago
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.
9 months ago
ocornut
c16043c1d5
Tables: Angled headers: improve clipping of text since multi-line labels makes clipping issues visible. ( #6917 )
9 months ago
ocornut
405e54ebd5
Tables: Angled Headers: fixed support for multi-line labels. various padding/layout fixes. ( #6917 )
9 months ago
ocornut
6655ab2e43
Tables: Angled Headers: fixed TableAngledHeadersRow() incorrect background fill drawn too low. Fixed row geometry with non-small values of CellPadding. ( #6917 )
9 months ago
Tim-Rex
9159cd7b4a
Updated invalid documentation link ( #7331 )
9 months ago
cvionis
ccc5347e45
Fix typos ( #7332 )
9 months ago
ocornut
8a14b71f22
Version 1.90.4 WIP
9 months ago
John Melas
b19a4c5f2b
Backends: OSX: remove legacy clearing of io.NavInputs in ImGui_ImplOSX_UpdateGamepads(). ( #7320 )
9 months ago
ocornut
5b6f03213d
Version 1.90.3
9 months ago
Shawn Hatori
f80e65a406
Backends:,Examples: Vulkan: moved RenderPass parameter from ImGui_ImplVulkan_Init() function to ImGui_ImplVulkan_InitInfo structure. ( #7308 )
9 months ago
ocornut
829f45df99
Backends: SDL2: removed obsolete ImGui_ImplSDL2_NewFrame(SDL_Window*) signature which was obsoleted in 1.84..
9 months ago
Tom Seddon
3cc37170ca
Examples: GLFW+Metal: Add -I and -L paths for MacPorts.
9 months ago
ocornut
891b81fc5d
Backends: SDL3: Fixed gamepad. Added support for disconnection. Added support for multiple gamepads. Added ImGui_ImplSDL3_SetGamepadMode(). ( #7180 , #3884 , #6559 , #6890 )
9 months ago
ocornut
262e30e300
Backends: SDL2: rework new API as ImGui_ImplSDL2_SetGamepadMode(). ( #3884 , #6559 , #6890 , #7180 )
Code is simpler this way.
9 months ago
ocornut
9dfa2397de
Internals: Fixed ImFileOpen not working before context is created. ( #7314 , #7315 )
Amend daf49e9d8
9 months ago
ocornut
d15e4100b8
Backends: SDL2: Amend new API, all support for multiple gamepads. ( #3884 , #6559 , #6890 )
9 months ago
ocornut
f966da1f8f
Backends: SDL2: Gamepad handlng: amend bf1c96d
. ( #3884 , #6559 , #6890 )
9 months ago
ocornut
bf1c96d4fa
Backends: SDL2: Handle gamepad disconnection + fixed increasing refcount. Added ImGui_ImplSDL2_SelectGamepadAuto()/ImGui_ImplSDL2_SelectGamepadExplicit(). ( #3884 , #6559 , #6890 )
9 months ago
ocornut
fd8d6dc5d1
Backends: SDL2,SDL3: tidying up.
9 months ago
ocornut
e0ba0d0433
Backends: Vulkan: Fixes for building with pre Vulkan 1.3. Amend 8901931
. ( #7166 )
9 months ago
ocornut
11d73f03ee
Backends: Vulkan: Fix/amend 8901931
9 months ago
Shawn Hatori
89019319dd
Backends: Vulkan: use PipelineRenderingCreateInfo for dynamic rendering ( #7166 , #6855 , #5446 , #5037 )
11 months ago
璀境石
1d6f0cea0e
Backends: DX9: use RGBA texture to avoid conversion if supported
1 year ago
ocornut
3af739a2d1
Menus, Popups: fixed menus and popups with child window flag erroneously not displaying a scrollbar when contents is over parent viewport size. ( #7287 , #7063 )
Amend f37f6f6
9 months ago
ocornut
2af01baffd
Backends: SDLRenderer3: query newly added SDL_RenderViewportSet() to not restore a wrong viewport if none was initially set.
https://github.com/libsdl-org/SDL/issues/9029
9 months ago
ocornut
915c6393ad
Version 1.90.3 WIP
9 months ago
ocornut
536090303a
Version 1.90.2
9 months ago
ocornut
7b5357d817
Debug Tools: Metrics: Improved Monitors and Viewports minimap display. Highlight on hover.
Added ImGuiViewport ID in Master branch.
9 months ago
ocornut
70aa717a8e
Combo: Fixed not reusing windows optimally when used inside a popup stack.
9 months ago
ocornut
5cdc4a2a41
Demo: use ImGui::MemAlloc/MemFree for consistency. ( #7300 )
9 months ago
ocornut
76e09c4b0f
ClosePopupsOverWindow(): amend to remove _ChildWindow test.
Said test seems unnecessary and incorrect as we test hierarchy now. See test "nav_ctrl_tab_popups" in ImGuiTestSuite.
9 months ago
ocornut
3a078466a7
Nav: ImGuiWindowFlags_NoNavInputs is tested during scoring so NavFlattened windows can use it.
9 months ago