Commit Graph

82 Commits

Author SHA1 Message Date
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
Tristan de Cacqueray
2fbe257c24
Wrap ImGui::SliderFloat() (#9)
Co-authored-by: Ollie Charles <ollie@ocharles.org.uk>
2021-01-25 19:04:43 +00:00
Ollie Charles
3185bf5e90
Add GitHub actions (#8) 2021-01-25 18:26:27 +00:00
Ollie Charles
e5c20de7de Add Hacking and Getting Help to the README 2021-01-25 17:53:59 +00:00
Tim Pierson
7ffa180ad8
Add Haskell.nix and use it to provide a shell.nix (#3) 2021-01-25 16:47:56 +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
o1lo01ol1o
f632e99500 add string formatter 2021-01-25 13:39:23 +00:00
kamoii
76ea3f80ec Rename cabal file name to dear-imagui.cabal to match pacakge name 2021-01-25 11:40:28 +00:00
Oliver Charles
fca2e9fbff Update the README with the demo window and a screenshot 2021-01-25 09:18:13 +00:00
Oliver Charles
c41eae7817 Fix documentation of colorButton 2021-01-25 09:12:10 +00:00
Oliver Charles
4586f30eb2 Wrap @ImGui::ColorPicker3()@ 2021-01-25 09:11:46 +00:00
Oliver Charles
774ef945e6 Fixes for DearImGui.Context 2021-01-25 08:55:47 +00:00
Oliver Charles
d382b6460f Stubbing out ImGui::ColorButton() and ImVec4 2021-01-24 20:46:01 +00:00
Oliver Charles
ecab9d37a2 Basic wrapper for plotHistogram 2021-01-24 20:27:28 +00:00
Oliver Charles
ff989ba403 Remove a redundant openGL2Init 2021-01-24 19:51:36 +00:00
Oliver Charles
8aa16895bf Add a README 2021-01-24 19:51:36 +00:00
sheaf
bbef66b202 add cabal flags for backend selection 2021-01-24 19:06:36 +00:00
Ollie Charles
3c3646a645 Wrap ImGui::Begin/EndTooltip() 2021-01-24 17:39:44 +00:00
Ollie Charles
4ca9a3d38f Wrap ImGui::IsItemHovered() 2021-01-24 17:39:35 +00:00
Ollie Charles
93b729dae3 Wrap ImGui popups 2021-01-24 17:35:00 +00:00
Ollie Charles
c4d54a6e36 Wrap ImGui::Separator() 2021-01-24 17:00:25 +00:00
Ollie Charles
85c6f34054 Wrap ImGui::SameLine() 2021-01-24 16:58:52 +00:00
Ollie Charles
bfa31b53a2 Fix event handling in demo 2021-01-24 16:49:38 +00:00
Ollie Charles
bc4b74cfea Wrap menu support 2021-01-24 16:49:28 +00:00
Ollie Charles
4f9a552a32 Move everything to MonadIO 2021-01-24 16:34:36 +00:00
Ollie Charles
aa681fb77d Wrap ImGui::BeginCombo(), EndCombo(), Selectable() 2021-01-24 16:14:51 +00:00
Ollie Charles
5a1f5c78ec Wrap ImGui::ProgressBar() 2021-01-24 16:03:18 +00:00
Ollie Charles
1bd51ab35e Wrap ImGui::Bullet() 2021-01-24 15:57:17 +00:00
Ollie Charles
90d96ad938 Wrap ImGui::Checkbox() 2021-01-24 15:57:17 +00:00
Ollie Charles
0fb690d832 Wrap ImGui::ArrowButton() 2021-01-24 15:57:17 +00:00
Oliver Charles
4398950053 Initial work 2021-01-24 15:27:03 +00:00
Ollie Charles
e2a9ec3676
Initial commit 2021-01-24 15:25:52 +00:00