ui/app,apps: unexport ChangeStage and Stage

I'm not convinced the API is right. For exmaple, an event that
notifies a program when to save its state is both smaller and
might be sufficient.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-05-11 13:50:18 +02:00
parent 314c79a725
commit f9840b0963
8 changed files with 57 additions and 62 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ func createWindow(opts *WindowOptions) error {
w.w = newWindow(w)
go func() {
windows <- w.w
w.w.event(ChangeStage{StageVisible})
w.w.event(changeStage{stageVisible})
w.draw(true)
select {}
w.cleanup()