goodbye pixmaps and pixbufs (no longer) used by Gtkmm2ext::PixFader

git-svn-id: svn://localhost/ardour2/branches/3.0@13827 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2013-01-10 15:25:11 +00:00
parent 31172d0c71
commit b1029a3caf
13 changed files with 42 additions and 189 deletions

View file

@ -224,21 +224,7 @@ FaderOption::FaderOption (string const & i, string const & n, sigc::slot<gain_t>
, _get (g)
, _set (s)
{
_pix = ::get_icon (X_("fader_belt_h"));
if (_pix == 0) {
throw failed_constructor ();
}
_pix_desensitised = ::get_icon (X_("fader_belt_h_desensitised"));
if (_pix_desensitised == 0) {
throw failed_constructor ();
}
_db_slider = manage (new HSliderController (_pix,
_pix_desensitised,
&_db_adjustment,
115,
false));
_db_slider = manage (new HSliderController (&_db_adjustment, 115, false));
_label.set_text (n + ":");
_label.set_name (X_("OptionsLabel"));