1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-24 23:33:50 +02:00

Draw the Quick Pay and Scub Bar pushbuttons

This commit is contained in:
Paul Licameli
2016-04-30 13:48:04 -04:00
parent e1352d599f
commit 055c33459c
4 changed files with 119 additions and 7 deletions

View File

@@ -183,7 +183,7 @@ void AColor::DrawFocus(wxDC & dc, wxRect & rect)
dc.SetLogicalFunction(wxCOPY);
}
void AColor::Bevel(wxDC & dc, bool up, wxRect & r)
void AColor::Bevel(wxDC & dc, bool up, const wxRect & r)
{
if (up)
AColor::Light(&dc, false);
@@ -211,7 +211,7 @@ wxColour AColor::Blend( const wxColour & c1, const wxColour & c2 )
return c3;
}
void AColor::BevelTrackInfo(wxDC & dc, bool up, wxRect & r)
void AColor::BevelTrackInfo(wxDC & dc, bool up, const wxRect & r)
{
#ifndef EXPERIMENTAL_THEMING
Bevel( dc, up, r );