#define SCRIPT_HH
#include "staff-side.hh"
-#include "script-def.hh"
#include "item.hh"
/**
int pos_i_;
- General_script_def *specs_l_;
Stem *stem_l_;
/* *************** */
protected:
Molecule *brew_molecule_p()const;
+ virtual void do_substitute_dependency(Score_elem*,Score_elem*);
+ virtual void do_print() const;
virtual void do_post_processing();
virtual void do_pre_processing();
virtual Interval do_width() const;
void set_default_index();
Symbol symbol()const;
public:
+ General_script_def *specs_l_;
+
static int compare(Script *const&, Script *const&) ;
- Script(Script_req*);
+ Script();
void set_stem(Stem*);
NAME_MEMBERS();
assert( status > POSTCALCED);
if (transparent_b_ )
return "";
- String s("\\placebox{%}{%}{%}");
+ String s( "\\placebox{%}{%}{%}");
Array<String> a;
a.push(print_dimen(offset_.y));
a.push(print_dimen(offset_.x));
- a.push( output->TeX_string());
- return substitute_args(s, a);
+ String t = output->TeX_string();
+ if (t == "")
+ return t;
+
+ a.push( t);
+ String r;
+ if (check_debug)
+ r = String("\n%start: ") + name() + "\n";
+ r += substitute_args(s, a);;
+ return r;
+
}
#ifndef NPRINT
mtor << name() << "{\n";
mtor << "dets: " << dependent_size() << "dependencies: " <<
- dependency_size() << "\n";
+ dependency_size();
+ if (offset_.x || offset_.y)
+ mtor << "offset (" << offset_.x << ", " << offset_.y <<")";
+ mtor << "\n";
+
do_print();
if (output)
output->print();
return 0;
}
-/********************
+/*
DEPENDENCIES
*/