dear-imgui-impl-sdl2: SDL2 platform backend bindings for dear-imgui-raw.

[ bsd3, gui, library ] [ Propose Tags ] [ Report a vulnerability ]

Generated with dear_bindings from the imgui_impl_sdl2 backend that ships with Dear ImGui.


[Skip to Readme]

Modules

  • DearImGui
    • Impl
      • DearImGui.Impl.SDL2
    • Raw
      • Impl
        • DearImGui.Raw.Impl.SDL2
          • Enums
            • DearImGui.Raw.Impl.SDL2.Enums.ImGui_ImplSDL2_GamepadMode
            • DearImGui.Raw.Impl.SDL2.Enums.ImGui_ImplSDL2_MouseCaptureMode

Flags

Manual Flags

NameDescriptionDefault
sdl2

Bridge module DearImGui.Impl.SDL2 over the sdl2 Window, GLContext and Renderer types.

Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0.0
Change log CHANGELOG.md
Dependencies base (>=4.16 && <5), dear-imgui-raw (>=1.0 && <1.1), sdl2 (>=2.5.6.1), unliftio-core [details]
License BSD-3-Clause
Author
Maintainer IC Rainbow <aenor.realm@gmail.com>
Uploaded by AlexanderBondarenko at 2026-11-09T22:56:37Z
Category GUI
Distributions
Downloads 2 total (2 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2026-11-10 [all 1 reports]

Readme for dear-imgui-impl-sdl2-1.0.0

[back to package description]

dear-imgui-impl-sdl2

Platform backend for Dear ImGui on SDL2 windows. Pair it with a renderer backend.

import DearImGui.Impl.SDL2 qualified as ImplSDL2
import SDL qualified

quitRequested :: IO Bool
quitRequested = any ((== SDL.QuitEvent) . SDL.eventPayload) <$> ImplSDL2.pollEvents