2 simplestaff.hh -- part of LilyPond
4 (c) 1996 Han-Wen Nienhuys
16 mega-stupido staffs and cols: they do notes one at each moment.
21 /// column of Simple_staff: store one request
22 struct Simple_column : Staff_column {
24 svec<Rhythmic_req *> notes;
25 svec<Slur_req *> slurs;
32 Slur_req * find_slur(Voice *);
33 void typeset_item(Item *, int=1);
34 void typeset_item_directional(Item *, int dir, int=1);
36 Molecule *create_command_mol(Command *com);
38 void take_request(Request *rq);
39 virtual void process_requests();
41 Simple_column(Score_column*s,Simple_staff*rs);
45 /// Simple staff: one voicegroup at a time
46 struct Simple_staff : Staff {
47 /// indirection to the PStaff.
51 Staff_column*create_col(Score_column*);
53 virtual Item *get_TYPESET_item(Command*);
54 virtual Stem *get_stem(Stem_req *rq)=0;
55 virtual Notehead *get_notehead(Note_req *rq, int b)=0;
56 virtual Rest *get_rest(Rest_req *rq);
57 virtual void set_output(PScore *);
58 virtual Local_key_item* get_local_key_item();
60 void process_commands( PCursor<Command*> &where);
66 #endif // SIMPLESTAFF_HH