ocornut
daecfffefb
Text, DrawList: Improved handling of long single-line wrapped text. ( #7496 , #5720 )
2024-04-15 12:52:45 +02:00
Green Sky
fab96a6e59
Backends: SDL3: Re-enable calling SDL_StartTextInput()/SDL_StopTextInput(). ( #7452 , #6306 , #6071 , #1953 )
...
Amend: a7703fe
2024-04-15 12:25:42 +02:00
ocornut
dad1689bf7
Examples: SDL3: amend for removal of SDL_RENDERER_ACCELERATED.
2024-04-15 12:08:07 +02:00
ocornut
3caa79c8a5
Version 1.90.6 WIP
2024-04-15 11:27:07 +02:00
ocornut
76bc1b825e
Extracted part of NewFrame() into SetupDrawListSharedData() for documentation purpose. ( #7495 , #6406 )
...
Also changed g.Font->ContainerAtlas->Flags to g.IO.Fonts->Flags
2024-04-15 11:24:43 +02:00
ocornut
f790d51665
Silent zealous/stupid warning introduced by Clang 16 (shipping with VS2022) with -Weverything. Pointers are now illegal!
2024-04-12 16:55:32 +02:00
ocornut
231cbee0fc
Version 1.90.5
2024-04-11 15:54:39 +02:00
GamingMinds-DanielC
4f9ba19e52
Drags, Sliders, Inputs: Reactivated decimal point replacement for SliderScalar and DragScalar. ( #7389 , #6719 , #2278 )
...
Amend/fix 4a242644
2024-04-03 11:39:46 +09:00
ocornut
e7712ff103
Out of courtesy/consistency move all the DebugHookIdInfo compares into ifndef block.
2024-04-03 10:50:32 +09:00
ocornut
f959c417fe
Refactor moving ID stack functions to their own section (part 2)
2024-04-03 10:48:32 +09:00
ocornut
0bf134a8e2
Refactor moving ID stack functions to their own section.
2024-04-03 10:42:57 +09:00
ocornut
9a2b598ec1
ListBox: Fixed text-baseline offset when using SameLine()+Text() after a labeled ListBox().
...
Visible in demo->basic->listbox
2024-04-03 10:20:18 +09:00
ocornut
d3c3514a59
Tables: Fixed auto-width columns when using synced-instances of same table. ( #7218 )
2024-03-29 19:39:05 +09:00
ocornut
25a492f330
ProgressBar: Fixed passing fraction==NaN from leading to a crash. ( #7451 )
2024-03-29 19:09:55 +09:00
ocornut
9638c2839a
Internals: adding ImGuiNavMoveFlags_NoClearActiveId even though there's currently no satisfying way to take advantage of it. ( #1418 )
2024-03-27 12:00:50 +09:00
ocornut
742e53434f
Child Windows: adjust resizing limits to match window padding rather than inner clipping rectangle. ( #7440 )
2024-03-27 11:36:57 +09:00
cfillion
515b437c08
Child windows: look at the parent window's flags to decide whether to clamp child resizes. ( #7440 , #1710 )
2024-03-27 11:24:07 +09:00
cfillion
976dc23965
Windows: extend outer resize borders to the edges when there are no corner grips. ( #7440 , #1710 )
2024-03-27 11:01:14 +09:00
ocornut
37b37fc2a3
DrawList: Allow AddText() to accept null ranges. ( #3615 , 7391)
2024-03-27 10:51:42 +09:00
ocornut
5c5ae806aa
Comments
2024-03-26 14:42:51 +09:00
cfillion
cf4c10bef7
Style: added ImGuiStyleVar_TabBorderSize, ImGuiStyleVar_TableAngledHeadersAngle. ( #7411 )
2024-03-26 14:38:38 +09:00
cfillion
f0802287db
Tables: Angled headers: fixed table contents overflowing when a list clipper is used. ( #7416 )
2024-03-26 13:01:24 +09:00
cfillion
29ff159f94
Tables: Angled headers: fixed borders not moving back up after TableAngleHeadersRow stops being called. ( #7416 )
2024-03-26 13:01:24 +09:00
cfillion
38ddfb24f0
Tables: Angled headers: fixed border hit box extending beyond non-scrollable tables. ( #7416 )
2024-03-26 13:01:24 +09:00
Elie Michel
8be48a44f7
Backends: WebGPU: Avoid using -1u literal ( #7436 )
2024-03-25 11:10:38 +09:00
cfillion
868facff9d
ImDrawList: (Breaking) merge float radius_x/radius_y parameters into ImVec2 radius in PathEllipticalArcTo(), AddEllipse(), AddEllipseFilled(). ( #2743 , #7417 )
2024-03-18 22:50:47 -07:00
Christian Fillion
0a1f5b94e3
Demo: Two minor fixes (unchecked BeginTooltip + incorrect height constraint) ( #7410 )l
2024-03-17 23:29:10 -07:00
ocornut
40df3db1a2
Tweaking terminology
2024-03-17 19:46:12 +09:00
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
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
44c7dfca03
Menus, Popup: Amend c3f8f4d
for static analyzer warning ("condition always true"). ( #7325 )
2024-02-27 19:42:20 +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
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