ocornut
74527dde75
Texture-based round corners: fixed unused variables warnings.
ago%!(EXTRA string=11 months)
Ben Carter
8245fde6d8
Texture-based round corners: Fxed overlapping edge triangles when drawing filled shapes
ago%!(EXTRA string=11 months)
Ben Carter
bf831fbbe4
Texture-based round corners: Added sampling offset and bitmask for generated radii
ago%!(EXTRA string=11 months)
Ben Carter
22b166116a
Texture-based round corners: Use separate textures for square corners and fix a bunch of corner-case issues
ago%!(EXTRA string=11 months)
ocornut
b96279badd
Texture-based round corners: Fix building for stroke width 1,2,4 instead of 1,3,4.
ago%!(EXTRA string=11 months)
ocornut
478435540c
Texture-based round corners: Fix UV coordinates used by RenderWindowResizeGrip() - render was broken
ago%!(EXTRA string=11 months)
ocornut
69fa83fef6
Texture-based round corners: Moved RenderResizeGripWithTex to RenderWindowResizeGrip
ago%!(EXTRA string=11 months)
ocornut
4fc35056d3
Texture-based round corners: Tweaks, renaming to match tex lines branch.
ago%!(EXTRA string=11 months)
omar
f632d84771
Texture-based round corners: Default circle segment count to 0 + fix warnings, remove unused macro
ago%!(EXTRA string=11 months)
omar
d751a608f9
Texture-based round corners: Removed polling for Shift key in draw functions, moved that responsibility to demo code.
...
Minor coding style tweaks. Using IM_ASSERT_PARANOID where suitable.
ago%!(EXTRA string=11 months)
Ben Carter
eac25ce8dd
Texture-based round corners: Added support for multiple stroke widths
ago%!(EXTRA string=11 months)
Ben Carter
0c0b6cff24
Texture-based round corners: Refactoring and upgrades
...
Changed texture-based rounded rectangle edges to draw using thin polygons
Rearranged data for texture-based rounded rectangles to reduce allocations and pre-calculate parametric coordinate
Made max texture-based corner size a constant
Added API for drawing n-gons
Added support in circle API to auto-calculate suitable segment count
ago%!(EXTRA string=11 months)
Ben Carter
8dff3ce04c
Texture-based round corners: Added support for window grip rendering
ago%!(EXTRA string=11 months)
Ben Carter
cb9d412ad8
Texture-based round corners: Adding style/drawlist flags for rounded corner textures
ago%!(EXTRA string=11 months)
omar
ef4397331a
Texture-based round corners: Minor tweaks
ago%!(EXTRA string=11 months)
Ben Carter
06f1c21bd0
Texture-based round corners: Optimized texture-based rounded rectangle/circle code for better CPU performance at the cost of fill-rate
ago%!(EXTRA string=11 months)
omar
bf8647a889
Texture-based round corners: Using ImFabs() + Minor coding style fixes for consistency
ago%!(EXTRA string=11 months)
Ben Carter
20f1feca02
Texture-based round corners: Fixed not drawing correctly with small radii
...
Combined filled/outline arc textures into one texture rectangle per radius
Made rounded rectangles/circles draw using (moderately) tight-fitting geometry to minimise fill-rate usage
Hooked up texture-based rounded rectangle/circle code to main render path, with fallback to stroke system
Made AddCircleFilled/AddCircle explicitly not draw circles of radius 0 or less (to avoid inconsistency between them)
Fixed bug in PrimReserve() where releasing more vertices/indices than you used would try and immediately render the entire buffer
ago%!(EXTRA string=11 months)
omar
acdfb18d21
Texture-based round corners: Make FIXME consistent so they can be grepped. Tidying and added notes of things to fix.
ago%!(EXTRA string=11 months)
Francisco Demartino
fc9c4ec640
Texture-based round corners: Store rounded corners in texture to use 1 quad per corner.
ago%!(EXTRA string=11 months)
ocornut
00ad3c65bc
Version 1.90.7
ago%!(EXTRA string=11 months)
ocornut
f814ef816f
Commented out CaptureKeyboardFromApp(), CaptureMouseFromApp(). Commented out obsolete IsKeyPressedMap() from imgui_internal.h (can call IsKeyPressed). Comments
ago%!(EXTRA string=11 months)
Christian Fillion
b9084949bd
Fixed typo in IsMouseDragging and GetMouseDragDelta's documentation. ( #7620 )
ago%!(EXTRA string=11 months)
ocornut
86931393a3
Shortcuts: Revert "SetShortcutRouting: require explicit routing. ( #456 )
...
This reverts commit a689fa262a
.
ago%!(EXTRA string=11 months)
ocornut
7832e6a70e
Shortcuts: Routing: fixed mixed keys<>chars filtering not applying on global routes. ( #456 , #7618 )
ago%!(EXTRA string=11 months)
ocornut
85d982011e
Shortcuts: fixed priority of route calculation (higher first). ( #456 , #7618 )
ago%!(EXTRA string=11 months)
ocornut
ce4e210dcb
Shotcuts: renamed ImGuiInputFlags_RouteGlobalOverFocused -> ImGuiInputFlags_RouteOverFocused, ImGuiInputFlags_RouteGlobalOverActive -> ImGuiInputFlags_RouteOverActive in previsiion of using them with a Hovered route. ( #456 )
ago%!(EXTRA string=11 months)
ocornut
5ce3d29955
Shortcuts: rename ImGuiInputFlags_RouteGlobalHighest to ImGuiInputFlags_RouteGlobalOverActive, made ImGuiInputFlags_RouteGlobalOverFocused and ImGuiInputFlags_RouteGlobalOverActive flags. ( #456 )
ago%!(EXTRA string=11 months)
ocornut
650cb51bf1
Shortcuts: renamed ImGuiInputFlags_RouteActiveItem to ImGuiInputFlags_RouteActive. ( #456 , #7618 )
...
Amend ef9d525
ago%!(EXTRA string=11 months)
ocornut
ef9d525f02
Shortcuts: added ImGuiInputFlags_RouteActiveItem. ( #456 , #7618 ) + rearrange Changelog
ago%!(EXTRA string=11 months)
ocornut
16b72f2d21
Comments
ago%!(EXTRA string=11 months)
ocornut
29439bdd27
Windows: BeginChild(): fixed auto-fit calculation when using either (not both) ResizeX/ResizeY and double-clicking on a border. ( #1710 )
...
Calculation incorrectly didn't always account for scrollbar as it assumed the other axis would also be auto-fit.
ago%!(EXTRA string=11 months)
ocornut
374b9a7fb4
Demo: Documents: refactor + add Renaming option. ( #7233 )
ago%!(EXTRA string=11 months)
ocornut
c150ad50c4
Shortcuts: claim mods ownership once pressed. ( #456 , #2637 , #2620 , #2891 , #3370 , #3724 , #4828 , #5108 , #5242 , #5641 )
ago%!(EXTRA string=11 months)
ocornut
1002cfa6d2
Demo, Shortcut(): amend Shortcuts demo. ( #456 )
ago%!(EXTRA string=11 months)
ocornut
7c71e66370
Shortcuts, SetShortcutRouting: move ImGuiInputFlags_RouteFromRootWindow evaluation to SetShortcutRouting() for now. ( #456 )
ago%!(EXTRA string=11 months)
ocornut
d5a600e9c6
Shortcuts, SetShortcutRouting: added ImGuiInputFlags_RouteFromRootWindow. Made it possible for SetShortcutRouting() to query for another location.
ago%!(EXTRA string=11 months)
ocornut
0eb025f484
Internals: move ItemHandleShortcut() next to Shortcut(), it's calling it anyhow. ( #456 )
ago%!(EXTRA string=11 months)
ocornut
a689fa262a
SetShortcutRouting: require explicit routing. ( #456 )
ago%!(EXTRA string=11 months)
ocornut
c06e6340cd
Shortcuts: added ImGuiInputFlags_Tooltip. ( #456 )
ago%!(EXTRA string=11 months)
ocornut
77e4171894
Shortcuts: added flags to SetNextItemShortcut(). ( #456 )
ago%!(EXTRA string=11 months)
ocornut
197f8904fe
Shortcuts, Nav: make SetNextItemShortcut() work when another item is active. Made NavCalcPreferredRefPos() take account for remote activation. ( #456 )
...
Unsure why filter in ItemHandleShortcut(), will probably find out soon enough.
ago%!(EXTRA string=11 months)
ocornut
dc5caa483c
Demo: added "Shortcuts" section. ( #456 , #2637 )
ago%!(EXTRA string=11 months)
ocornut
fc512a2474
Inputs: Added Shortcut(), SetNextItemShortcut(). Added ImGuiInputFlags, ImGuiInputFlags_RouteXXXX. ( #456 , #2637 )
ago%!(EXTRA string=11 months)
ocornut
85513de247
Internals, Inputs: *Breaking* Swapped parameter order of owner-aware versions of IsKeyPressed(), IsKeyChordPressed(), IsMouseClicked(). ( #456 )
...
For several reasons those changes makes sense. They are being made because making some of those API public.
Only past users of imgui_internal.h with the extra parameters will be affected.
Added asserts for valid flags in various functions to detect _some_ misuses, BUT NOT ALL.
Amend 4448d975
(#456 , #2637 , #2620 , #2891 , #3370 , #4828 , #5108 , #5242 , #5641 )
ago%!(EXTRA string=11 months)
ocornut
900b29055c
Internals, Inputs: *Breaking* Swapped parameter order of Shortcut(). ( #456 )
...
Amend 4448d975
(#456 , #2637 , #2620 , #2891 , #3370 , #4828 , #5108 , #5242 , #5641 )
ago%!(EXTRA string=11 months)
ocornut
55748cdbe1
Internals, Inputs: *Breaking* Renamed ImGuiKeyOwner_None to ImGuiKeyOwner_NoOwner: avoid confusion with non zero value, makes IsKeyPressed() calls using ImGuiKeyOwner_NoOwner more explicit.
...
Amend 4448d975
(#456 , #2637 , #2620 , #2891 , #3370 , #4828 , #5108 , #5242 , #5641 )
ago%!(EXTRA string=11 months)
ocornut
ec1d2be96f
Examples: Win32+DX9,DX10,DX11,DX12: rework main loop to handle minimization and screen locking. ( #2496 , #3907 , #6308 , #7615 )
ago%!(EXTRA string=11 months)
ocornut
6d1a6f1c74
Internals, Inputs: Comments, alignment.
ago%!(EXTRA string=11 months)
Michal Šlesár
4c3eac2c10
Backends: OpenGL3: Fixed zealous warning by initializing last_pixel_unpack_buffer. ( #7614 )
ago%!(EXTRA string=11 months)