mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-06 14:35:32 +01:00
Add Hover-Over-Down State for Button
Previously hovering over a down button made no difference. Also tweaked the appearance of hover-over thumbs on dark theme sliders. Also tweaked hover images and colours generally. Classic retains the old style. Hi Contrast does not distinguish between hover-up and hover-down.
This commit is contained in:
@@ -144,7 +144,7 @@ AButton *TranscriptionToolBar::AddButton(
|
||||
AButton *&r = mButtons[id];
|
||||
|
||||
r = ToolBar::MakeButton(this,
|
||||
bmpRecoloredUpSmall, bmpRecoloredDownSmall, bmpRecoloredHiliteSmall,
|
||||
bmpRecoloredUpSmall, bmpRecoloredDownSmall, bmpRecoloredUpHiliteSmall,bmpRecoloredHiliteSmall,
|
||||
eFore, eFore, eDisabled,
|
||||
wxWindowID(id),
|
||||
wxDefaultPosition,
|
||||
@@ -165,7 +165,7 @@ void TranscriptionToolBar::MakeAlternateImages(
|
||||
int id, unsigned altIdx)
|
||||
{
|
||||
ToolBar::MakeAlternateImages(*mButtons[id], altIdx,
|
||||
bmpRecoloredUpSmall, bmpRecoloredDownSmall, bmpRecoloredHiliteSmall,
|
||||
bmpRecoloredUpSmall, bmpRecoloredDownSmall, bmpRecoloredUpHiliteSmall,bmpRecoloredHiliteSmall,
|
||||
eFore, eFore, eDisabled,
|
||||
theTheme.ImageSize( bmpRecoloredUpSmall ));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user