Closed Eggiverse closed 4 years ago
we can extend these functions for Window
.
Base.isopen
Base.open
Base.close
we can extend these functions for
Window
.Base.isopen Base.open Base.close
If we do this for Window
, perhaps we should do this for Popup
as well.
there's CImGui.OpenPopup
and not exists the CImGui.ClosePopup
.
but could be allowing open(popup)
.
I improved the logic of closing window and add two exported functions:
OpenWindow
andCloseWindow
.An example is added how they work.