add note that font-scale changes require a restart.
[ardour.git] / gtk2_ardour / step_entry.h
index 934e5e5c181c7afecbbbaef8611b81e27face99a..364be671148b972add9b37d9d2f729aec46e29dc 100644 (file)
 #include <gtkmm/adjustment.h>
 #include <gtkmm2ext/bindings.h>
 
-#include "ardour_dialog.h"
+#include "ardour_window.h"
 #include "gtk_pianokeyboard.h"
 
-class MidiTimeAxisView;
+class StepEditor;
 
-class StepEntry : public ArdourDialog
+class StepEntry : public ArdourWindow
 {
   public:
-        StepEntry (MidiTimeAxisView&);
+        StepEntry (StepEditor&);
         ~StepEntry ();
 
         void note_off_event_handler (int note);
@@ -44,9 +44,9 @@ class StepEntry : public ArdourDialog
         Evoral::MusicalTime note_length();
         uint8_t note_velocity() const;
         uint8_t note_channel() const;
-        
+
         int current_octave () const { return (int) floor (octave_adjustment.get_value()); }
-        
+
   private:
         Evoral::MusicalTime _current_note_length;
         uint8_t _current_note_velocity;
@@ -124,7 +124,7 @@ class StepEntry : public ArdourDialog
 
         PianoKeyboard* _piano;
         Gtk::Widget* piano;
-        MidiTimeAxisView* _mtv;
+        StepEditor*   se;
 
         void bank_click ();
         void program_click ();
@@ -158,7 +158,7 @@ class StepEntry : public ArdourDialog
         void insert_fsharp ();
         void insert_g ();
         void insert_gsharp ();
-        
+
         void note_length_change (GtkAction*);
         void note_velocity_change (GtkAction*);
 
@@ -199,7 +199,7 @@ class StepEntry : public ArdourDialog
 
         void toggle_triplet();
         void toggle_chord();
-        
+
         void do_sustain ();
         void back();
         void sync_to_edit_point ();