]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/box.hh
Let graphiz-init.ly use grob::name, delete grob-name
[lilypond.git] / lily / include / box.hh
index b0f899431188bf4d653ac448afbb6e074efdd6fa..7d5745d6965b757123606d33b4b25edf64dc1779 100644 (file)
@@ -9,10 +9,12 @@
 #include "offset.hh"
 #include "smobs.hh"
 
-class Box
+class Box : public Simple_smob<Box>
 {
+public:
+  static const char type_p_name_[];
+private:
   Interval interval_a_[NO_AXES];
-  DECLARE_SIMPLE_SMOBS (Box);
 public:
   Interval &x () {return interval_a_[X_AXIS]; }
   Interval &y () { return interval_a_[Y_AXIS]; }
@@ -40,6 +42,5 @@ public:
   Box (Interval ix, Interval iy);
 };
 
-DECLARE_UNSMOB (Box, box);
 
 #endif