add controller logic for visualizations and add to gear menu

This commit is contained in:
Drew Weymouth
2024-07-22 18:16:18 -07:00
parent 0b3687a2ff
commit 9d0b381572
6 changed files with 87 additions and 44 deletions
-9
View File
@@ -74,15 +74,6 @@ func main() {
}
}()
myApp.LocalPlayer.SetPeaksEnabled(true)
peaks := fyneApp.NewWindow("Peak meter")
meter := ui.NewPeakMeter(myApp.LocalPlayer.GetPeaks)
peaks.SetContent(meter)
meter.Start()
peaks.Show()
mainWindow.ShowAndRun()
log.Println("Running shutdown tasks...")