One fix.
[ardour.git] / gtk2_ardour / color_theme_manager.h
index b83b5ae52315cfad39463dac3162de593a6b53ee..85759392e091c242a4ed74c72f5a008ff2033c99 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2000-2007 Paul Davis
+    Copyright (C) 2000-2016 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
 #include <gtkmm/treestore.h>
 #include <gtkmm/scrolledwindow.h>
 #include <gtkmm/colorselection.h>
-#include <gtkmm/radiobutton.h>
 #include <gtkmm/button.h>
-#include <gtkmm/scale.h>
-#include <gtkmm/rc.h>
 
 #include "canvas/types.h"
 #include "canvas/canvas.h"
@@ -46,6 +43,7 @@ class ColorThemeManager : public Gtk::VBox, public OptionEditorComponent
 {
   public:
        ColorThemeManager();
+       ~ColorThemeManager();
 
        void reset_canvas_colors();
        void on_color_theme_changed ();
@@ -147,6 +145,24 @@ class ColorThemeManager : public Gtk::VBox, public OptionEditorComponent
 
        void colors_changed ();
        void set_ui_to_state ();
+
+
+       struct ColorThemeModelColumns : public Gtk::TreeModel::ColumnRecord {
+               ColorThemeModelColumns() {
+                       add (name);
+                       add (path);
+               }
+
+               Gtk::TreeModelColumn<std::string>  name;
+               Gtk::TreeModelColumn<std::string>  path;
+       };
+
+       ColorThemeModelColumns color_theme_columns;
+       Glib::RefPtr<Gtk::TreeStore> theme_list;
+
+       Gtk::Label color_theme_label;
+       Gtk::ComboBox color_theme_dropdown;
+
 };
 
 #endif /* __ardour_gtk_color_manager_h__ */