mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-14 15:48:21 +02:00
Remove duplicate function (caused by merge).
This commit is contained in:
parent
cde80d1918
commit
dc5b6819ae
@ -241,19 +241,6 @@ void AColor::Bevel2(wxDC & dc, bool up, const wxRect & r)
|
|||||||
Bmp.GetWidth() - r.width/2, 0 );
|
Bmp.GetWidth() - r.width/2, 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
void AColor::Bevel2(wxDC & dc, bool up, const wxRect & r)
|
|
||||||
{
|
|
||||||
wxBitmap & Bmp = theTheme.Bitmap( up ? bmpUpButtonExpand : bmpDownButtonExpand );
|
|
||||||
wxMemoryDC memDC;
|
|
||||||
memDC.SelectObject(Bmp);
|
|
||||||
int h = wxMin( r.height, Bmp.GetHeight() );
|
|
||||||
|
|
||||||
|
|
||||||
dc.Blit( r.x,r.y,r.width/2, h, &memDC, 0, 0 );
|
|
||||||
dc.Blit( r.x+r.width/2,r.y,r.width/2, h, &memDC,
|
|
||||||
Bmp.GetWidth() - r.width/2, 0 );
|
|
||||||
}
|
|
||||||
|
|
||||||
wxColour AColor::Blend( const wxColour & c1, const wxColour & c2 )
|
wxColour AColor::Blend( const wxColour & c1, const wxColour & c2 )
|
||||||
{
|
{
|
||||||
wxColour c3(
|
wxColour c3(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user