*/
struct Axis_group_interface
{
- static Interval group_extent_callback (Score_element *,Axis);
+ DECLARE_SCHEME_CALLBACK(group_extent_callback, (SCM smob, SCM axis));
static Interval relative_group_extent (Axis, Score_element * common, SCM list);
static void add_element (Score_element* me, Score_element*);
class Hara_kiri_group_spanner
{
public:
- static Real force_hara_kiri_callback (Score_element * , Axis);
- static Interval y_extent (Score_element * , Axis);
- static Real force_hara_kiri_in_parent_callback (Score_element * , Axis);
+ DECLARE_SCHEME_CALLBACK(force_hara_kiri_callback, (SCM ,SCM));
+ DECLARE_SCHEME_CALLBACK(y_extent, (SCM smob, SCM axis));
+ DECLARE_SCHEME_CALLBACK(force_hara_kiri_in_parent_callback, (SCM ,SCM));
static void add_element (Score_element *me, Score_element *e);
static void set_interface (Score_element*me);
static bool has_interface (Score_element*);
static void add_bar (Score_element*,Score_element*);
static void evaluate_glyph (Score_element*);
static void evaluate_empty (Score_element*);
- static Interval width_callback(Score_element *, Axis) ;
- static SCM get_bar_size (SCM);
- static SCM before_line_breaking (SCM);
- static Real center_on_spanned_callback (Score_element*,Axis);
+ DECLARE_SCHEME_CALLBACK(width_callback, (SCM smob, SCM axis));
+ DECLARE_SCHEME_CALLBACK(get_bar_size, (SCM ));
+ DECLARE_SCHEME_CALLBACK(before_line_breaking, (SCM ));
+ DECLARE_SCHEME_CALLBACK(center_on_spanned_callback, (SCM element, SCM axis));
};
#endif // SPAN_BAR_HH
public:
static void set_interface (Score_element*);
static bool has_interface (Score_element*);
- static Interval dim_callback (Score_element*, Axis);
- static SCM brew_molecule (SCM);
+ DECLARE_SCHEME_CALLBACK(dim_callback, (SCM smob, SCM axis));
+ DECLARE_SCHEME_CALLBACK(brew_molecule, (SCM ));
static void set_stem (Score_element*me, Score_element *st);
};
class Stem
{
public:
- static SCM brew_molecule (SCM);
+ DECLARE_SCHEME_CALLBACK(brew_molecule, (SCM ));
/// log of the duration. Eg. 4 -> 16th note -> 2 flags
static int flag_i (Score_element*) ;
static Real get_default_stem_end_position (Score_element*me) ;
static void position_noteheads(Score_element*);
static Real stem_end_position (Score_element*) ;
- static Real off_callback (Score_element *, Axis);
+ DECLARE_SCHEME_CALLBACK(off_callback, (SCM element, SCM axis));
static Molecule flag (Score_element*);
- static SCM before_line_breaking (SCM);
- static Interval dim_callback (Score_element *,Axis);
+ DECLARE_SCHEME_CALLBACK(before_line_breaking, (SCM ));
+ DECLARE_SCHEME_CALLBACK(dim_callback, (SCM smob, SCM axis));
static bool has_interface (Score_element*);
static void set_interface (Score_element*);