- , clock ("layer dialog", true, "", false, false, false)
+ , clock ("layer dialog", true, "", false, false, false)
- 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);
- 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);
- 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);
layering_order_display.set_name ("RegionLayeringOrderDisplay");
layering_order_display.get_selection()->set_mode (SELECTION_SINGLE);
for (vector<RegionView*>::iterator i = eq.begin(); i != eq.end(); ++i) {
boost::shared_ptr<Playlist> pl = (*i)->region()->playlist();
if (pl) {
for (vector<RegionView*>::iterator i = eq.begin(); i != eq.end(); ++i) {
boost::shared_ptr<Playlist> pl = (*i)->region()->playlist();
if (pl) {
newrow[layering_order_columns.name] = (*i)->region()->name();
newrow[layering_order_columns.region_view] = *i;
newrow[layering_order_columns.name] = (*i)->region()->name();
newrow[layering_order_columns.region_view] = *i;
void
RegionLayeringOrderEditor::set_context (const string& a_name, Session* s, TimeAxisView* tav, boost::shared_ptr<Playlist> pl, framepos_t pos)
{
void
RegionLayeringOrderEditor::set_context (const string& a_name, Session* s, TimeAxisView* tav, boost::shared_ptr<Playlist> pl, framepos_t pos)
{