std::string data_file_path;
#ifdef FADERPORT16
string name = "faderport16-small.png";
+#elif defined FADERPORT2
+ string name = "faderport2018-small.png";
#else
string name = "faderport8-small.png";
#endif
align->add (*user_combo);
table.attach (*align, 3 * action_col + 1, 3 * action_col + 2, row + action_row, row + action_row + 1, AttachOptions(FILL|EXPAND), AttachOptions (0));
- if (++action_row == 4) {
+#ifdef FADERPORT2
+ if (++action_row == 2)
+#else
+ if (++action_row == 4)
+#endif
+ {
action_row = 0;
++action_col;
}
row += 4;
+#ifndef FADERPORT2
hsep = manage(new Gtk::HSeparator);
table.attach (*hsep, 0, 8, row, row+1, AttachOptions(FILL|EXPAND), AttachOptions(0), 0, 6);
row++;
table.attach (auto_pluginui_cb, 4, 8, row, row+1, AttachOptions(FILL|EXPAND), AttachOptions(0), 0, 0);
row++;
+#endif
/* update the port connection combos */
update_port_combos ();