mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
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:
parent
31172d0c71
commit
b1029a3caf
13 changed files with 42 additions and 189 deletions
|
|
@ -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"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue