double get_samples_per_unit();
+ virtual void drag_start() { _dragging = true; }
+ virtual void drag_end() { _dragging = false; }
+ bool dragging() const { return _dragging; }
+
virtual void raise () { return; }
virtual void raise_to_top () { return; }
virtual void lower () { return; }
static Pango::FontDescription NAME_FONT;
static void set_constant_heights ();
static const double NAME_X_OFFSET;
- static const double GRAB_HANDLE_LENGTH;
+ static const double GRAB_HANDLE_TOP;
+ static const double GRAB_HANDLE_WIDTH;
/* these are not constant, but vary with the pixel size
of the font used to display the item name.
Visibility visibility;
bool _recregion;
bool _automation; ///< true if this is an automation region view
+ bool _dragging;
private: