ocornut
790132a672
Added io.AddKeyModEvent() and updated backends accordingly. ( #2625 , #4858 )
ago%!(EXTRA string=3 years)
thedmd
746c9f76e4
Backends: Win32: Update to use io.AddEventKey() will full key map ( #2625 , #4858 )
ago%!(EXTRA string=3 years)
ocornut
afffcd5810
Inputs: rename ImGuiKey_KeyPadEnter > ImGuiKey_KeypadEnter ( #2625 )
ago%!(EXTRA string=3 years)
ocornut
3a90dc3893
Platform IME: changed io.ImeSetInputScreenPosFn() to io.SetPlatformImeDataFn() API.
...
Ref #2589 , #2598 , #3108 , #3113 , #3653 , #4642
ago%!(EXTRA string=3 years)
thedmd
0cdc4a9565
Backends: Win32: Store left/right variants of Ctrl/Shift/Alt mods in KeysDown[] array. ( #2625 )
...
Technically not much required yet but will be by extra-keys work. fix miscleared GLFW field for consistency (no effect)
ago%!(EXTRA string=3 years)
ocornut
bac748fa95
Backends: Made it possible to shutdown default Platform Backends before the Renderer backends. ( #4656 )
ago%!(EXTRA string=4 years)
ocornut
c6ca327fb2
Backends: Added more implicit asserts to detect invalid/redundant calls to Shutdown functions. ( #4562 )
ago%!(EXTRA string=4 years)
thedmd
2f40be638f
IO, Backends: add io.AddFocusEvent(). Clear pressed keys after loosing input focus ( #3532 )
...
Amend/fix #2445 , #2696 , #3751 , #4377
ago%!(EXTRA string=4 years)
ocornut
f99fe72c42
Backends: Win32: Fixed keyboard modifiers being reported when host window doesn't have focus. ( #2622 )
ago%!(EXTRA string=4 years)
ocornut
80b5fb51ed
Backends: Win32, SDL, GLFW: only honor io.WantSetMousePos when focused + fix GLFW uninstalling handler + tweaks to reduce branch drift with docking. ( #787 , #2445 , #2696 , #3751 , #4377 )
...
# Conflicts:
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_sdl.cpp
# backends/imgui_impl_win32.cpp
ago%!(EXTRA string=4 years)
ocornut
2ad912bb85
Backends: Win32, SDL, GLFW: only honor io.WantSetMousePos when focused + fix GLFW uninstalling handler + tweaks to reduce branch drift with docking. ( #787 , #2445 , #2696 , #3751 , #4377 )
ago%!(EXTRA string=4 years)
ocornut
db686ad522
Backends: Win32: Mouse position is correctly reported when the host platform window is hovered but not focused. ( #2445 , #2696 , #3751 , #4377 )
ago%!(EXTRA string=4 years)
ocornut
327a5d8253
Fix warning + apply trailing whitespaces in stb_ libs (as applied on nothings/stb on 2020/02/02, facilitating further diffs)
ago%!(EXTRA string=4 years)
ocornut
cf2daf353e
Backends: Cleanup, removed unnecessary create/destroy wrappers. Fix allegro5 backend + use same code as other backend.
...
+ Update gallery links (#4280 )
ago%!(EXTRA string=4 years)
ocornut
23a15834fa
Fonts: Fix calling ClearTexData() (clearing CPU side font data) triggering an assert in NewFrame(). ( #3487 ) + Backends: added additional assert to facilitate detecting user understand they haven't initialized a backend.
ago%!(EXTRA string=4 years)
ocornut
4cec3a0467
Backends: support for multiple imgui context with little testing ( #586 , #1851 , #2004 , #3012 , #3934 , #4141 )
...
I believe more renderer backends should work. GLFW/Win32/SDL/Vulkan probably have many issues.
ago%!(EXTRA string=4 years)
ocornut
36a0d1028c
Backends: Viewports: renamed viewport storage structures ImGuiViewportDataXXXX -> ImGui_ImplXXXX_ViewportData and locals (matching naming convention in 70c60385
)
ago%!(EXTRA string=4 years)
ocornut
70c603854e
Backends: moved global to a data structure to facilitate support for multi-contexts. ( #586 , #1851 , #2004 , #3012 , #3934 , #4141 )
...
This is NOT enable multi-contexts for any backends
- in order to make this commit as harmless as possible, while containing all the cruft/renaming
-
ago%!(EXTRA string=4 years)
ocornut
95db098477
ImFontAtlas: move implicit AddFontDefault call to Build() function + remove unnecessary asserts in backend.
ago%!(EXTRA string=4 years)
ocornut
20d415e939
FIx static analysers warnings and disable false positives.
ago%!(EXTRA string=4 years)
ocornut
b66529fe3e
Backends: Win32: Rework to handle certains Windows 8.1/10 features without a manifest. ( #4200 , #4191 )
ago%!(EXTRA string=4 years)
ocornut
838c16533d
Backends: Comments.
ago%!(EXTRA string=4 years)
Jarhmander
7b8932554e
Backends: Win32: Change the case of XInput.h include, so it cross-compile nicely on unices. ( #4074 )
ago%!(EXTRA string=4 years)
ocornut
1491d2c916
Backends: Win32: Clearing keyboard down array when losing focus (WM_KILLFOCUS). ( #2062 , #3532 , #3961 )
ago%!(EXTRA string=4 years)
ocornut
412d6f7efe
Fixes zealous MSVC static analyzers warnings ( #3938 )
...
Other unfixed as I'm not happy with caving to false positives of every analyzers.
ago%!(EXTRA string=4 years)
Rokas Kupstys
0c5b0c8b97
Internals: Add a way to request window to not process any interactions for specified number of frames.
ago%!(EXTRA string=4 years)
ocornut
d5a4d53000
Viewports, Backend: SDL: Fix missing ImGuiBackendFlags_HasSetMousePos flag in docking branch (ok in master), GLFW: Fix application of WantSetMousePos. ( #1542 , #787 )
...
Shows how little this feature is used with nav (was designed for small devices and frankly may be dropped) - but the backend support itself we will make use of for other features.
ago%!(EXTRA string=4 years)
ocornut
8dd692c29c
Android: Amend backend and examples with minor consistency tweaks. ( #3446 )
ago%!(EXTRA string=4 years)
ocornut
c154629152
Backends: Win32: Added ImGui_ImplWin32_EnableAlphaCompositing() helper. ( #2766 , #3447 )
...
Pragma linking with dwmapi.lib (Vista-era, ~9 kb). MinGW users will need to link with -ldwmapi.
ago%!(EXTRA string=4 years)
ocornut
27a5bdb916
Backends: Win32: Fixed ImGui_ImplWin32_EnableDpiAwareness() attempting to get SetProcessDpiAwareness from shcore.dll on Windows 8 whereas it is only supported on Windows 8.1.
...
+ Added other helpers for reference (unused currently, other features will want them)
ago%!(EXTRA string=4 years)
Sammy Fatnassi
376c88a864
Fixed some compile warnings with Clang on Windows ( #3754 )
ago%!(EXTRA string=4 years)
ocornut
f139846750
Backends: Win32: dynamically load XInput library (amends) ( #3646 , #3645 , #3248 , #2716 )
ago%!(EXTRA string=4 years)
Kuanlan
633d1033af
Backends: Win32: dynamically load XInput library ( #3646 , #3645 , #3248 , #2716 )
ago%!(EXTRA string=4 years)
ocornut
f9b873662b
Backends: Win32: Fixed setting of io.DisplaySize to invalid/uninitialized data when after hwnd has been closed.
...
GetClientRect() fails on closed hwnd which left the rectangle uninitialized and copied to DisplaySize. Ensure it is zero + similar failsafe in io.WantSetMousePos path.
ago%!(EXTRA string=4 years)
ocornut
b1a18d82e3
Moving backends code from examples/ to backends/ (step 6: update markdown documentation)
ago%!(EXTRA string=5 years)
ocornut
d9b2fb7338
Moving backends code from examples/ to backends/ (step 1: moving source files)
ago%!(EXTRA string=5 years)
ocornut
124c2608f1
Docs: Renamed all occurences of "binding" and "back-end" to "backend" in comments and documentations, for consistency.
ago%!(EXTRA string=5 years)
Sven Balzer
42575d4a99
Viewports, Backends: Win32: Fix toggling of ImGuiViewportFlags_TopMost ( #3477 )
ago%!(EXTRA string=5 years)
Rokas Kupstys
0738611559
Misc: Bunch of code formatting changes suggested by a pass running 'astyle'
ago%!(EXTRA string=5 years)
Mark Jansen
6eb66fbef3
Backends: Win32: Cache the result of a windows version check. ( #3283 )
...
This is not expected to change while the application is running :)
ago%!(EXTRA string=5 years)
Chris Savoie
03ea87ea28
Backends, Win32: Request monitor update when dpi awarness is enabled to make sure they have the correct dpi settings.
ago%!(EXTRA string=5 years)
omar
11a3e75f47
Backends: Win32: Fix _WIN32_WINNT < 0x0600 (MinGW defaults to 0x502 == Windows 2003). ( #3183 )
ago%!(EXTRA string=5 years)
omar
37f665b619
Backends: Win32: Support for #define NOGDI, won't try to call GetDeviceCaps(). ( #3137 , #2327 )
ago%!(EXTRA string=5 years)
ocornut
1abb02fb67
Viewports: Fix for UWP on IME code moved back-end side ( #2895 , #2892 ) + Docking: Comments.
ago%!(EXTRA string=5 years)
ocornut
fbaf65b8f6
Revert "Viewports: Renamed UpdatePlatformWindows > PlatformWindowsUpdate, RenderPlatformWindowsDefault -> PlatformWindowsRender, DestroyPlatformWindows > PlatformWindowsDestroy ( #1542 )"
...
This reverts commit f2c7f3b200
.
ago%!(EXTRA string=5 years)
ocornut
f2c7f3b200
Viewports: Renamed UpdatePlatformWindows > PlatformWindowsUpdate, RenderPlatformWindowsDefault -> PlatformWindowsRender, DestroyPlatformWindows > PlatformWindowsDestroy ( #1542 )
ago%!(EXTRA string=5 years)
ocornut
a41332453e
Unicode: Changelog, comments, minimum CI integration. ( #2541 , #2538 , #2815 )
ago%!(EXTRA string=5 years)
Cloud Wu
6d59653e82
Unicode: full Unicode Support (6 squashed commits) ( #2541 , #2538 )
...
fix build for WideCharToMultiByte
[3181ff1e] Full Unicode Support
[6c9e73ac] Fix ImTextCountUtf8BytesFromChar and ImTextCharToUtf8, these APIs assume the input is an unicode code point, not UTF-16
[ba85665b] Add AddInputCharacterUTF16 for windows backend to handle WM_CHAR
[fafdcaf0] Use Windows API to convert UTF-16 for ImFileOpen
[dc7d5925] Use windows API to convert UTF-16 for clipboard
ago%!(EXTRA string=5 years)
Omar
ceec3cd3fd
Backends: Win32: Added ImGui_ImplWin32_EnableDpiAwareness(), ImGui_ImplWin32_GetDpiScaleForHwnd(), ImGui_ImplWin32_GetDpiScaleForMonitor() helpers functions.
...
(backported from the docking branch)
ago%!(EXTRA string=5 years)
Omar
8601187fee
Backends: Win32: Clarify how the WndProc handler requires a forward declaration.
ago%!(EXTRA string=5 years)