i/o button naming patch and imported file BWF timecode retention patch from nickm...
[ardour.git] / libs / gtkmm2ext / gtkmm2ext / barcontroller.h
index e5c01c719161e14dfb35fe806a92e85b856996ff..f3eb2f41cd264aec3672f10f6b24a4620e768fe9 100644 (file)
@@ -48,6 +48,8 @@ class BarController : public Gtk::Frame
        void set_use_parent (bool yn);
 
        void set_sensitive (bool yn);
+       
+       void set_logarithmic (bool yn) { logarithmic = yn; }
 
        sigc::signal<void> StartGesture;
        sigc::signal<void> StopGesture;
@@ -73,6 +75,7 @@ class BarController : public Gtk::Frame
        GdkWindow*          grab_window;
        Gtk::SpinButton     spinner;
        bool                use_parent;
+       bool                logarithmic;
 
        virtual std::string get_label (int& /*x*/) {
                return "";
@@ -84,8 +87,6 @@ class BarController : public Gtk::Frame
        virtual bool expose (GdkEventExpose *);
        virtual bool scroll (GdkEventScroll *);
        virtual bool entry_focus_out (GdkEventFocus*);
-       virtual bool entry_input (double *);
-       virtual bool entry_output ();
 
        gint mouse_control (double x, GdkWindow* w, double scaling);
 
@@ -94,6 +95,9 @@ class BarController : public Gtk::Frame
 
        void entry_activated ();
        void drop_grab ();
+       
+       int entry_input (double* new_value);
+       bool entry_output ();
 };