ocornut
bbf2cd28b1
WIP Backends: SDLRenderer3: transform vertices manually.
6 months ago
ocornut
8d5c79096f
WIP Backends: SDLRenderer3: adding support for multi-viewports. (broken: see 2 FIXMES)
6 months ago
Yan Pujante
30dcdcbe73
Backends: GLFW: Emscripten: use OpenURL() when available and using EMSCRIPTEN_USE_PORT_CONTRIB_GLFW3. Fixes popup blocked in some browsers. ( #7915 , #7660 )
3 months ago
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
8b37da74db
Backends: GLFW: undo accidentally not committing use of Platform_SetClipboardTextFn as I was testing the legacy path (amend 214977e
).
3 months ago
ocornut
d15da2c47d
Backends: GLFW: undo accidentally not committing use of Platform_SetClipboardTextFn as I was testing the legacy path (amend 214977e
).
3 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
ba2f4a2cd5
IO: (BREAKING) moved GetIO().PlatformOpenInShellFn to GetPlatformIO(.Platform_OpenInShellFn. ( #7660 )
3 months ago
ocornut
8e40104795
Backends: GLFW: passing null window to glfwGetClipboardString()/glfwSetClipboardString().
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
Nicolas Noble
fbafc33376
Backends: GLFW: don't submit monitor with 0 DpiScale (e.g. accessibility virtual monitor?). to prevent assert. ( #7902 )
3 months ago
ocornut
71ee2ce367
Examples: GLFW: rework examples main loop to handle minimization without burning CPU or GPU by running unthrottled code. ( #7844 )
Backends: GLFW: added ImGui_ImplGlfw_Sleep() helper.
3 months ago
ocornut
e212511047
Backends: Vulkan: ImGui_ImplVulkan_SwapBuffers() still proceeds increasing counts on VK_SUBOPTIMAL_KHR. ( #7825 , #3881 )
Amend 085cff2f
3 months ago
ocornut
3f9a90e2a3
Docs: added extraneous link to Getting Started section.
3 months ago
chenqiudu
aa0f6b37bd
Backends: OSX: fixed NSAppKitVersion version limit for setWantsBestResolutionOpenGLSurface usage. ( #7814 )
4 months ago
Cyao
fe09ebbe0a
Backends: OpenGL3: Fixed unsupported option warning with apple clang ( #7810 )
4 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
a8e96ae21a
Backends: GLFW+Emscripten: Fixed build ( #7647 )
4 months ago
Yan Pujante
2937339c17
Backends: GLFW+Emscripten: Added support for GLFW3 contrib port. ( #7647 )
4 months ago
Yan Pujante
6816789a6b
Backends: GLFW+Emscripten: (Breaking) Renamed ImGui_ImplGlfw_InstallEmscriptenCanvasResizeCallback() to ImGui_ImplGlfw_InstallEmscriptenCallbacks(), added GLFWwindow* parameter. ( #7647 , #7600 )
+ Fixed Emscripten warning when using mouse wheel on some setups.
4 months ago
Aemony
9504068f66
Backends: Win32: fixed ImGuiMod_Super being mapped to VK_APPS instead of VK_LWIN||VK_RWIN ( #7768 , #4858 , #2622 )
Amend 075576744
The `ImGui_ImplWin32_UpdateKeyModifiers()` function maps `ImGuiMod_Super` to `VK_APPS`, the "Application" key located between the Right Windows (Super) and Right Control keys on the keyboard, see https://conemu.github.io/en/AppsKey.html
This means that when using `ImGui::GetIO().KeySuper` to try to get the down state of the `VK_RWIN` or `VK_LWIN` keys, it'll always return FALSE when either of those keys are held down, and only return TRUE when `VK_APPS` is held down.
4 months ago
ocornut
0ebf49b4c1
IO: amend PlatformOpenInShellFn specs to return a bool. ( #7660 )
Amend 8f36798
4 months ago
ocornut
380b3559c6
Backends: GLFW,SDL2: Added ioPlatformOpenInShellFn handler for web/Emscripten versions. ( #7660 )
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
751bbf38ba
Backends: SDLRenderer3: Update for SDL_RenderGeometryRaw() API changes.
4 months ago
Connor Clark
f2c07ed717
Backends: Allegro5: Correctly handle unstable bit in version checks ( #7755 )
4 months ago
ocornut
c7df9c7121
Backends: Win32: Fixed warning with old MinGW/GCC versions.
4 months ago
ocornut
404af57004
Backends: OpenGL2, OpenGL3: ImGui_ImplOpenGL3_NewFrame() recreates font texture if it has been destroyed by ImGui_ImplOpenGL3_DestroyFontsTexture(). ( #7748 )
Analogous to change to Vulkan backend in 1.90.
4 months ago
ocornut
0c2650e833
Backends: OSX: build fix. Amend 32f9dfc
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
Martin Ejdestig
a18fb406ac
Backends: Vulkan: Remove Volk/ from volk.h #include directives ( #7722 , #6582 , #4854 )
5 months ago
Gary Geng
48e7e7bfe8
Backends: SDL3: Follow SDL3 removal of keysym field in SDL_KeyboardEvent ( #7729 )
5 months ago
ocornut
416cfdb99d
Backends: Win32: Secondary viewports WndProc handler retrieve/set imgui context from the HWND.
Allowing WndProc dispatch to work in multi-context setups.
5 months ago