mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
remove unused i2w code from ControlPoint
This commit is contained in:
parent
e06de8b855
commit
7d2f8b5686
2 changed files with 5 additions and 4 deletions
|
|
@ -167,8 +167,8 @@ ControlPoint::move_to (double x, double y, ShapeType shape)
|
|||
_shape = shape;
|
||||
}
|
||||
|
||||
void
|
||||
ControlPoint::i2w (double& x, double& y) const
|
||||
ArdourCanvas::Item&
|
||||
ControlPoint::item() const
|
||||
{
|
||||
_item->item_to_canvas (x, y);
|
||||
return *_item;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ class Selection;
|
|||
namespace ArdourCanvas {
|
||||
class Rectangle;
|
||||
class Diamond;
|
||||
class Item;
|
||||
}
|
||||
|
||||
class ControlPoint : public Selectable
|
||||
|
|
@ -74,7 +75,7 @@ class ControlPoint : public Selectable
|
|||
uint32_t view_index() const { return _view_index; }
|
||||
void set_view_index(uint32_t i) { _view_index = i; }
|
||||
|
||||
void i2w (double &, double &) const;
|
||||
ArdourCanvas::Item& item() const;
|
||||
|
||||
ARDOUR::AutomationList::iterator model() const { return _model; }
|
||||
AutomationLine& line() const { return _line; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue