X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fdiamond.h;h=a8169becb9ef93a8576c5a70ce3a0338078ed27a;hb=e3b0cb086d2cec5f28a24fed16fd62e06080fe1a;hp=6afa3e3d6441795ff4b6767c9af2319b5a2d58db;hpb=bcc929a5b6760660d307c30da58efdd24c9411fb;p=ardour.git diff --git a/gtk2_ardour/diamond.h b/gtk2_ardour/diamond.h index 6afa3e3d64..a8169becb9 100644 --- a/gtk2_ardour/diamond.h +++ b/gtk2_ardour/diamond.h @@ -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 @@ -28,11 +28,21 @@ namespace Gnome { namespace Canvas { -class Diamond : public Polygon { -public: +class Diamond : public Polygon +{ + public: Diamond(Group& group, double height); - + ~Diamond (); + + void move_to (double x, double y); + void move_by (double dx, double dy); void set_height(double height); + + protected: + double _x; + double _y; + double _h; + GnomeCanvasPoints* points; };