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
ocornut
1cc0eb4d32
Internals: Rename NavFocusScopePath to NavFocusRoute + fixed a static analyzer warning.
10 months ago
ocornut
46e5f44ec8
Shortcut()/SetShortcutRouting(): use mixed current window focus scope + ParentWindowForFocusRoute. ( #6798 , #2637 , #456 )
Amend d474836
Begin: tweak clearing of CurrentWindow as FocusWindow() relies on it now.
Addded SetWindowParentWindowForFocusRoute() helper.
10 months ago
ocornut
e0c8c80ada
Shortcut()/SetShortcutRouting(): focus route testing now use ParentWindowForFocusRoute. Automatically set on child-window, manually configurable otherwise. ( #6798 , #2637 , #456 )
10 months ago
ocornut
4b20a0217e
Internals: add window to FocusScopeStack. ( #6798 )
10 months ago
ocornut
2156db7a07
Debug Log: added InputRouting logging. Made GetKeyChordName() use its own buffer. Fixed debug break in SetShortcutRouting(). ( #6798 , #2637 , #456 )
10 months ago
ocornut
dd0efdc637
Fixed SetKeyboardFocusHere() not working when current nav focus is in different scope. ( #7226 )
Amend 70f2aaff
10 months ago
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 )
10 months ago
ocornut
6228c2e1ec
Backends: Vulkan: moved ImGui_ImplVulkanH_DestroyFrameRenderBuffers/ImGui_ImplVulkanH_DestroyWindowRenderBuffers as they are always used in a state where backend data is available.
10 months ago
ocornut
70bb6d1e79
Backends: Vulkan: Fixed vkMapMemory() calls unnecessarily using full buffer size. ( #3957 )
10 months ago
Tristan Gouge
82df7c8bf4
Backends: Vulkan: Fixed handling of ImGui_ImplVulkan_InitInfo::MinAllocationSize field. ( #7189 , #4238 )
10 months ago
ocornut
29809d7220
Version 1.90.2 WIP
10 months ago
ocornut
db049db860
Docs: tweak, fixed misplaced changelog entry. ( #7084 )
10 months ago
ocornut
d6cb3c923d
Version 1.90.1
10 months ago
ocornut
6470e2279e
Debug Tools: DebugRenderKeyboardPreview() scales better.
10 months ago
ocornut
fdf8d02be1
Debug Tools: Added io.ConfigDebugIsDebuggerPresent and Debug Break buttons. ( #2673 )
10 months ago
ocornut
788bb58b6b
Metrics: Tweak, reorganize tools menu.
10 months ago
ocornut
a5dec42866
Debug Tools: Debug Log: Clicking any filter with SHIFT held enables it for 2 frames only. ( #5855 )
10 months ago
ocornut
a3eea8a75a
Backends: OpenGL3: Update GL3W based imgui_impl_opengl3_loader.h to load "libGL.so" and variants, fixing regression on distros missing a symlink. ( #6983 )
Amend 0f50b52da
10 months ago
ocornut
69bf3291df
Internals, Inputs: Fix for ImGuiInputFlags_RepeatUntilXXX logic when #ifdef IMGUI_DISABLE_OBSOLETE_KEYIO is not set.
Amend 8323a06
. Eager to get rid of legacy IMGUI_DISABLE_OBSOLETE_KEYIO stuff: technically it's been two years, may give it another one.
10 months ago
ocornut
af00b182e3
Examples: SDL3: Minor fixes following changes to API (SDL_WindowFlags -> Uint32).
"The SDL_WindowFlags enum should be replaced with Uint32"
10 months ago
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.
10 months ago
ocornut
8323a06e6d
Inputs: passing ImGuiInputFlags_RepeatXXX options automatically adds ImGuiInputFlags_Repeat.
Will make extra sense with next commit where we add ImGuiInputFlags_RepeatUntil options.
10 months ago
ocornut
58261dbe9a
Internals: alter ImGuiInputFlags values to leave room + indent.
10 months ago
ocornut
f1ae47c4b9
Docs: update links to Proggy Fonts. ( #7211 )
10 months ago
ocornut
7f9533b840
ColorPicker: Fixed saturation/value cursor radius not scaling properly.
+ Misc docs/comments.
10 months ago
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.
10 months ago