13
0

more show() stuff, and replaced strip->show_all(); untill its actually finished

git-svn-id: svn://localhost/ardour2/trunk@2124 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Doug McLain 2007-07-07 05:04:34 +00:00
parent 68653307e6
commit af8acbcc88
6 changed files with 27 additions and 5 deletions

View File

@ -217,6 +217,12 @@ GainMeter::GainMeter (boost::shared_ptr<IO> io, Session& s)
ResetGroupPeakDisplays.connect (mem_fun(*this, &GainMeter::reset_group_peak_display)); ResetGroupPeakDisplays.connect (mem_fun(*this, &GainMeter::reset_group_peak_display));
UI::instance()->theme_changed.connect (mem_fun(*this, &GainMeter::on_theme_changed)); UI::instance()->theme_changed.connect (mem_fun(*this, &GainMeter::on_theme_changed));
gain_display.show();
peak_display.show();
gain_display_box.show();
fader_box.show();
meter_metric_area.show();
} }
void void

View File

@ -114,8 +114,10 @@ MixerStrip::MixerStrip (Mixer_UI& mx, Session& sess, boost::shared_ptr<Route> rt
comment_area = 0; comment_area = 0;
_width_owner = 0; _width_owner = 0;
width_button.add (*(manage (new Gtk::Image (::get_icon("strip_width"))))); Gtk::Image *width_icon = manage (new Gtk::Image (::get_icon("strip_width")));
hide_button.add (*(manage (new Gtk::Image (::get_icon("hide"))))); Gtk::Image *hide_icon = manage (new Gtk::Image (::get_icon("hide")));
width_button.add (*width_icon);
hide_button.add (*hide_icon);
input_label.set_text (_("Input")); input_label.set_text (_("Input"));
input_button.add (input_label); input_button.add (input_label);
@ -355,7 +357,10 @@ MixerStrip::MixerStrip (Mixer_UI& mx, Session& sess, boost::shared_ptr<Route> rt
add_events (Gdk::BUTTON_RELEASE_MASK); add_events (Gdk::BUTTON_RELEASE_MASK);
whvbox->show(); whvbox->show();
hide_icon->show();
width_icon->show();
pre_processor_box.show();
hide_button.show(); hide_button.show();
width_button.show(); width_button.show();
width_hide_box.show(); width_hide_box.show();
@ -381,6 +386,8 @@ MixerStrip::MixerStrip (Mixer_UI& mx, Session& sess, boost::shared_ptr<Route> rt
speed_spinner.show(); speed_spinner.show();
speed_label.show(); speed_label.show();
speed_frame.show(); speed_frame.show();
show();
} }
MixerStrip::~MixerStrip () MixerStrip::~MixerStrip ()

View File

@ -619,6 +619,7 @@ Mixer_UI::redisplay_track_list ()
strip_packer.pack_start (*strip, false, false); strip_packer.pack_start (*strip, false, false);
} }
strip->set_packed (true); strip->set_packed (true);
strip->show_all();
} }
} else { } else {

View File

@ -153,6 +153,10 @@ ProcessorBox::ProcessorBox (Placement pcmnt, Session& sess, boost::shared_ptr<Ro
/* now force an update of all the various elements */ /* now force an update of all the various elements */
redisplay_processors (); redisplay_processors ();
processor_scroller.show();
processor_display.show();
show();
} }
ProcessorBox::~ProcessorBox () ProcessorBox::~ProcessorBox ()

View File

@ -108,13 +108,17 @@ RouteUI::RouteUI (boost::shared_ptr<ARDOUR::Route> rt, ARDOUR::Session& sess, co
rec_enable_button = manage (new BindableToggleButton (*t->rec_enable_control().get(), r_name )); rec_enable_button = manage (new BindableToggleButton (*t->rec_enable_control().get(), r_name ));
rec_enable_button->set_name ("RecordEnableButton"); rec_enable_button->set_name ("RecordEnableButton");
rec_enable_button->set_self_managed (true); rec_enable_button->set_self_managed (true);
rec_enable_button->show();
update_rec_display (); update_rec_display ();
} }
mute_button->unset_flags (Gtk::CAN_FOCUS); mute_button->unset_flags (Gtk::CAN_FOCUS);
solo_button->unset_flags (Gtk::CAN_FOCUS); solo_button->unset_flags (Gtk::CAN_FOCUS);
mute_button->show();
solo_button->show();
_route->RemoteControlIDChanged.connect (mem_fun(*this, &RouteUI::refresh_remote_control_menu)); _route->RemoteControlIDChanged.connect (mem_fun(*this, &RouteUI::refresh_remote_control_menu));
/* map the current state */ /* map the current state */

View File

@ -108,7 +108,7 @@ fit_to_pixels (const ustring& str, int pixel_width, Pango::FontDescription& font
gint gint
just_hide_it (GdkEventAny *ev, Gtk::Window *win) just_hide_it (GdkEventAny *ev, Gtk::Window *win)
{ {
win->hide_all (); win->hide ();
return TRUE; return TRUE;
} }