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.
10 months ago
ocornut
04f40014a6
Docs: added a mini wiki index in main source files.
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
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
e46d1e69ac
Version 1.90.5 WIP
9 months ago
ocornut
277ae93c41
Version 1.90.4
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
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
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
ocornut
8a14b71f22
Version 1.90.4 WIP
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
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
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
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
ocornut
a06dd7a27b
OpenPopup(): Added ImGuiPopupFlags_NoReopen. Nav, Menus: Fixed click on a BeginMenu() followed by right-arrow. ( #1497 , #1533 )
reopen
9 months ago
ocornut
f104967c68
Comments
9 months ago
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.
9 months ago
Bruce Mitchener
f50ddc431e
Fixed some typos. ( #7282 )
9 months ago
ocornut
96839b445e
Nav: Improve handling of Alt key to toggle menu so that key ownership may be claimed on indiviudal left/right alt key without intefering with the other.
See test "inputs_owner_single_mod"
10 months ago
ocornut
7194756370
Shortcut: fixed single mod-key Shortcut from working e.g. Shortcut(ImGuiKey_LeftCtrl)
10 months ago
Peter0x44
f1960b60c1
Added "nop" to IM_DEBUG_BREAK macro on GCC to work around GDB bug ( #7266 )
There are two issues here - first, this macro uses AT&T specific syntax with $, which is not necessary. Also, some assemblers (nasm) emit different bytes for "int 3" and "int3", so it's better to use "int3" (cd 03 vs cc)
More importantly, GDB has some failing assertion whenever stepping after hitting an "int3" instruction. This makes it practically useless, as is. For some reason, putting a nop afterwards as a workaround is okay.
Related discussions:
https://sourceware.org/bugzilla/show_bug.cgi?id=31194
https://lists.sr.ht/~skeeto/public-inbox/%3C2d3d7662a361ddd049f7dc65b94cecdd%40disroot.org%3E
10 months ago
Clément Gallet
1ce41f6218
Backends: OpenGL3: Backup and restore GL_PIXEL_UNPACK_BUFFER. ( #7253 )
Amended with (bd->GlVersion >= 210) checks.
10 months ago
rajveermalviya
9266c0d2d1
Backends: WebGPU: Avoid leaking pipeline layout. ( #7245 )
10 months ago
ocornut
595eb86624
Changelog, comment, minor data compaction
10 months ago
ocornut
831d42c1ab
Backends: WebGPU: ImGui_ImplWGPU_Init() now takes a ImGui_ImplWGPU_InitInfo structure instead of variety of parameters, allowing for easier further changes. ( #7240 )
10 months ago
ocornut
763100b385
Nav: Fixed pressing Escape while in a child window with _NavFlattened flag. ( #7237 )
10 months ago
ocornut
5ddfbb80d8
Backends: Vulkan: Fixed vkAcquireNextImageKHR() validation errors in VulkanSDK 1.3.275 by allocating one extra semaphore than in-flight frames. ( #7236 )
10 months ago
ocornut
33fabdf392
Scrollbar() doesn't forcefully mark itself as hovered when held.
Weirdly as old as when dinosaurs roamed earth, aka first commit (per-1.0).
+ Minor alignment in both sense of the term :) Reduce padding in ImGuiNextItemData.
10 months ago
ocornut
095665977f
Nav: marking NavId as hovered in ButtonBehavior() doesn't check for ActiveId.
Aimed at allowing activating another item with a shortcut without losing NavId.
Initial logic from c2cb2a69
, with minor amends db5f1b79c
, cea78cc57
.
10 months ago