summaryrefslogtreecommitdiff
path: root/gtk2_ardour/region_layering_order_editor.cc
diff options
context:
space:
mode:
authorThomas Brand <tom@trellis.ch>2017-07-01 18:42:24 +0200
committerRobin Gareus <robin@gareus.org>2017-07-01 19:28:26 +0200
commit63ea7b6516dbd7554d1eff6c98de50cf61fc9a72 (patch)
tree82fa339e009bc082dd8023916990800bea437081 /gtk2_ardour/region_layering_order_editor.cc
parentf413b83cb9fa50954969a3d849999e1890ce6690 (diff)
NO-OP whitespace (updated GH PR #357)
Diffstat (limited to 'gtk2_ardour/region_layering_order_editor.cc')
-rw-r--r--gtk2_ardour/region_layering_order_editor.cc52
1 files changed, 26 insertions, 26 deletions
diff --git a/gtk2_ardour/region_layering_order_editor.cc b/gtk2_ardour/region_layering_order_editor.cc
index e58c7c9768..35f493654e 100644
--- a/gtk2_ardour/region_layering_order_editor.cc
+++ b/gtk2_ardour/region_layering_order_editor.cc
@@ -42,9 +42,9 @@ RegionLayeringOrderEditor::RegionLayeringOrderEditor (PublicEditor& pe)
: ArdourWindow (_("RegionLayeringOrderEditor"))
, position (0)
, in_row_change (false)
- , regions_at_position (0)
+ , regions_at_position (0)
, layering_order_model (Gtk::ListStore::create (layering_order_columns))
- , clock ("layer dialog", true, "", false, false, false)
+ , clock ("layer dialog", true, "", false, false, false)
, editor (pe)
, _time_axis_view (0)
{
@@ -62,29 +62,29 @@ RegionLayeringOrderEditor::RegionLayeringOrderEditor (PublicEditor& pe)
clock.set_mode (AudioClock::BBT);
- Gtk::Table* scroller_table = manage (new Gtk::Table);
- scroller_table->set_size_request (300, 250);
- scroller_table->attach (scroller, 0, 1, 0, 1);
- scroller_table->set_col_spacings (5);
- scroller_table->set_row_spacings (5);
+ Gtk::Table* scroller_table = manage (new Gtk::Table);
+ scroller_table->set_size_request (300, 250);
+ scroller_table->attach (scroller, 0, 1, 0, 1);
+ scroller_table->set_col_spacings (5);
+ scroller_table->set_row_spacings (5);
- track_label.set_name ("RegionLayeringOrderEditorLabel");
- track_label.set_text (_("Track:"));
+ track_label.set_name ("RegionLayeringOrderEditorLabel");
+ track_label.set_text (_("Track:"));
track_label.set_alignment (0, 0.5);
- clock_label.set_name ("RegionLayeringOrderEditorLabel");
- clock_label.set_text (_("Position:"));
+ clock_label.set_name ("RegionLayeringOrderEditorLabel");
+ clock_label.set_text (_("Position:"));
clock_label.set_alignment (0, 0.5);
- track_name_label.set_name ("RegionLayeringOrderEditorNameLabel");
+ track_name_label.set_name ("RegionLayeringOrderEditorNameLabel");
track_name_label.set_alignment (0, 0.5);
- clock.set_mode (AudioClock::BBT);
+ clock.set_mode (AudioClock::BBT);
- Gtk::Table* info_table = manage (new Gtk::Table (2, 2));
- info_table->set_col_spacings (5);
- info_table->set_row_spacings (5);
- info_table->attach (track_label, 0, 1, 0, 1, FILL, FILL);
- info_table->attach (track_name_label, 1, 2, 0, 1, FILL, FILL);
- info_table->attach (clock_label, 0, 1, 1, 2, FILL, FILL);
- info_table->attach (clock, 1, 2, 1, 2, Gtk::AttachOptions(0), FILL);
+ Gtk::Table* info_table = manage (new Gtk::Table (2, 2));
+ info_table->set_col_spacings (5);
+ info_table->set_row_spacings (5);
+ info_table->attach (track_label, 0, 1, 0, 1, FILL, FILL);
+ info_table->attach (track_name_label, 1, 2, 0, 1, FILL, FILL);
+ info_table->attach (clock_label, 0, 1, 1, 2, FILL, FILL);
+ info_table->attach (clock, 1, 2, 1, 2, Gtk::AttachOptions(0), FILL);
Gtk::VBox* vbox = Gtk::manage (new Gtk::VBox ());
vbox->set_spacing (12);
@@ -92,8 +92,8 @@ RegionLayeringOrderEditor::RegionLayeringOrderEditor (PublicEditor& pe)
vbox->pack_start (*scroller_table, true, true);
add (*vbox);
- info_table->set_name ("RegionLayeringOrderTable");
- scroller_table->set_name ("RegionLayeringOrderTable");
+ info_table->set_name ("RegionLayeringOrderTable");
+ scroller_table->set_name ("RegionLayeringOrderTable");
layering_order_display.set_name ("RegionLayeringOrderDisplay");
layering_order_display.get_selection()->set_mode (SELECTION_SINGLE);
@@ -177,9 +177,9 @@ RegionLayeringOrderEditor::refill ()
newrow[layering_order_columns.name] = (*i)->region()->name();
newrow[layering_order_columns.region_view] = *i;
- if (i == region_list.begin()) {
- layering_order_display.get_selection()->select(newrow);
- }
+ if (i == region_list.begin()) {
+ layering_order_display.get_selection()->select(newrow);
+ }
}
in_row_change = false;
@@ -188,7 +188,7 @@ RegionLayeringOrderEditor::refill ()
void
RegionLayeringOrderEditor::set_context (const string& a_name, Session* s, TimeAxisView* tav, boost::shared_ptr<Playlist> pl, framepos_t pos)
{
- track_name_label.set_text (a_name);
+ track_name_label.set_text (a_name);
clock.set_session (s);
clock.set (pos, true);