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