ocornut
6b7358e9f3
InputText: adding clarifying note about ImGuiInputTextCallbackData::Buf. ( #7363 )
ago%!(EXTRA string=1 year)
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.
ago%!(EXTRA string=1 year)
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:
ago%!(EXTRA string=1 year)
ocornut
04f40014a6
Docs: added a mini wiki index in main source files.
ago%!(EXTRA string=1 year)
ocornut
0573513d6d
Windows: Scrollbar visibility decision uses current size when both size and contents size are submitted by API. ( #7252 )
ago%!(EXTRA string=1 year)
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
ago%!(EXTRA string=1 year)
ocornut
e46d1e69ac
Version 1.90.5 WIP
ago%!(EXTRA string=1 year)
ocornut
277ae93c41
Version 1.90.4
ago%!(EXTRA string=1 year)
ocornut
13d91ff918
Nav: Fixed SetKeyboardFocusHere() or programmatic tabbing API from not working on windows with the ImGuiWindowFlags_NoNavInputs flag.
...
Amend/fix 3a078466a
ago%!(EXTRA string=1 year)
ocornut
34965cf23a
Modals: Temporary changes of ImGuiCol_ModalWindowDimBg are properly handled by BeginPopupModal(). ( #7340 )
...
+ Misc: Added optional alpha multiplier parameter to GetColorU32(ImU32) variant.
ago%!(EXTRA string=1 year)
ocornut
659fb41d0a
Debug Tools: moved DebugStartItemPicker() to public API. Added to Demo->Tools menu. ( #2673 )
ago%!(EXTRA string=1 year)
ocornut
198c38f0b1
Demo: Custom Rendering: better demonstrate PathArcTo(), PathBezierQuadraticCurveTo(), PathBezierCubicCurveTo(), PathStroke(), PathFillConvex() functions.
ago%!(EXTRA string=1 year)
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.
ago%!(EXTRA string=1 year)
ocornut
8a14b71f22
Version 1.90.4 WIP
ago%!(EXTRA string=1 year)
ocornut
5b6f03213d
Version 1.90.3
ago%!(EXTRA string=1 year)
ocornut
915c6393ad
Version 1.90.3 WIP
ago%!(EXTRA string=1 year)
ocornut
536090303a
Version 1.90.2
ago%!(EXTRA string=1 year)
ocornut
7b5357d817
Debug Tools: Metrics: Improved Monitors and Viewports minimap display. Highlight on hover.
...
Added ImGuiViewport ID in Master branch.
ago%!(EXTRA string=1 year)
ocornut
a06dd7a27b
OpenPopup(): Added ImGuiPopupFlags_NoReopen. Nav, Menus: Fixed click on a BeginMenu() followed by right-arrow. ( #1497 , #1533 )
...
reopen
ago%!(EXTRA string=1 year)
ocornut
f104967c68
Comments
ago%!(EXTRA string=1 year)
ocornut
06ce312745
InputText: Internal: added reload from user-buf feature. ( #2890 )
...
Very highly requested feature (#6962 , #5219 , #3290 , #4627 , #5054 , #3878 , #2881 , #1506 , #1216 , #968 ).
Also useful for interactive completion/selection popups (#2057 , #718 )
Based on @kudaba PR. Design for Inputtext V2 should make this obsolete.
ago%!(EXTRA string=1 year)
ocornut
8491cf36ad
Inputs: g.ActiveIdUsingManyKeys[] prevent routes from being claimed.
...
Amend fc134f5
ago%!(EXTRA string=1 year)
ocornut
a201af7354
Added SetNextItemShortcut() wip function. ( #456 )
...
Mark widget as hovered. Amend d10641b
.
ago%!(EXTRA string=1 year)
ocornut
7c3fa7d049
Refactor: moved section in imgui_internal.h
ago%!(EXTRA string=1 year)
ocornut
1844f903d5
Nav: space/enter poll check ownership. InputText: declare ownership of Enter key as it doesn't go through Shortcut
...
InputText: no need to call SetShortcutRouting() directly.
Tangential to experiments for #7237
ago%!(EXTRA string=1 year)
ocornut
5fdcdf7080
Shortcut: ImGuiInputFlags_RouteFocused policy can filter Shortcuts conflicting with character input when an item is active. ( #456 )
ago%!(EXTRA string=1 year)
ocornut
cceff4684a
Docking: added ImGuiWindowClass::FocusRouteParentWindowId as a public facing version of SetWindowParentWindowForFocusRoute() ( #6798 , #2637 , #456 )
ago%!(EXTRA string=1 year)
ocornut
2156db7a07
Debug Log: added InputRouting logging. Made GetKeyChordName() use its own buffer. Fixed debug break in SetShortcutRouting(). ( #6798 , #2637 , #456 )
ago%!(EXTRA string=1 year)
ocornut
8a3dfda8d0
Commented out obsolete ImGuiIO::ImeWindowHandle marked obsolete in 1.87, favor of writing to 'void* ImGuiViewport::PlatformHandleRaw'.
...
Amend 3a90dc38
(#2589 , #2598 , #3108 , #3113 , #3653 , #4642 )
ago%!(EXTRA string=1 year)
ocornut
29809d7220
Version 1.90.2 WIP
ago%!(EXTRA string=1 year)
ocornut
d6cb3c923d
Version 1.90.1
ago%!(EXTRA string=1 year)
ocornut
fdf8d02be1
Debug Tools: Added io.ConfigDebugIsDebuggerPresent and Debug Break buttons. ( #2673 )
ago%!(EXTRA string=1 year)
ocornut
fc2e532f99
Shortcut: do not return true on mods changes. Internals: added ImGuiInputFlags_RepeatUntilKeyModsChange, ImGuiInputFlags_RepeatUntilKeyModsChangeFromNone, ImGuiInputFlags_RepeatUntilOtherKeyPress. ( #456 , #2637 )
...
Took a while to come to this design, but it is flexible and lightweight and allow all decision to be taken a polling location. All three policies are useful.
ago%!(EXTRA string=1 year)
Tom Seddon
27e83c2953
Add comment about how ImGuiKey values are named after US keyboard keys. ( #7205 )
...
General text input is already covered by AddInputCharacter. For scancode-based key up/down info, simplest to admit that the up/down state indexes are kind of arbitrary and may not actually map perfectly to the labels on the keys.
ago%!(EXTRA string=1 year)
ocornut
7938550d52
Comments and some extra line-wrapping in demo ( #3193 )
ago%!(EXTRA string=1 year)
ocornut
b4c5a83cfe
Commented out obsolete ImGuiKey_KeyPadEnter redirection to ImGuiKey_KeypadEnter. ( #2625 , #7143 )
ago%!(EXTRA string=1 year)
ocornut
70f2aaff43
Nav: tabbing happen within FocusScope. ImGuiWindowFlags_NavFlattened make window inherit focus scope from parent.
ago%!(EXTRA string=1 year)
ocornut
9d8de45313
Image(): comment and minor refactor to resurface the fact that a border size may be added. ( #2118 )
...
Make more similar to ImageButton()
ago%!(EXTRA string=1 year)
ocornut
c58d2c89c3
Tabs: Added ImGuiTabItemFlags_NoAssumedClosure to enable app to react on closure attempt. ( #7084 )
ago%!(EXTRA string=1 year)
ocornut
d72e1563d4
Removed CalcListClipping() marked obsolete in 1.86. ( #3841 ) + comments
...
Amend 64daeddf
ago%!(EXTRA string=1 year)
ocornut
0b77980cab
Moved Tables API related declarations to their own section in imgui.h
ago%!(EXTRA string=1 year)
Bryce Berger
52886872f1
Misc: Added IMGUI_USER_H_FILENAME to change the path included when using IMGUI_INCLUDE_IMGUI_USER_H. ( #7039 )
ago%!(EXTRA string=1 year)
ocornut
7965494ff3
Debug Tools: Added DebugFlashStyleColor() to identify a style color. Added to Style Editor.
ago%!(EXTRA string=1 year)
ocornut
c1a3c7f445
Fixed Clang zealous warnings
ago%!(EXTRA string=1 year)
ocornut
077e4db772
Misc: Added extra courtesy ==/!= operators when IMGUI_DEFINE_MATH_OPERATORS is defined.
ago%!(EXTRA string=1 year)
ocornut
3d083dbe1a
Version 1.90.1 WIP
ago%!(EXTRA string=1 year)
ocornut
b81bd7ed98
Version 1.90.0
...
w/ Changelog tweaks.
ago%!(EXTRA string=1 year)
ocornut
f298491a8a
Docs: amend/tweak details about using io.WantCaptureMouse. ( #7012 )
ago%!(EXTRA string=1 year)
ocornut
afadf74a53
BeginChild: undo child name simplification as it reveal an issue with handling of ### in child names.
...
When the later is fixed we can re-enable this. Essentially reverts 8ee8513
.
ago%!(EXTRA string=1 year)
ocornut
46843b683b
Fonts: minor/shallow amends ( #6925 )
ago%!(EXTRA string=1 year)