Add some convenient public editor methods (for lua-bindings)
[ardour.git] / gtk2_ardour / enums.h
index ebd061cc40b2bd5130994074341ebed2dfec9c08..aa789a634ce7d98d1dc33943acb109b5fd93938e 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2000-2007 Paul Davis 
+    Copyright (C) 2000-2007 Paul Davis
 
     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
 #ifndef __ardour_gtk_enums_h__
 #define __ardour_gtk_enums_h__
 
-#include <ardour/types.h>
+#include "ardour/types.h"
 
 enum Width {
        Wide,
        Narrow,
 };
 
-namespace Gnome {
-       namespace Canvas {
-               class SimpleRect;
-       }
+namespace ArdourCanvas {
+       class Rectangle;
 }
 
 enum LayerDisplay {
        Overlaid,
-       Stacked
+       Stacked,
+       Expanded
 };
 
 struct SelectionRect {
-    Gnome::Canvas::SimpleRect *rect;
-    Gnome::Canvas::SimpleRect *end_trim;
-    Gnome::Canvas::SimpleRect *start_trim;
+    ArdourCanvas::Rectangle *rect;
+    ArdourCanvas::Rectangle *end_trim;
+    ArdourCanvas::Rectangle *start_trim;
     uint32_t id;
 };
 
+enum Height {
+       HeightLargest,
+       HeightLarger,
+       HeightLarge,
+       HeightNormal,
+       HeightSmall
+};
+
 extern void setup_gtk_ardour_enums ();
 
 #endif /* __ardour_gtk_enums_h__ */