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;
27 Real stem_requester_len;
33 Slur_req * find_slur(Voice *);
34 void typeset_item(Item *, int=1);
35 void typeset_item_directional(Item *, int dir, int=1);
37 Molecule *create_command_mol(Command *com);
39 void take_request(Request *rq);
40 virtual void process_requests();
42 Simple_column(Score_column*s,Simple_staff*rs);
46 /// Simple staff: one voicegroup at a time
47 struct Simple_staff : Staff {
48 /// indirection to the PStaff.
52 Staff_column*create_col(Score_column*);
54 virtual Item *get_TYPESET_item(Command*);
55 virtual Stem *get_stem(Stem_req *rq, Real)=0;
56 virtual Notehead *get_notehead(Note_req *rq, int b)=0;
57 virtual Rest *get_rest(Rest_req *rq);
58 virtual void set_output(PScore *);
59 virtual Local_key_item* get_local_key_item();
61 void process_commands( PCursor<Command*> &where);
67 #endif // SIMPLESTAFF_HH