ocornut
c54230d14e
Backends: Using nullptr instead of NULL. ( #5760 , #4537 ) + fix additional warnings.
ago%!(EXTRA string=3 years)
ocornut
8a44c31c95
Scrolling: Further reduce unrelease mouse-wheel locked window timer + misc refactor ( #2604 , #3795 , #4559 )
...
The refactor are designed to minimize the diff for changes needed for #3795
ago%!(EXTRA string=3 years)
ocornut
dfa1bb0ac7
Backends: OSX: Fixed mouse inputs on flipped views. ( #5756 )
ago%!(EXTRA string=3 years)
ocornut
cb04326b46
Fixed ImGuiWindowFlags_UnsavedDocument clipping label in docked windows with no close button. [changes for docking] ( #5745 )
...
+ TabBar: starts displaying the unsaved document marker with a frame delay to match how close button is processed, otherwise the transition would be noticeable.
ago%!(EXTRA string=3 years)
ocornut
85a368b58d
Fixed ImGuiWindowFlags_UnsavedDocument clipping label in docked windows with no close button. ( #5745 )
...
+ TabBar: starts displaying the unsaved document marker with a frame delay to match how close button is processed, otherwise the transition would be noticeable.
ago%!(EXTRA string=3 years)
ocornut
c7d3d22ae1
Scrolling: Mitigated issue where multi-axis mouse-wheel inputs (usually from touch pad events) are incorrectly locking scrolling in a parent window. ( #4559 , #3795 , #2604 )
ago%!(EXTRA string=3 years)
ocornut
80a870a3e5
Scrolling: Tweak mouse-wheel locked window timer so it is shorter but also gets reset whenever scrolling again ( #2604 ) + small refactor
...
Somehow interesting for (#3795 , #4559 ). sorry this will break PR for 3795 but we got the info.
ago%!(EXTRA string=3 years)
ocornut
282b2b5afb
Backends: Vulkan: Fix building with VK_NO_PROTOTYPES. ( #914 , #5738 ).
...
Amend a588f00
ago%!(EXTRA string=3 years)
ocornut
a588f00f7b
Backends: Vulkan: Added experimental ImGui_ImplVulkan_RemoveTexture() for api symetry. ( #914 , #5738 ).
ago%!(EXTRA string=3 years)
ocornut
fb0b9c7160
Docking: Fixed missing highlight when using dock node host window borders. ( #5702 )
...
Amend 8f434874
, 9764adc7b
, 24dfebf45
ago%!(EXTRA string=3 years)
cfillion
5884219867
imgui_freetype: Assert if bitmap size exceed chunk size to avoid buffer overflow. ( #5731 )
ago%!(EXTRA string=3 years)
ocornut
f2a522d70d
ImDrawList: Not using alloca() anymore, lift single polygon size limits. ( #5704 , #1811 )
ago%!(EXTRA string=3 years)
ocornut
69beaa1d0b
Viewports: Fix AddMouseViewportEvent() to honor AppAcceptingEvents, filter duplicate, add to debug log.
ago%!(EXTRA string=3 years)
ocornut
d91211f9f2
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_opengl3.cpp
# backends/imgui_impl_win32.cpp
ago%!(EXTRA string=3 years)
ocornut
cc5058e5d7
IO: Filter duplicate input events during the AddXXX() calls. ( #5599 , #4921 )
ago%!(EXTRA string=3 years)
ocornut
fac8295d6e
IO: remove ImGuiInputEvent::IgnoredAsSame (revert part of 839c3100
), will filter earlier in next commit. ( #5599 )
...
Making it a separate commit as this leads to much indentation change.
ago%!(EXTRA string=3 years)
ocornut
9e7f460c09
Fixed GetKeyName() for ImGuiMod_XXX values, made invalid MousePos display in log nicer. ( #4921 , #456 )
...
Amend fd408c9
ago%!(EXTRA string=3 years)
ocornut
0749453355
Menus, Nav: Fixed not being able to close a menu with Left arrow when parent is not a popup. ( #5730 )
ago%!(EXTRA string=3 years)
ocornut
9f6aae3bf2
Nav: Fixed race condition pressing Esc during popup opening frame causing crash.
ago%!(EXTRA string=3 years)
ocornut
bd2355a047
Menus, Nav: Fixed using left/right navigation when appending to an existing menu (multiple BeginMenu() call with same names). ( #1207 )
ago%!(EXTRA string=3 years)
ocornut
3532ed1621
Menus, Nav: Fixed keyboard/gamepad navigation occasionally erroneously landing on menu-item in parent when the parent is not a popup. ( #5730 )
...
Replace BeginMenu/MenuItem swapping g.NavWindow with a more adequate ImGuiItemFlags_NoWindowHoverableCheck.
Expecting more subtle issues to stem from this.
Note that NoWindowHoverableCheck is not supported by IsItemHovered() but then IsItemHovered() on BeginMenu() never worked: fix should be easy in BeginMenu() + add test is IsItemHovered(), will do later
ago%!(EXTRA string=3 years)
ocornut
d5d705069d
Various comments
...
As it turns out, functions like IsItemHovered() won't work on an open BeginMenu() because LastItemData is overriden by BeginPopup(). Probably an easy fix.
ago%!(EXTRA string=3 years)
Andrew D. Zonenberg
e74a50f525
Added GetGlyphRangesGreek() helper for Greek & Coptic glyph range. ( #5676 , #5727 )
ago%!(EXTRA string=3 years)
ocornut
d17627b9c6
InputText: leave state->Flags uncleared for the purpose of backends emitting an on-screen keyboard for passwords. ( #5724 )
ago%!(EXTRA string=3 years)
ocornut
0a7054c7e4
Backends: Win32: Convert WM_CHAR values with MultiByteToWideChar() when window class was registered as MBCS (not Unicode). ( #5725 , #1807 , #471 , #2815 , #1060 )
ago%!(EXTRA string=3 years)
ocornut
a229a7f39f
Examples: Win32: Always use RegisterClassW() to ensure windows are Unicode. ( #5725 )
ago%!(EXTRA string=3 years)
ocornut
e0330c1696
Fonts, Text: Fixed wrapped-text not doing a fast-forward on lines above the clipping region. ( #5720 )
...
which would result in an abnormal number of vertices created.
ago%!(EXTRA string=3 years)
ocornut
4d4889bf1b
Refactor CalcWordWrapPositionA() to take on the responsability of minimum character display. Add CalcWordWrapNextLineStartA(), simplify caller code.
...
Should be no-op but incrementing IMGUI_VERSION_NUM just in case.
Preparing for #5720
ago%!(EXTRA string=3 years)
ocornut
5c4426c5b8
Demo: Fixed Log & Console from losing scrolling position with Auto-Scroll when child is clipped. ( #5721 )
ago%!(EXTRA string=3 years)
ocornut
12c0246890
Removed support for 1.42-era IMGUI_DISABLE_INCLUDE_IMCONFIG_H / IMGUI_INCLUDE_IMCONFIG_H. ( #255 )
ago%!(EXTRA string=3 years)
ocornut
73efcec564
Examples: disable GL related warnings on Mac + amend to ignore list.
ago%!(EXTRA string=3 years)
ocornut
a725db17b7
Comments for flags discoverability + add to debug log ( #3795 , #4559 )
ago%!(EXTRA string=3 years)
ocornut
11f5be0caf
Backends: OpenGL: Add ability to #define IMGUI_IMPL_OPENGL_DEBUG. ( #4468 , #4825 , #4832 , #5127 , #5655 , #5709 )
...
# Conflicts:
# backends/imgui_impl_opengl3.cpp
ago%!(EXTRA string=3 years)
ocornut
325299f942
Backends: OpenGL: Add ability to #define IMGUI_IMPL_OPENGL_DEBUG. ( #4468 , #4825 , #4832 , #5127 , #5655 , #5709 )
ago%!(EXTRA string=3 years)
ocornut
56c3eaed20
ImDrawList: asserting on incorrect value for CurveTessellationTol ( #5713 )
ago%!(EXTRA string=3 years)
ocornut
04316bd223
ColorEdit3: fixed id collision leading to an assertion. ( #5707 )
ago%!(EXTRA string=3 years)
ocornut
8f434874c0
Docking: Fixed incorrect focus highlight on docking node when focusing a menu. ( #5702 )
ago%!(EXTRA string=3 years)
ocornut
6fd2ee9416
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_sdl.cpp
# imgui_demo.cpp
ago%!(EXTRA string=3 years)
ocornut
c261dac02f
Demo: moved ShowUserGuide() lower in the file, to make main demo entry point more visible + fix using IMGUI_DEBUG_LOG() macros in if/else.
ago%!(EXTRA string=3 years)
ocornut
51bbc70652
Backends: SDL: Disable SDL 2.0.22 new "auto capture" which prevents drag and drop across windows, and don't capture mouse when drag and dropping. ( #5710 )
ago%!(EXTRA string=3 years)
ocornut
7a9045dd77
Backends: WGPU: removed Emscripten version check (currently failing on CI, ensure why, and tbh its redundant/unnecessary with changes of wgpu api nowadays)
ago%!(EXTRA string=3 years)
ocornut
1dc7d0e633
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_osx.mm
# backends/imgui_impl_sdl.cpp
# backends/imgui_impl_win32.cpp
# imgui.cpp
ago%!(EXTRA string=3 years)
ocornut
83a0030c0a
Added ImGuiMod_Shortcut which is ImGuiMod_Super on Mac and ImGuiMod_Ctrl otherwise. ( #456 )
ago%!(EXTRA string=3 years)
ocornut
fd408c9790
Renamed and merged keyboard modifiers key enums and flags into a same set:. ImGuiKey_ModXXX -> ImGuiMod_XXX and ImGuiModFlags_XXX -> ImGuiMod_XXX. ( #4921 , #456 )
...
Changed signature of GetKeyChordName() to use ImGuiKeyChord.
Additionally SetActiveIdUsingAllKeyboardKeys() doesn't set ImGuiKey_ModXXX but we never need/use those and the system will be changed in upcoming commits.
ago%!(EXTRA string=3 years)
ocornut
f359dca0dc
Misc input related changes to facilitate upcoming merges.
ago%!(EXTRA string=3 years)
ocornut
85f327d8d3
InputText: added ImGuiInputTextFlags_EscapeClearsAll ( #5688 )
ago%!(EXTRA string=3 years)
ocornut
60ab8a94a7
InputText: fixed minor one-frame selection glitch when reverting with Escape + disable cursor rendering on revert frame. ( #3008 )
...
Amend bdbb2b21
, 83efdcec
ago%!(EXTRA string=3 years)
ocornut
4b522e145c
Experiment: ImGuiKey is now a typed enum, allowing ImGuiKey_XXX symbols to be named in debuggers. ( #4921 , #4537 )
...
May affect binding generators.
ago%!(EXTRA string=3 years)
ocornut
5c8041b4d7
Update gif in README + font names in examples
ago%!(EXTRA string=3 years)
ocornut
2736af6b61
Minor optimization of ImFontAtlasBuildMultiplyRectAlpha8() + README tweaks.
ago%!(EXTRA string=3 years)