Alexander Bondarenko
532eebd8ed
Prepare Hackage release ( #70 )
2021-07-01 00:47:23 +03:00
sheaf
c4f3a1e0b9
Update all flags to allow setting them manually ( #64 )
2021-06-20 20:24:22 +03:00
Alexander Bondarenko
ff267143d0
Bump deps ( #62 )
2021-06-15 21:52:39 +00:00
Alexander Bondarenko
8723ac2625
Add withXxx and withXxxOpen wrappers for begin/end pairs ( #49 )
...
Adds dependency on unliftio for monad-preserving brackets.
Fixes #32
2021-04-18 13:10:20 +03:00
Alexander Bondarenko
5634b6f67d
Extract raw C bindings ( #44 )
...
The original DearImGui interface hasn't changed.
2021-04-05 20:16:09 +03:00
Tristan de Cacqueray
3949882060
Disable build-depends when not building executables ( #43 )
...
This change follows up on https://github.com/haskell-game/dear-imgui.hs/pull/41
where it seems like cabal still need the examples dependency even when they are
not buildable, e.g.: `next goal: vulkan-utils (dependency of dear-imgui)` with
cabal-install version 3.2.0.0.
2021-03-12 15:39:24 +00:00
Alexander Bondarenko
ebd5286e1c
Build executables conditionally on features ( #41 )
...
* Build executables conditionally on features
* Put away examples under a flag
2021-03-11 22:59:57 +00:00
sheaf
d4aec47f4e
Handle remaining enums ( #36 )
...
This handles the remaining enum types in the headers that aren't in the enums section.
It also automatically handles adding all the enumerations to the inline-c context types table, and a small improvement to the display of parse error messages.
2021-02-07 23:07:14 +00:00
sheaf
921aefdd69
Allow building of OpenGL3 component on Windows/Darwin ( #35 )
2021-02-06 21:19:56 +00:00
Ollie Charles
f9412effde
Wrap the OpenGL 3 backend ( #20 )
2021-02-06 14:44:58 +00:00
Shaun Sharples
d7686f84e4
Add support for GLFW ( #26 )
...
Co-authored-by: Oliver Charles <ollie@ocharles.org.uk>
2021-02-05 21:44:52 +00:00
sheaf
895f5c1926
Parse enums from headers & generate code ( #19 )
2021-02-05 20:57:17 +00:00
Ollie Charles
af49a7b3fb
Wrap ImGui::ListBox() ( #25 )
2021-01-28 23:38:59 +00:00
sheaf
0b86356a49
Vulkan backend ( #2 )
...
This commit adds the Vulkan backend and SDL2 integration, and provides the `vulkan` example project.
2021-01-26 20:45:21 +00:00
sheaf
e220775b21
Fix conditional in cabal file ( #12 )
...
The if conditionals were incorrectly nested, which caused a problem with OpenGL on Windows.
2021-01-26 11:01:41 +00:00
Tim Pierson
76f9a316b7
Fixes to make Darwin work ( #7 )
...
`extra-libraries: sdl2` needs to be `extra-libraries: SDL2`, and we need a dependency on `OpenGL`.
2021-01-25 16:42:31 +00:00
kamoii
76ea3f80ec
Rename cabal file name to dear-imagui.cabal to match pacakge name
2021-01-25 11:40:28 +00:00