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`.
This commit is contained in:
Alexander Bondarenko
2021-09-12 13:28:48 +03:00
committed by GitHub
parent c219f8eb4f
commit c7a694bce8
3 changed files with 83 additions and 18 deletions

View File

@ -120,7 +120,7 @@ loop window checked color slider r pos size' selected tab1Ref tab2Ref = do
progressBar 0.314 (Just "Pi")
beginChild "Child"
beginChild "Child" (ImVec2 0 0) True ImGuiWindowFlags_None
beginCombo "Label" "Preview" >>= whenTrue do
selectable "Testing 1"