diff options
| author | Jeff Carr <[email protected]> | 2024-01-06 13:55:46 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-06 13:55:46 -0600 |
| commit | 398d9fe3c44bdc8832fbf290beea7b6d13538f4b (patch) | |
| tree | d02cebf598aef028ba24a37d9d93f38364c144a3 /gui.go | |
| parent | b7c90c8bbccb5eb15a06bc6a370074c756d698ff (diff) | |
works in sierpinski carpet mode
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'gui.go')
| -rw-r--r-- | gui.go | 16 |
1 files changed, 7 insertions, 9 deletions
@@ -228,21 +228,19 @@ func mainWindow(title string) { }) gr.NewButton("linuxstatus.New()", func () { me.statusOS = linuxstatus.New() - }) - gr.NewButton("SetParent()", func () { me.statusOS.SetParent(me.myGui) - }) - gr.NewButton("InitWindow()", func () { me.statusOS.InitWindow() }) - gr.NewButton("statusOS.Draw()", func () { - me.statusOS.Draw() + gr.NewButton("statusOS.Ready()", func () { + me.statusOS.Ready() }) - gr.NewButton("statusOS.Draw2()", func () { + gr.NewButton("statusOS.Make()", func () { + me.statusOS.Make() me.statusOS.Draw2() }) - gr.NewButton("statusOS.Ready()", func () { - me.statusOS.Ready() + gr.NewButton("statusOS.Draw()", func () { + me.statusOS.Draw() + me.statusOS.Draw2() }) gr.NewButton("statusOS.Update()", func () { me.statusOS.Update() |
