mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 07:05:43 +01:00
[Summary] XML-izing MIXER STRIP UI
This commit is contained in:
parent
ff909cf10b
commit
ebe7c829e4
2 changed files with 8 additions and 8 deletions
|
|
@ -360,7 +360,7 @@ Editor::Editor ()
|
|||
tempo_or_meter_marker_menu = 0;
|
||||
transport_marker_menu = 0;
|
||||
new_transport_marker_menu = 0;
|
||||
editor_mixer_strip_width = Wide;
|
||||
// editor_mixer_strip_width = Wide;
|
||||
show_editor_mixer_when_tracks_arrive = false;
|
||||
region_edit_menu_split_multichannel_item = 0;
|
||||
region_edit_menu_split_item = 0;
|
||||
|
|
@ -2318,9 +2318,9 @@ Editor::set_state (const XMLNode& node, int /*version*/)
|
|||
playhead_cursor->set_position (0);
|
||||
}
|
||||
|
||||
if ((prop = node.property ("mixer-width"))) {
|
||||
editor_mixer_strip_width = Width (string_2_enum (prop->value(), editor_mixer_strip_width));
|
||||
}
|
||||
//if ((prop = node.property ("mixer-width"))) {
|
||||
// editor_mixer_strip_width = Width (string_2_enum (prop->value(), editor_mixer_strip_width));
|
||||
//}
|
||||
|
||||
if ((prop = node.property ("zoom-focus"))) {
|
||||
set_zoom_focus ((ZoomFocus) string_2_enum (prop->value(), zoom_focus));
|
||||
|
|
@ -2552,7 +2552,7 @@ Editor::get_state ()
|
|||
node->add_child_nocopy (*geometry);
|
||||
}
|
||||
|
||||
maybe_add_mixer_strip_width (*node);
|
||||
//maybe_add_mixer_strip_width (*node);
|
||||
|
||||
node->add_property ("zoom-focus", enum_2_string (zoom_focus));
|
||||
|
||||
|
|
|
|||
|
|
@ -303,13 +303,13 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
|
|||
|
||||
void get_onscreen_tracks (TrackViewList&);
|
||||
|
||||
Width editor_mixer_strip_width;
|
||||
void maybe_add_mixer_strip_width (XMLNode&);
|
||||
// Width editor_mixer_strip_width;
|
||||
// void maybe_add_mixer_strip_width (XMLNode&);
|
||||
void show_editor_mixer (bool yn);
|
||||
void create_editor_mixer ();
|
||||
void show_editor_list (bool yn);
|
||||
void set_selected_mixer_strip (TimeAxisView&);
|
||||
void mixer_strip_width_changed ();
|
||||
// void mixer_strip_width_changed ();
|
||||
void hide_track_in_display (TimeAxisView* tv, bool apply_to_selection = false);
|
||||
|
||||
/* nudge is initiated by transport controls owned by ARDOUR_UI */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue