mirror of
https://github.com/Drezil/dear-imgui.hs.git
synced 2025-11-12 11:01:05 +01:00
Wrap ImGui::BeginChild and EndChild (#21)
This commit is contained in:
4
Main.hs
4
Main.hs
@@ -78,11 +78,15 @@ loop w checked color slider = do
|
||||
|
||||
progressBar 0.314 (Just "Pi")
|
||||
|
||||
beginChild "Child"
|
||||
|
||||
beginCombo "Label" "Preview" >>= whenTrue do
|
||||
selectable "Testing 1"
|
||||
selectable "Testing 2"
|
||||
endCombo
|
||||
|
||||
endChild
|
||||
|
||||
plotHistogram "A histogram" [ 10, 10, 20, 30, 90 ]
|
||||
|
||||
colorPicker3 "Test" color
|
||||
|
||||
Reference in New Issue
Block a user