add text entry cursor color to dark theme
[ardour.git] / gtk2_ardour / route_sorter.h
index 1450a2c09b4be7be551682eef19a554a540aa86f..e84788243cfd474ce0c0317aaa960d3a036d146f 100644 (file)
@@ -24,6 +24,8 @@
 #include <stdint.h>
 #include <vector>
 
+#include "ardour/stripable.h"
+
 struct OrderKeys {
     uint32_t old_display_order;
     uint32_t new_display_order;
@@ -41,4 +43,10 @@ struct SortByNewDisplayOrder {
     }
 };
 
+struct StripablePresentationInfoSorter {
+       bool operator() (boost::shared_ptr<ARDOUR::Stripable> a, boost::shared_ptr<ARDOUR::Stripable> b) {
+               return a->presentation_info().order () < b->presentation_info().order ();
+       }
+};
+
 #endif /* __gtk2_ardour_route_sorter_h__ */