Ben Carter
248a2ff287
Texture-based round corners: Added sampling offset and bitmask for generated radii
4 years ago
Ben Carter
1b96e4d836
Texture-based round corners: Use separate textures for square corners and fix a bunch of corner-case issues
4 years ago
ocornut
4ff00a9032
Texture-based round corners: Fix building for stroke width 1,2,4 instead of 1,3,4.
4 years ago
ocornut
29334a817c
Texture-based round corners: Fix UV coordinates used by RenderWindowResizeGrip() - render was broken
4 years ago
ocornut
0b3754d9d1
Texture-based round corners: Moved RenderResizeGripWithTex to RenderWindowResizeGrip
4 years ago
ocornut
69bbd92da2
Texture-based round corners: Tweaks, renaming to match tex lines branch.
4 years ago
omar
2ba15aa18b
Texture-based round corners: Default circle segment count to 0 + fix warnings, remove unused macro
5 years ago
omar
4666bb24f7
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.
5 years ago
Ben Carter
8a1bdbebe0
Texture-based round corners: Added support for multiple stroke widths
5 years ago
Ben Carter
879a474818
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
5 years ago
Ben Carter
a64d4fbe7c
Texture-based round corners: Added support for window grip rendering
5 years ago
Ben Carter
9c1ad2dbc1
Texture-based round corners: Adding style/drawlist flags for rounded corner textures
5 years ago
omar
30cd89fc2d
Texture-based round corners: Minor tweaks
5 years ago
Ben Carter
b63cb73681
Texture-based round corners: Optimized texture-based rounded rectangle/circle code for better CPU performance at the cost of fill-rate
5 years ago
omar
a0ec9ebe3a
Texture-based round corners: Using ImFabs() + Minor coding style fixes for consistency
5 years ago
Ben Carter
9a506c186b
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
5 years ago
omar
7bc399496c
Texture-based round corners: Make FIXME consistent so they can be grepped. Tidying and added notes of things to fix.
5 years ago
Francisco Demartino
c709f7772c
Texture-based round corners: Store rounded corners in texture to use 1 quad per corner.
6 years ago
ocornut
726aad8e08
Refactor: moved ImGuiContext contructor to imgui.cpp
1 month ago
ocornut
44a73be6ea
TestEngine: log calls don't need testing hook active.
Docs: tweak comments on BeginDisabled(false)/EndDisabled() pairs.
1 month ago
ocornut
bc77041b57
Error Handling: fixed an issue ErrorCheckEndWindowRecover() when aborting in a child inside a tab bar. ( #1651 )
1 month ago
Mark Sibly
7f81fbc542
Backends: WGPU: Fix new WGPUStringView breaks shader compilation. ( #8009 , #8010 )
2 months ago
ocornut
fb410463e6
Scrollbar: added io.ConfigScrollbarScrollByPage setting. ( #8002 , #7328 )
2 months ago
ocornut
a727332e77
Scrollbar: Shift+Click always use absolute positionning scroll. ( #8002 , #7328 )
2 months ago
ocornut
4aeae5d718
Error check: fixed build when using IMGUI_DISABLE_DEBUG_TOOLS.
2 months ago
ocornut
d0750ee4e7
Error check: clarified that carriage returns are emitted by our code. Added helper default callback. Comments. ( #1651 )
(doesn't affect test engine hook for it as trailing \n are trimmed anyhow)
2 months ago
ocornut
0af2c4ef76
Backends: SDL3: Update for API changes: SDL_bool removal. SDL_INIT_TIMER removal. ( #7999 )
2 months ago
ocornut
faca859043
Version 1.91.3 WIP
2 months ago
ocornut
a9f72ab681
Version 1.91.2
2 months ago
ocornut
cfae5ac71b
Backends: make ImGui_ImplSDL2_KeyEventToImGuiKey(), ImGui_ImplSDL3_KeyEventToImGuiKey(), ImGui_ImplGlfw_KeyToImGuiKey(), ImGui_ImplWin32_KeyEventToImGuiKey(), ImGui_ImplAllegro5_KeyCodeToImGuiKey(), ImGui_ImplOSX_KeyCodeToImGuiKey(), non-static. ( #7997 )
Backends: Win32: Refactor ImGui_ImplWin32_KeyEventToImGuiKey() logic.
Ref #7672
2 months ago
ocornut
f7ba645398
InputText: fixed not filling callback's SelectionEnd. ( #7925 )
Broken by abd07f6
2 months ago
ocornut
e648dbb59d
Tables: fixed auto-width columns when using synced-instances of same table. ( #7218 )
Amend d3c3514a5
2 months ago
ocornut
6aade6912a
Inputs: SetNextItemShortcut() with ImGuiInputFlags_Tooltip doesn't show tooltip when item is active.
2 months ago
ocornut
dad9f45e3e
Windows: fixed an issue where double-click to collapse could be triggered even while another item is active. ( #7841 , #7369 )
2 months ago
ocornut
71714eab53
Tables: fixed assertion related to inconsistent outer clipping when sizes are not rounded. ( #7957 )
2 months ago
ocornut
11fba027e5
Tables: using table->InnerClipRect more consistently. Fixes an assertion with tables with borders when clipped by parent. ( #6765 , #3752 , #7428 )
2 months ago
ocornut
6ce26ef11d
AddFont: added assert to better detect uninitialized struct. ( #7993 )
2 months ago
ocornut
08b1496b7e
Backends: Win32: fixed an issue where a viewport destroyed while clicking would hog mouse tracking and temporary lead to incorrect update of HoveredWindow. ( #7971 )
# Conflicts:
# backends/imgui_impl_win32.cpp
# docs/CHANGELOG.txt
2 months ago
Aaron C Gaudette
1ac162f2b0
Backends: WGPU: add IMGUI_IMPL_WEBGPU_BACKEND_DAWN/IMGUI_IMPL_WEBGPU_BACKEND_WGPU to support more targets. ( #7977 , #7969 , #6602 , #6188 , #7523 )
2 months ago
ocornut
4925695ae8
InputText: optimize InputTextCalcTextLenAndLineCount() for inactive multiline path. ( #7925 )
2 months ago
ocornut
7ac50bf77d
InputText: more tidying up of selection search loop.
2 months ago
ocornut
aef07aea27
InputText: minor tidying up of selection search loop (no need to imply it runs in single line mode)
2 months ago
ocornut
b53d91a4c4
InputText: optimization for large text: using memchr() instead of strchr() shaves 0.2 ms on 865k multi-line text case. Approximately 20%. ( #7925 )
2 months ago
ocornut
510b6adc9b
CI: disable month-long PVS Studio warning about expiring licence.
2 months ago
ocornut
dab63231d8
Misc: Made it accepted to call SetMouseCursor() with any out-of-bound value, as a way to allow hacking in custom cursors if desirable.
2 months ago
ocornut
4d00bf8add
MultiSelect+Tables: fixed an issue where box-select would skip items while drag-scrolling in a table with outer borders. ( #7970 , #7821 ).
See "widgets_multiselect_boxselect_2" test.
2 months ago
Yan Pujante
6dcb7be35f
CI: amend build tests for emscripten ( #7965 )
+ Backends: GLFW: minor preemptive fix.
2 months ago
Yan Pujante
ac2ad79812
Backends: GLFW+Emscripten: use OSX behaviors automatically when using contrib glfw port. ( #7965 , #7915 )
2 months ago
David Briscoe
52a6ab44b1
Doc: Fix typo. ( #7974 )
2 months ago
ocornut
dc6346b763
Fonts: fixed ellipsis "..." rendering width miscalculation bug introduced in 1.91.0. ( #7976 )
Amend 0f63d3e9
2 months ago