summaryrefslogtreecommitdiff
path: root/gtk2_ardour/step_entry.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/step_entry.h')
-rw-r--r--gtk2_ardour/step_entry.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/step_entry.h b/gtk2_ardour/step_entry.h
index e534c83e01..c916c143bd 100644
--- a/gtk2_ardour/step_entry.h
+++ b/gtk2_ardour/step_entry.h
@@ -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;
@@ -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 ();