mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-24 23:33:50 +02:00
TCP buttons can distinguish up and down highlight backgrounds...
... But make them nondistinct in all themes, so this commit does not yet make user visible changes. This uses the HiliteButtonExpandSel resource which was previously unused. Perhaps not the intended use of the resource so named, but names can change in 2.2.1. The two were already alike in Classic but the unused one had been just black in the others.
This commit is contained in:
@@ -238,7 +238,7 @@ void AColor::Bevel2
|
||||
{
|
||||
int index = 0;
|
||||
if ( bHighlight )
|
||||
index = bmpHiliteButtonExpand;
|
||||
index = up ? bmpHiliteButtonExpand : bmpHiliteButtonExpandSel;
|
||||
else if( bSel )
|
||||
index = up ? bmpUpButtonExpandSel : bmpDownButtonExpandSel;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user