mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-10 17:11:17 +02:00
Add rotated pip
Also remove dead code from theming.
This commit is contained in:
parent
603b5a8721
commit
f0db511724
@ -428,8 +428,6 @@ visit our [[http://forum.audacityteam.org/|forum]].");
|
||||
);
|
||||
|
||||
auto pPage = S.StartNotebookPage( _("Audacity") );
|
||||
//pPage->SetBackgroundColour(wxColour(0xAB, 0xAB,0xAB ));
|
||||
//pPage->SetBackgroundColour(theTheme.Colour( clrAboutBoxBackground ));
|
||||
S.StartVerticalLay(1);
|
||||
{
|
||||
//v For now, change to AudacityLogoWithName via old-fashioned way, not Theme.
|
||||
|
@ -81,8 +81,6 @@ SplashDialog::SplashDialog(wxWindow * parent)
|
||||
|
||||
void SplashDialog::Populate( ShuttleGui & S )
|
||||
{
|
||||
// this->SetBackgroundColour(theTheme.Colour( clrAboutBoxBackground ));
|
||||
// this->SetBackgroundColour(wxColour(0xAB, 0xAB,0xAB ));
|
||||
bool bShow;
|
||||
gPrefs->Read(wxT("/GUI/ShowSplashScreen"), &bShow, true );
|
||||
S.StartVerticalLay(1);
|
||||
|
@ -9318,21 +9318,19 @@ void TrackInfo::DrawBordersWithin(wxDC* dc, const wxRect & rect, bool bHasMuteSo
|
||||
|
||||
//#define USE_BEVELS
|
||||
|
||||
#ifdef USE_BEVELS
|
||||
void TrackInfo::DrawBackground(wxDC * dc, const wxRect & rect, bool bSelected,
|
||||
bool bHasMuteSolo, const int labelw, const int vrul) const
|
||||
#else
|
||||
void TrackInfo::DrawBackground(wxDC * dc, const wxRect & rect, bool bSelected,
|
||||
bool WXUNUSED(bHasMuteSolo), const int labelw, const int WXUNUSED(vrul)) const
|
||||
#endif
|
||||
{
|
||||
//compiler food.
|
||||
bHasMuteSolo;
|
||||
vrul;
|
||||
|
||||
// fill in label
|
||||
wxRect fill = rect;
|
||||
fill.width = labelw-4;
|
||||
AColor::MediumTrackInfo(dc, bSelected);
|
||||
dc->DrawRectangle(fill);
|
||||
|
||||
|
||||
#ifdef USE_BEVELS
|
||||
if( bHasMuteSolo )
|
||||
{
|
||||
|
@ -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 )));
|
||||
|
Loading…
x
Reference in New Issue
Block a user