mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Add rotated pip
Also remove dead code from theming.
This commit is contained in:
@@ -656,9 +656,10 @@ void LWSlider::Draw(wxDC & paintDC)
|
||||
|
||||
|
||||
if (mOrientation == wxVERTICAL){
|
||||
wxImage img(theTheme.Bitmap( bmpSliderThumb ).ConvertToImage() );
|
||||
wxImage img2 = img.Rotate90(false);
|
||||
mThumbBitmap = std::make_unique<wxBitmap>(wxBitmap( img2));
|
||||
// wxImage img(theTheme.Bitmap( bmpSliderThumb ).ConvertToImage() );
|
||||
// wxImage img2 = img.Rotate90(false);
|
||||
// mThumbBitmap = std::make_unique<wxBitmap>(wxBitmap( img2));
|
||||
mThumbBitmap = std::make_unique<wxBitmap>(wxBitmap( theTheme.Bitmap( bmpSliderThumbRotated )));
|
||||
}
|
||||
else
|
||||
mThumbBitmap = std::make_unique<wxBitmap>(wxBitmap( theTheme.Bitmap( bmpSliderThumb )));
|
||||
|
||||
Reference in New Issue
Block a user