func New() *Imp { // x := new(Imp) x.Imp = mol.New() a := atom.New(pers.New()) a.SetFormat(pers.LongTB) a.SetColours(col.Yellow, col.Black) x.Ins(a, 0, 0) a = atom.New(addr.New()) a.SetColours(col.LightGreen, col.Black) x.Ins(a, 2, 0) return x }
func New() *Imp { // x := new(Imp) x.Imp = mol.New() a := atom.New(enum.New(enum.Composer)) a.SetColours(col.Yellow, col.Black) x.Ins(a, 0, 11) a = atom.New(text.New(lenWerk)) a.SetColours(col.LightRed, col.Black) x.Ins(a, 1, 11) a = atom.New(text.New(lenOrch)) // Orchester x.Ins(a, 2, 11) a = atom.New(text.New(lenName)) // Dirigent a.SetColours(col.Cyan, col.Black) x.Ins(a, 3, 11) a = atom.New(text.New(lenName)) // Solist a.SetColours(col.LightBlue, col.Black) x.Ins(a, 4, 11) a = atom.New(text.New(lenName)) // Solist a.SetColours(col.LightBlue, col.Black) x.Ins(a, 5, 11) a = atom.New(enum.New(enum.RecordLabel)) a.SetColours(col.LightCyan, col.Black) x.Ins(a, 6, 11) a = atom.New(enum.New(enum.AudioMedium)) x.Ins(a, 7, 11) a = atom.New(enum.New(enum.SparsCode)) x.Ins(a, 8, 11) var m *masks.Imp = masks.New() m.Ins("Komponist:", 0, 0) m.Ins(" Werk:", 1, 0) m.Ins("Orchester:", 2, 0) m.Ins(" Dirigent:", 3, 0) m.Ins(" Solist 1:", 4, 0) m.Ins(" Solist 2:", 5, 0) m.Ins(" Firma:", 6, 0) m.Ins(" Platte:", 7, 0) m.Ins(" ad:", 8, 0) x.SetMask(m) return x }