/*
- 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"
{
public:
ColorThemeManager();
+ ~ColorThemeManager();
void reset_canvas_colors();
void on_color_theme_changed ();
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__ */