ocornut
d39ca33b63
Fixed false positive with PVS-Studio.
Amend ae8218a
.
6 months ago
ocornut
ae8218a3ea
Inputs, Shortcut: fixes some edge cases for GetKeyChordName(), clarify that it is aimed at display. ( #456 )
Rename IsNamedKeyOrModKey() to IsNamedKeyOrMod() for consistency.
Fixed GetKeyName(ImGuiKey_None) from returning "N/A" or "None" depending on IMGUI_DISABLE_OBSOLETE_KEYIO.
See "inputs_keychord_name" in imgui_test_suite.
6 months ago
ocornut
25e279ee73
Inputs: Treat ctrl-left-click as right click when ConfigMacOSXBehaviors is set. ( #2343 )
6 months ago
ocornut
b4f564c1ed
Internals: Shortcuts: *Breaking* : rename ImGuiInputFlags_RouteGlobalLow -> ImGuiInputFlags_RouteGlobal, ImGuiInputFlags_RouteGlobal -> ImGuiInputFlags_RouteGlobalOverFocused, ImGuiInputFlags_RouteGlobalHigh -> ImGuiInputFlags_RouteGlobalHighest ( #456 )
6 months ago
ocornut
5107e58b0f
Inputs: amend changelog and clarify how the swap might be a breaking change for a minority of users. ( #2343 )
6 months ago
ocornut
8bd5d1d42f
Inputs: Fixed swapping of keys associated to mods. Fixed warnings. ( #2343 , #4084 , #5923 , #456 )
Amend 7747106
.
6 months ago
ocornut
7747106647
Inputs: swap Ctrl and Cmd on macOS X, remove ImGuiMod_Shortcut. ( #2343 , #4084 , #5923 , #456 )
6 months ago
Hubert Maier
07dbcf1f70
Fixed typos. ( #7593 )
6 months ago
ocornut
93daf23223
Examples: SDL3: updates for latest SDL3 API changes.
6 months ago
kuvaus
e45efa9951
Backends: SDL3: Rename SDLK_QUOTE and SDLK_BACKQUOTE to SDLK_APOSTROPHE and SDLK_GRAVE. ( #7580 )
6 months ago
ocornut
5d973a87d4
Backends: SDL_Renderer2/SDL_Renderer3: and ImGui_ImplSDLRenderer2_RenderDrawData() and ImGui_ImplSDLRenderer3_RenderDrawData() now takes a SDL_Renderer* parameter.
6 months ago
Erin M
af2fbf043d
Backends/Internals: Don't use IME and clipboard default win32 functions when WINAPI_FAMILY_GAMES ( #7585 )
6 months ago
ocornut
e4576914cb
Internals: amend f806c76
to better match docking + fixed unused static forward declaration warning.
6 months ago
ocornut
d0524df887
Internals: slight refactor FindHoveredWindow() -> FindHoveredWindowEx() toward reducing far-away code duplication.
6 months ago
ocornut
f806c76e97
Tables, Dpi: added dummy g.DpiScale storage (to be altered in docking), using to scale tables border hit thickness.
+ Added note about how equivalent resize padding for windows (sourced from WINDOWS_HOVER_PADDING) would need further rework.
6 months ago
omar
f0912833ba
Update FAQ.md ( #7581 )
6 months ago
ocornut
ac90e1bd5b
Backends: Win32: replace bd != nullptr assert with early out. ( #6275 )
+ fixed inconsistent use of break vs return 0 in WndProcHandler (had no tangible effect).
6 months ago
omar
0a5d40a016
Update FAQ.md
6 months ago
ocornut
d06b8b58d8
Nav: fixed holding Ctrl or gamepad L1 from not slowing down keyboard/gamepad tweak speed.
Broken by 8b8a61bd
+ Comments (#7570 )
6 months ago
ocornut
5e23680454
Backends: all backends + demo now call IMGUI_CHECKVERSION() to verify ABI compatibility between caller code and compiled version of dear imgui. ( #7568 )
6 months ago
prabu
510eb8f480
Tables: fixed cell background of fully clipped row overlapping with header. ( #7575 , #7041 )
6 months ago
ocornut
f48aae600a
Version 1.90.7 WIP
6 months ago
ocornut
6ccc561a2a
Version 1.90.6
6 months ago
ocornut
0d483a1c89
Backends: OpenGL3: Update loader for Linux to support EGL/GLVND. ( #7562 )
+ #6983
6 months ago
ocornut
92df32d339
Backends: OpenGL3: minor update of generated loader to match latest downloaded glcorearb.h/khrplatform.h files.
6 months ago
ocornut
1ab1af80c7
Backends: Win32: Facepalm revert part of d15574c
+ additional commentary ( #6275 )
6 months ago
ocornut
d15574ce2a
Backends: Win32: Removed silent return when calling ImGui_ImplWin32_WndProcHandler() with no active context! ( #6275 )
Better standardized similar checks in other backends.
6 months ago
ocornut
d4495446d5
Windows, Internal: added experimental SkipRefresh mode. ( #3515 , #4763 , #7556 , #5116 , #4076 , #2749 , #2268 )
currently: ImGui::SetNextWindowRefreshPolicy(ImGuiWindowRefreshFlags_TryToAvoidRefresh);
- This is NOT meant to replace frame-wide/app-wide idle mode.
- This is another tool: the idea that a given window could avoid refresh and reuse last frame contents.
- I think it needs to be backed by a careful and smart design overall (refresh policy, load balancing, making it easy and obvious to user).
- It's not there yet, this is currently a toy for experimenting.
My other issues with this:
- It appears to be very simple, but skipping most of Begin() logic will inevitably lead to tricky/confusing bugs. Let's see how it goes.
- I don't like very much that this opens a door to varying inconsistencies
- I don't like very much that it can lead us to situation where the lazy refresh gets disabled in bulk due to some reason (e.g. resizing a dock space) and we get sucked in the temptation to update for idle rather than update for dynamism.
6 months ago
ocornut
0b309471f2
Windows: Changed default ClipRect to extend to windows' left and right borders. ( #3312 , #7540 , #3756 , #6170 , #6365 )
6 months ago
ocornut
0c9c12c1bb
InnerClipRect use ImFloor() matching docking branch (fix c41868531
for #6861 , #2884 , followed by rename 94da5842
)
Since negative windows can never be visibile in master it didn't show as a difference.
6 months ago
ocornut
6ebbecc6a0
Realign assignments.
No functional changes.
6 months ago
thedmd
fc4d818e17
Tables: Angled headers: added TableAngledHeadersTextAlign, ImGuiStyleVar_TableAngledHeadersTextAlign. ( #6917 )
6 months ago
ocornut
4bb7567141
Tables: Angled headers: fixed multi-line label display when angle is flipped. ( #6917 )
6 months ago
ocornut
b30df8890d
Table: Angled Headers: internal refactor to facilitate changing angled header bg and text colors per column. ( #6917 )
6 months ago
ocornut
558c57a086
Fixed static analyzer warning "Pointer to local array 'overlay_buf' is stored outside the scope". Technically not used outside that scope, but best to play nice.
6 months ago
ocornut
50b2ff0bf0
ImGuiIO: moved IMGUI_DISABLE_OBSOLETE_KEYIO block lower in the structure so other fields layout are not affected by it ( #7534 )
This is essentially a misleading grace feature allowing a build mistake to be made, as we technically are more flexible now. BUT if we reintroduce a need we may more harshly move it to the top of the structure to detect issues.
6 months ago
ocornut
6ef4f67fa9
ImDrawList: moved cold fields lower in the structure so hot fields are closer to each others + better packed ImGuiNavItemData
6 months ago
Lukas Lipp
a60387a3c2
Backends: GLFW: Add define guards for glfw native defines. ( #7536 )
6 months ago
ocornut
913151caa8
Demo: move progress bars to their own section.
7 months ago
gan74
c895e987ad
ProgressBar: added indeterminate mode by passing an animated negative value. ( #5316 , #5370 , #1901 )
7 months ago
diego.mateos
b8a44b198c
TreeNode: added ImGuiTreeNodeFlags_SpanTextWidth. ( #6937 )
1 year ago
ocornut
baaaaea9e9
Demo: tweak TreeNode demo.
7 months ago
ocornut
da18fcb7ae
Internals: ensure ButtonBehavior() is called with non 0 id.
7 months ago
ocornut
b720c0f541
Backends: Vulkan: Added convenience support for Volk via IMGUI_IMPL_VULKAN_USE_VOLK define. ( #6582 , #4854 )
7 months ago
ocornut
07e8ff9a8d
Backends: Win32: Fixed a warning + moved header cruft below Changelog.
7 months ago
ocornut
fa0120ea5e
Windows: Fixed subsequent Begin() append calls from setting last item information for title-bar. ( #7506 , #823 )
Amend 067605052
, 27fd1b913b
7 months ago
ocornut
361432a0bb
TreeNode: fixed layout so that TreeNode("") or TreeNode("##HiddenLabel") may properly be used with SameLine(0,0). ( #7505 , #282 )
Also adjust some of the interact_bb padding, arbitrary interact padding not meaningful as empty label is likely to be followed by extra item. User likely to use ImGuiTreeNodeFlags_SpanAvailWidth.
7 months ago
ocornut
eba46cb0d2
Drag and Drop: assert when nesting BeginDragDropSource() and BeginDragDropTarget() ( #7504 ) + update Gallery links
7 months ago
ocornut
9ec299ebe3
Backends: OpenGL: Detect ES3 contexts on desktop based on version string, ( #7447 )
7 months ago
ocornut
7b8107e7c8
Examples: GLFW+WebGPU: Rename example_emscripten_wgpu/ to example_glfw_wgpu/ ( #7435 , #7132 )
7 months ago