poor man's display of end tempo for ramps.
[ardour.git] / gtk2_ardour / color_theme_manager.h
index d565066a181d8675cb98e71f7e34ad4bb64dc0bc..104bca847b686c741beaa3fb602a8f0dccd93fce 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"
@@ -42,10 +39,11 @@ namespace ArdourCanvas {
 
 class ArdourDialog;
 
-class ColorThemeManager : public Gtk::VBox, public OptionEditorComponent
+class ColorThemeManager : public OptionEditorMiniPage
 {
   public:
        ColorThemeManager();
+       ~ColorThemeManager();
 
        void reset_canvas_colors();
        void on_color_theme_changed ();
@@ -58,11 +56,10 @@ class ColorThemeManager : public Gtk::VBox, public OptionEditorComponent
        /** Called to instruct the object to set its UI state from the configuration */
        void set_state_from_config ();
 
-       /** Called to instruct the object to add itself to an OptionEditorPage */
-       void add_to_page (OptionEditorPage *);
-
        void set_note (std::string const &);
 
+       void add_to_page (OptionEditorPage*);
+
        Gtk::Widget& tip_widget();
 
   private: