scribam
4236bc088f
Backends: SDL2: use SDL_Vulkan_GetDrawableSize with Vulkan instead of SDL_GL_GetDrawableSize. ( #7967 , #3190 )
2 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
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
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
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
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
3f9a90e2a3
Docs: added extraneous link to Getting Started section.
3 months ago
Cyao
fe09ebbe0a
Backends: OpenGL3: Fixed unsupported option warning with apple clang ( #7810 )
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
f8de9fec8c
Backends: SDL3: Update for SDL_SYSTEM_CURSOR_xxx api renames. ( #7653 )
5 months ago
Michal Šlesár
4c3eac2c10
Backends: OpenGL3: Fixed zealous warning by initializing last_pixel_unpack_buffer. ( #7614 )
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
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
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
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