vtl: query video-monitor-state on explicit session save
[ardour.git] / gtk2_ardour / diamond.h
index 6afa3e3d6441795ff4b6767c9af2319b5a2d58db..a9110d497d4bb79ec7d58406707d8ad1c5c0abc0 100644 (file)
@@ -1,6 +1,6 @@
 /*
-    Copyright (C) 2007 Paul Davis 
-    Author: Dave Robillard
+    Copyright (C) 2007 Paul Davis
+    Author: David Robillard
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -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;
 };