blob: b2b1e7250443255da7e706835f1f195722b85bb7 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
/*
staff-info.cc -- implement Staff_info
source file of the LilyPond music typesetter
(c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
*/
#include "proto.hh"
#include "plist.hh"
#include "staff.hh"
#include "staff-info.hh"
#include "score-column.hh"
#include "complex-walker.hh"
#include "staff-column.hh"
Staff*
Staff_info::staff_l()
{
return walk_l_->staff_l_;
}
Score*
Staff_info::score_l()
{
return staff_l()->score_l_;
}
Staff_info::Staff_info()
{
c0_position_i_l_ = 0;
walk_l_ = 0;
time_C_ = 0;
rhythmic_C_ =0;
break_allowed_b_ = 0;
}
Staff_column*
Staff_info::column_l()
{
return walk_l_->ptr();
}
Score_column*
Staff_info::musical_l()
{
return column_l() -> musical_column_l_;
}
Score_column*
Staff_info::command_l()
{
return column_l() -> command_column_l_;
}
PCol*
Staff_info::command_pcol_l()
{
return command_l()->pcol_l_;
}
Moment
Staff_info::when()
{
return walk_l_->when();
}
|