Add work and recording detail screens

This commit is contained in:
Elias Projahn 2020-10-10 13:55:14 +02:00
parent cca722dcba
commit d741f463f5
4 changed files with 657 additions and 382 deletions

View file

@ -24,6 +24,12 @@ pub struct WorkDescription {
pub sections: Vec<WorkSectionDescription>,
}
impl WorkDescription {
pub fn get_title(&self) -> String {
format!("{}: {}", self.composer.name_fl(), self.title)
}
}
#[derive(Debug, Clone)]
pub struct WorkPartInsertion {
pub part: WorkPart,