"treadmill" design for new faders
git-svn-id: svn://localhost/ardour2/trunk@1150 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
39f0ea6ae9
commit
724eda62fc
@ -62,26 +62,7 @@ map<string,Glib::RefPtr<Gdk::Pixmap> > GainMeter::metric_pixmaps;
|
||||
int
|
||||
GainMeter::setup_slider_pix ()
|
||||
{
|
||||
#if 0
|
||||
string path = ARDOUR::find_data_file("vslider02_slider.xpm", "pixmaps");
|
||||
if (path.empty()) {
|
||||
error << _("cannot find images for fader slider") << endmsg;
|
||||
return -1;
|
||||
}
|
||||
slider = Gdk::Pixbuf::create_from_file (path);
|
||||
#endif
|
||||
slider = ::get_icon ("gain_fader_handle");
|
||||
|
||||
#if 0
|
||||
path = ARDOUR::find_data_file("vslider02_rail.xpm", "pixmaps");
|
||||
if (path.empty()) {
|
||||
error << _("cannot find images for fader rail") << endmsg;
|
||||
return -1;
|
||||
}
|
||||
rail = Gdk::Pixbuf::create_from_file (path);
|
||||
#endif
|
||||
rail = ::get_icon ("gain_fader_base");
|
||||
|
||||
slider = ::get_icon ("fader_belt");
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -103,7 +84,7 @@ GainMeter::GainMeter (boost::shared_ptr<IO> io, Session& s)
|
||||
ignore_toggle = false;
|
||||
meter_menu = 0;
|
||||
|
||||
gain_slider = manage (new VSliderController (slider, rail,
|
||||
gain_slider = manage (new VSliderController (slider,
|
||||
&gain_adjustment,
|
||||
_io->gain_control(),
|
||||
false));
|
||||
|
BIN
gtk2_ardour/icons/fader_belt.png
Normal file
BIN
gtk2_ardour/icons/fader_belt.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 568 B |
Binary file not shown.
Before Width: | Height: | Size: 359 B |
Binary file not shown.
Before Width: | Height: | Size: 354 B |
Loading…
Reference in New Issue
Block a user