projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sort export formats & presets in alphabetical name order
[ardour.git]
/
gtk2_ardour
/
diamond.cc
diff --git
a/gtk2_ardour/diamond.cc
b/gtk2_ardour/diamond.cc
index 48c0dd4b680309da4ef5a7f22db91e727c76a23a..eb2f3b82b6e2d407c0bdce4e6a38c876b7c065c5 100644
(file)
--- a/
gtk2_ardour/diamond.cc
+++ b/
gtk2_ardour/diamond.cc
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2007 Paul Davis
+ Copyright (C) 2007 Paul Davis
Author: Dave Robillard
This program is free software; you can redistribute it and/or modify
Author: Dave Robillard
This program is free software; you can redistribute it and/or modify
@@
-29,7
+29,6
@@
Diamond::Diamond(Group& group, double height)
, _h (height)
{
points = gnome_canvas_points_new (4);
, _h (height)
{
points = gnome_canvas_points_new (4);
- g_object_set (gobj(), "points", points, NULL);
move_to (0, 0);
}
move_to (0, 0);
}
@@
-59,7
+58,7
@@
Diamond::move_to (double x, double y)
points->coords[4] = _x;
points->coords[5] = _y;
points->coords[4] = _x;
points->coords[5] = _y;
-
+
points->coords[6] = _x - _h;
points->coords[7] = _y + _h;
points->coords[6] = _x - _h;
points->coords[7] = _y + _h;