]> git.donarmstrong.com Git - lilypond.git/blob - lily/general-script-def.cc
patch::: 1.1.37.script1
[lilypond.git] / lily / general-script-def.cc
1
2 /*
3   general-script-def.cc -- implement General_script_def
4
5   source file of the GNU LilyPond music typesetter
6
7   (c)  1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
8 */
9
10 #include "molecule.hh"
11 #include "general-script-def.hh"
12 #include "debug.hh"
13
14
15 Direction
16 General_script_def::staff_dir() const
17 {
18   return DOWN;
19 }
20
21 Direction
22 General_script_def::rel_stem_dir() const
23 {
24   return CENTER;
25 }
26 int
27 General_script_def::priority_i() const
28 {
29   return 1000;
30 }
31
32 bool
33 General_script_def::inside_b() const
34 {
35   return false;
36 }
37
38 bool
39 General_script_def::equal_b (General_script_def const&g) const
40 {
41   return do_equal_b (&g);
42 }
43
44 bool
45 General_script_def::do_equal_b (General_script_def const*) const
46 {
47   return true;
48 }
49
50
51 void
52 General_script_def::print() const
53 {
54   DOUT << classname(this) << "{";
55   do_print();
56   DOUT << "}";
57 }
58
59 void
60 General_script_def::do_print() const
61 {
62 }
63
64 Molecule
65 General_script_def::get_molecule (Paper_def*, Direction) const
66 {
67   Molecule s;
68   return Molecule (s);
69 }
70
71
72
73
74