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
5cdc4a2a41
Demo: use ImGui::MemAlloc/MemFree for consistency. ( #7300 )
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
7d67623d15
InputText: Internal: ReloadUserBufXXX functions don't override revert value. ( #2890 ) fix accidental comment.
9 months ago
ocornut
a5e0e90c16
Nav: tweak RenderNavHighlight() syntax. ImGuiNavHighlightFlags_TypeThin -> ImGuiNavHighlightFlags_Compact.
9 months ago
ocornut
1e8fc01ddd
InputText: Internal: ReloadUserBufXXX functions don't override revert value. ( #2890 ) + rename
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
Bruce Mitchener
6172c22c5d
CI: Update to `actions/checkout` `v4` from `v3`. ( #7281 )
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
ocornut
8491cf36ad
Inputs: g.ActiveIdUsingManyKeys[] prevent routes from being claimed.
Amend fc134f5
10 months ago
ocornut
9176eedf24
Internals: SetShortcutRouting() move code so next commit is easier to read. Should be no-op.
10 months ago
ocornut
1509842107
Backends: OpenGL3: Shallow tweak of compile-time extensions detection.
Detect polygon mode using same method as others (not define/symbol).
IMGUI_IMPL_OPENGL_MAY_HAVE_EXTENSIONS -> IMGUI_IMPL_OPENGL_HAS_EXTENSIONS
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
ocornut
81e0be856a
Fixed strict-aliasing violation in FormatTextureIDForDebugDisplay(). ( #7090 , #7256 )
10 months ago
ocornut
a201af7354
Added SetNextItemShortcut() wip function. ( #456 )
Mark widget as hovered. Amend d10641b
.
10 months ago
ocornut
4c2c09450a
Nav: keyboard/gamepad activation feedback properly timed instead of frame buffer. ( #456 )
Amend d10641b
10 months ago
ocornut
5b5e9bd0cb
Internals: Tweak shallow compaction as Clang complains about MS ABI signage of enums.
10 months ago
ocornut
7c3fa7d049
Refactor: moved section in imgui_internal.h
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
6850194f60
CI: Fixes WGPU example build.
10 months ago
ocornut
5fc0a361b2
Backends: WebGPU: added ImGui_ImplWGPU_InitInfo::PipelineMultisampleState. ( #7240 )
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
e3c7ff944d
Examples: Emscripten+WebGPU: slightly refactor like other Emscripten compatible Desktop examples, as aiming to make this suppot desktop eventually.
Also aimed at reducing diff for https://github.com/ocornut/imgui/pull/7132 tho this will lead in conflict.
10 months ago
Frank McCoy
15908502ed
Backends: Vulkan: Define NOMINMAX when VK_USE_PLATFORM_WIN32_KHR is defined. ( #7250 )
10 months ago
Michał Cichoń
788747f863
Examples: Emscripten+WebGPU: Remove use of deprecated ObjectBase<...>::Release in favor of ::MoveToCHandle ( #7251 )
10 months ago
ocornut
763100b385
Nav: Fixed pressing Escape while in a child window with _NavFlattened flag. ( #7237 )
10 months ago
ocornut
c7edb446ca
Shortcut(): always test ownership.
- It doesn't sense to test route without ownership (which may be overrided by code not using routing)
- It also wouldn't be possible to call Shortcut() with _None anyway, since successful routing sets ownership.
Tangential to experiments for #7237
10 months ago
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
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
2f48337335
Examples: Vulkan: Rename compile-time defies for the examples to remove misleading IMGUI_ prefixes.
10 months ago
ocornut
d7c2a0e38f
Shortcut(): fixed 8323a06
adding _Repeat to all Shortcut() calls.
10 months ago
ocornut
3b828d3701
Refactor: moving ItemAdd() into a section abote ItemSize(). No logic change (part 2)
Diff not ideal (in Fork it looks like ItemSize is moved) but understandable at a glance.
10 months ago
ocornut
ff5f3aa38b
Refactor: moving ItemAdd() into a section abote ItemSize(). No logic change (part 1)
Moved KeepAliveID() as well for increased locality.
Adding dummy ItemAdd() placeholder to facilitate diffing (otherwise single commit single diff is a mess).
10 months ago
ocornut
1a48a63446
Enclosed a few more remaining sections in ifndef IMGUI_DISABLE_DEBUG_TOOLS for completeness.
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
d431d85839
Internals: removed obsolete ImPool::GetSize() (last used by implot 0.10, changed in implot 0.11)
10 months ago
ocornut
f0d1f61fa5
Internals: commented out long-time obsoleted FocusableItemRegister()/FocusableItemUnregister() documentaton-only leftovers. +
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
ocornut
d10641b04a
Nav: keyboard/gamepad activation mark widgets as held to give better visual feedback.
10 months ago
ocornut
03417cc77d
Backends: WebGPU: Filling all WGPUDepthStencilState fields explicitly as a recent Dawn update stopped setting default values. ( #7232 )
10 months ago
ocornut
5fdcdf7080
Shortcut: ImGuiInputFlags_RouteFocused policy can filter Shortcuts conflicting with character input when an item is active. ( #456 )
10 months ago
ocornut
80d5cb1ab1
Comments around ImGuiInputFlags.
10 months ago