Commit Graph

34 Commits

Author SHA1 Message Date
Mikhail Chekan
bb94341ad5
Extended font & glyph support (#114)
* Separate font utils, add glyph support (#113)
* Implement font glyph ranges builder
* Implement raw font config binds
* Implement font atlas module
* Rewrite font altas rebuilder in Managed
2021-12-22 13:28:46 +03:00
Alexander Bondarenko
13e68242a1
Update unordered-containers upper limit (#117) 2021-12-19 18:25:11 +03:00
Alexander Bondarenko
3087a99044
Allow megaparsec 9.2 (#112)
Closes #106
2021-10-30 18:57:15 +00:00
Alexander Bondarenko
f74cd218c5
Bump imgui to 1.85 (#111)
Closes #110
2021-10-30 18:49:39 +00:00
Alexander Bondarenko
a2c0c0658e
Remove library options preventing hackage upload (#108) 2021-10-04 18:41:07 +00:00
Alexander Bondarenko
21ce5cabd8
Add ImGuiIO basics (#107) 2021-10-04 17:29:32 +00:00
jpwidera
8db9ddec2f
Added compiler flags stanzas. (#105) 2021-09-21 15:14:37 +03:00
jpwidera
4ecf62ac9e
Implement ImGuiListClipper (#100)
* Added DearImGui.Raw.ImGuiListClipper
* Added the DearImGui.withListClipper bracket
* Added dependency for `vector`
* Added the test in the Main.hs
2021-09-17 11:09:22 +03:00
Alexander Bondarenko
8ee82476dc
Add raw DrawList bindings (#99) 2021-09-15 08:52:00 +03:00
Alexander Bondarenko
97825e49f2
Prepare 1.2.0 (#98) 2021-09-12 19:46:05 +03:00
Alexander Bondarenko
88326420b8
Tidy up image example (#96) 2021-09-12 11:56:43 +00:00
jpwidera
f3b85899f2
Added image wrapper (#74)
Raw.image and sdl2/gl example "image"

Wrappers should be backend-specific due to different handling of `userTextureIDPtr`.
2021-09-12 10:35:03 +00:00
Ollie Charles
84a6b8a8fe
Allow parser-combinators-1.4 (#85) 2021-09-08 13:10:39 +01:00
Alexander Bondarenko
d3a0396623
Add GLFW callbacks (#81)
Closes #80
2021-09-01 19:22:55 +03:00
Alexander Bondarenko
5699f64e95
Bump imgui to 1.84.2 (#78) 2021-08-30 19:57:00 +03:00
Alexander Bondarenko
9e5b39850e
Prepare 1.0.2 (#77) 2021-08-30 19:20:26 +03:00
Alexander Bondarenko
bfe8453891
Fix missing headers in source dist (#71)
Fixes #50 again
2021-06-30 22:33:00 +00:00
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