ocornut
6af9ac29ec
Backends: SDL3: following SDL3 reverting their change, result of SDL_GetDisplays() must be freed. ( #7809 )
Reverts 271910e
2 months ago
ocornut
4832027eb6
Examples: SDL3: Update for API changes: SDL_Init() returns 0 on failure.
2 months ago
Matt Guerrette
6a7319543c
Backends: SDL3: following SDL3 reverting their change, result of SDL_GetGamepads must be freed. ( #7918 , #7898 , #7807 )
2 months ago
ocornut
214977e5fd
IO: (BREAKING) moved io.GetClipboardTextFn, io.SetClipboardTextFn to platform_io.Platform_GetClipboardTextFn, platform_io.Platform_SetClipboardTextFn.
3 months ago
ocornut
9ff60ae31d
IO: (BREAKING) moved GetIO().PlatformSetImeDataFn to GetPlatformIO(.Platform_SetImeDataFn. ( #7660 )
3 months ago
ocornut
ea01c63e36
Backends: SDL2, SDL3: amend filtering logic for it to work with multi-viewports. ( #7853 )
3 months ago
ocornut
2d99052d1d
Backends: SDL2, SDL3: storing SDL_WindowID inside ImGuiViewport::PlatformHandle instead of SDL_Window*. ( #7853 )
This will be used to support filtering of events with multi-viewports.
3 months ago
ocornut
1b61d55079
Backends: SDL2, SDL3: ignore events of other SDL windows, amends + wrapping into a function as it'll be convenient for multi-viewport check. ( #7853 )
+ Misc typo fix.
3 months ago
Anonymous Maarten
591a18a9c4
Backends: SDL2, SDL3: ignore events of other SDL windows. ( #7853 )
3 months ago
ocornut
65840c19c4
Backends: SDL2, SDL3, Win32: don't submit monitor with 0 DpiScale (e.g. accessibility virtual monitor?). to prevent assert. ( #7902 )
I am not too confident on this but I believe pushing this is the fastest way we will get feedback.
3 months ago
RT2
fa65dcf24c
Backends: SDL2, SDL3: Replace Win32 hack with SDL_HINT_WINDOW_ACTIVATE_WHEN_SHOWN hint. ( #7896 )
3 months ago
ocornut
271910e349
Backends: SDL3: Update for API changes: SDL_GetDisplays() memory ownership change. ( #7809 )
4 months ago
ocornut
eb72b5a8ee
Backends: SDL3: Update for API changes: SDL_GetGamepads() memory ownership change. ( #7807 )
4 months ago
ocornut
c2d21ab04f
Backends: SDL3: Update for API changes: SDL_GetClipboardText() string ownership change. ( #7801 )
4 months ago
ocornut
9c2f6003e4
Backends: SDL3: fixed typo leading to PlatformHandleRaw not being set leading to SHOWNA path not working for multi-viewports.
4 months ago
wermi
df3a74389e
Backends: SDL3: Update for API changes: SDL_GetProperty() change to SDL_GetPointerProperty(). ( #7794 )
4 months ago
ocornut
fb799bba7f
(Breaking) IO, IME: renamed platform IME hook io.SetPlatformImeDataFn() -> io.PlatformSetImeDataFn() and added explicit context.
4 months ago
ocornut
ae708e3bcd
Backends: SDL3: add default case to fix warnings. ( #7763 )
4 months ago
ocornut
a489585f84
Backends: SDL3: Updated comments (IME seems fixed in SDL3). Added SDL3 examples to Visual Studio solution.
4 months ago
ocornut
12f92518bc
Backends: SDL3: Update for API changes: SDLK_x renames and SDLK_KP_x removals ( #7761 , #7762 )
Also updated function signature in SDL2 backend to match and because it is expected we will use that data (as per #7672 )
4 months ago
Max Ortner
ccf3ee674a
Backends: SDL3: update for SDL_SetTextInputRect() -> SDL_SetTextInputArea() api change. ( #7760 , #7754 )
4 months ago
ocornut
7c2476986b
Backends: SDL3: Update for SDL_StartTextInput()/SDL_StopTextInput() API changes. ( #7735 )
4 months ago
ocornut
32f9dfc126
Viewports: Backported 'void* ImGuiViewport::PlatformHandle' from docking branch for use by backends.
4 months ago
Gary Geng
48e7e7bfe8
Backends: SDL3: Follow SDL3 removal of keysym field in SDL_KeyboardEvent ( #7729 )
5 months ago
bcsanches
64a82d73c9
Backends: SDL3: Update for introduction of SDL_GLContext from void*. ( #7701 , #7702 )
5 months ago
ocornut
f8de9fec8c
Backends: SDL3: Update for SDL_SYSTEM_CURSOR_xxx api renames. ( #7653 )
5 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
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
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
Green Sky
fab96a6e59
Backends: SDL3: Re-enable calling SDL_StartTextInput()/SDL_StopTextInput(). ( #7452 , #6306 , #6071 , #1953 )
Amend: a7703fe
7 months ago
Robert Edmonds
da29b776ee
Backends: SDL3: Fix leak of SDL_GetGamepads() return value ( #7381 )
8 months ago
ocornut
77dff5a735
Backends: comments.
8 months ago
ocornut
891b81fc5d
Backends: SDL3: Fixed gamepad. Added support for disconnection. Added support for multiple gamepads. Added ImGui_ImplSDL3_SetGamepadMode(). ( #7180 , #3884 , #6559 , #6890 )
9 months ago
ocornut
fd8d6dc5d1
Backends: SDL2,SDL3: tidying up.
9 months ago
ocornut
c6ec69c7c1
Using nullptr in remaining examples/backends locations. ( #6313 , #7071 , #4537 )
11 months ago
ocornut
3733b5064e
Backends: SDL3: Fixed unused variable warning on master on some targets. ( #7000 )
12 months ago
ocornut
0941adc931
Backends: SDL3: Updates for recent API changes. ( #7000 ) (w/ multi-viewports version)
# Conflicts:
# backends/imgui_impl_sdl3.cpp
12 months ago
ocornut
add915bdc4
Backends: SDL3: Updates for recent API changes. ( #7000 )
12 months ago
Luca Lolli
04e9a2fac1
Backends: SDL3: rename SDL_EVENT_DISPLAY ( #6974 )
SDL3 display events have been renamed
1 year ago
ocornut
001f102f38
IO, Backends: added ImGuiKey_AppBack, ImGuiKey_AppForward. ( #6891 , #4921 )
1 year ago
ocornut
b0758c86d8
Backends: Added support for extra ImGuiKey values: F13 to F24 function keys. ( #6891 , #4921 )
1 year ago
ocornut
357f752bed
Docs: add more links to the top of every examples and backends files.
1 year ago
ocornut
475453668d
Backends: SDL2/SDL3: Fixed bad merge in docking branch ( #6735 )
1 year ago
ocornut
162f8e01aa
Backends: SDL3: fixed typo in 1e17d59
( #6735 )
1 year ago
ocornut
1e17d59965
Backends: SDL2,SDL3: added ImGui_ImplSDL2_InitForOther() / ImGui_ImplSDL3_InitForOther().
e.g. WebGPU users use a similarly named functions from GLFW backend.
1 year ago
ocornut
33e13c85e1
Backends: Made all backends sources files support global IMGUI_DISABLE. ( #6601 )
1 year ago
ohthesetrees
8566fec661
Backends: SDL3: Changing SDL_WINDOW_SKIP_TASKBAR to SDL_WINDOW_UTILITY for SDL3 ( #6573 )
1 year ago
Luca Lolli
8fd0a04135
Backends: SDL3: Fix backend in docking/multi-viewports branch. ( #6483 )
The definition has been renamed to SDL_EVENT_DISPLAY_CONTENT_SCALE_CHANGED.
Display scale is no longer available in SDL_DisplayMode but can be retrieved using SDL_GetDisplayContentScale.
1 year ago
ocornut
5dc6013713
Backends: SDL3: Fixed build on Emscripten/iOS/Android. ( #6391 )
2 years ago