Prepare central engine check and user notification
[ardour.git] / gtk2_ardour / editor_route_groups.h
index 504082305222d711c7b6c4b15ad27959bf63e4b2..45c201a26e694a0e82ed9a4c9005ed03c2e9cd8c 100644 (file)
 
 */
 
-#include "gtkmm2ext/stateful_button.h"
+#ifndef __gtk_ardour_editor_route_groups_h__
+#define __gtk_ardour_editor_route_groups_h__
+
+#include <gtkmm/liststore.h>
+#include <gtkmm/scrolledwindow.h>
+#include <gtkmm/treemodel.h>
+#include <gtkmm/treeview.h>
+
 #include "editor_component.h"
 
 class EditorRouteGroups : public EditorComponent, public ARDOUR::SessionHandlePtr
@@ -35,9 +42,9 @@ public:
 
 private:
 
-        struct Columns : public Gtk::TreeModel::ColumnRecord {
+       struct Columns : public Gtk::TreeModel::ColumnRecord {
 
-                Columns () {
+               Columns () {
                        add (gdkcolor);
                        add (text);
                        add (is_visible);
@@ -51,11 +58,11 @@ private:
                        add (active_shared);
                        add (active_state);
                        add (routegroup);
-                }
+               }
 
-               Gtk::TreeModelColumn<Gdk::Color> gdkcolor;
-               Gtk::TreeModelColumn<std::string> text;
-               Gtk::TreeModelColumn<bool> is_visible;
+               Gtk::TreeModelColumn<Gdk::Color> gdkcolor;
+               Gtk::TreeModelColumn<std::string> text;
+               Gtk::TreeModelColumn<bool> is_visible;
                Gtk::TreeModelColumn<bool> gain;
                Gtk::TreeModelColumn<bool> gain_relative;
                Gtk::TreeModelColumn<bool> mute;
@@ -65,7 +72,7 @@ private:
                Gtk::TreeModelColumn<bool> select;
                Gtk::TreeModelColumn<bool> active_shared;
                Gtk::TreeModelColumn<bool> active_state;
-               Gtk::TreeModelColumn<ARDOUR::RouteGroup*> routegroup;
+               Gtk::TreeModelColumn<ARDOUR::RouteGroup*> routegroup;
        };
 
        Columns _columns;
@@ -93,4 +100,4 @@ private:
        Gtk::ColorSelectionDialog color_dialog;
 };
 
-
+#endif // __gtk_ardour_editor_route_groups_h__