mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
NO-OP: whitespace
This commit is contained in:
parent
3f60d12308
commit
d741f01ad0
2 changed files with 18 additions and 18 deletions
|
|
@ -51,7 +51,7 @@ TrackingText::init ()
|
|||
}
|
||||
|
||||
void
|
||||
TrackingText::pointer_motion (Duple const & winpos)
|
||||
TrackingText::pointer_motion (Duple const& winpos)
|
||||
{
|
||||
if (!_visible) {
|
||||
return;
|
||||
|
|
@ -60,18 +60,18 @@ TrackingText::pointer_motion (Duple const & winpos)
|
|||
Duple pos (_parent->window_to_item (winpos));
|
||||
|
||||
if (!track_x) {
|
||||
pos.x = position().x;
|
||||
pos.x = position ().x;
|
||||
}
|
||||
|
||||
if (!track_y) {
|
||||
pos.y = position().y;
|
||||
pos.y = position ().y;
|
||||
}
|
||||
|
||||
pos = pos.translate (offset);
|
||||
|
||||
/* keep inside the window */
|
||||
|
||||
Rect r (0, 0, _canvas->width(), _canvas->height());
|
||||
Rect r (0, 0, _canvas->width (), _canvas->height ());
|
||||
|
||||
/* border of 200 pixels on the right, and 50 on all other sides */
|
||||
|
||||
|
|
@ -128,23 +128,23 @@ TrackingText::show_and_track (bool tx, bool ty)
|
|||
void
|
||||
TrackingText::set_x_offset (double o)
|
||||
{
|
||||
begin_change ();
|
||||
begin_change ();
|
||||
offset.x = o;
|
||||
end_change ();
|
||||
end_change ();
|
||||
}
|
||||
|
||||
void
|
||||
TrackingText::set_y_offset (double o)
|
||||
{
|
||||
begin_change ();
|
||||
begin_change ();
|
||||
offset.y = o;
|
||||
end_change ();
|
||||
end_change ();
|
||||
}
|
||||
|
||||
void
|
||||
TrackingText::set_offset (Duple const & d)
|
||||
TrackingText::set_offset (Duple const& d)
|
||||
{
|
||||
begin_change ();
|
||||
begin_change ();
|
||||
offset = d;
|
||||
end_change ();
|
||||
end_change ();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue