drafting preset explorer

This commit is contained in:
5684185+vsariola@users.noreply.github.com
2025-10-15 12:19:25 +03:00
parent 3f365707c2
commit 57aef3bed3
10 changed files with 274 additions and 190 deletions

View File

@ -36,14 +36,14 @@ type (
RecoveryFilePath string
ChangedSinceRecovery bool
SendSource int
InstrumentTab InstrumentTab
}
Model struct {
d modelData
derived derivedModelData
instrEnlarged bool
commentExpanded bool
instrEnlarged bool
prevUndoKind string
undoSkipCounter int
@ -129,6 +129,8 @@ type (
String() string
Open() error
}
InstrumentTab int
)
const (
@ -161,6 +163,12 @@ const (
License
)
const (
InstrumentEditorTab InstrumentTab = iota
InstrumentPresetsTab
InstrumentCommentTab
)
const maxUndo = 64
func (m *Model) PlayPosition() sointu.SongPos { return m.playerStatus.SongPos }