Alexander Bondarenko
3c1d381c14
Replace String arguments with Text ( #138 )
...
Shave a few allocations and pointer-chasing due to conversion.
2022-05-15 22:41:10 +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
c7a694bce8
Add remaining BeginChild arguments as required ( #93 )
...
Old behaviour with all default arguments is a special case to run
some action scoped to a different child window.
This now handled by `beginChildContext`/`withChildContext`.
2021-09-12 10:28:48 +00:00
jpwidera
08b3139477
Remove seg faults ( #87 )
...
* Removed double OpenGl3Shutdown, leading to a segmentation fault in Main.hs.
* Changed nullPtr passing with Maybe to use DearImGui default arguments.
2021-09-11 10:00:08 +00:00
Alexander Bondarenko
f49e81c739
Fix warnings ( #79 )
2021-08-30 17:08:23 +00:00
Alexander Bondarenko
5699f64e95
Bump imgui to 1.84.2 ( #78 )
2021-08-30 19:57:00 +03:00
Ollie Charles
f9412effde
Wrap the OpenGL 3 backend ( #20 )
2021-02-06 14:44:58 +00:00
sheaf
ac74572121
Add tab bar functions ( #30 )
2021-02-06 13:26:28 +00:00
Tim Pierson
de0e87612c
Add setNextWindow functions, pushColor, pushStyle, indent-related functions ( #27 )
2021-02-05 23:46:48 +00:00
Shaun Sharples
643d2ea5b7
Add combo to wrap ImGUI::Combo() ( #28 )
...
Co-authored-by: Oliver Charles <ollie@ocharles.org.uk>
2021-02-05 21:20:32 +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
Ollie Charles
bb82e87553
Wrap ImGui::TreeNode, TreePush, TreePop ( #24 )
2021-01-28 23:28:45 +00:00
Ollie Charles
24903ce76f
Implement ImGui::DragFloat{,2,3,4} ( #23 )
2021-01-28 23:10:58 +00:00
Ollie Charles
f24a4b78ab
Implement ImGui::SliderFloat2,3,4 ( #22 )
2021-01-28 23:02:04 +00:00
Ollie Charles
63bb63a32e
Wrap ImGui::BeginChild and EndChild ( #21 )
2021-01-28 22:38:25 +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
Oliver Charles
4586f30eb2
Wrap @ImGui::ColorPicker3()@
2021-01-25 09:11:46 +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
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
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
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
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