mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-05 22:28:57 +02:00
Use Steve's Pinned/Unpinned button images.
I've also added in the red versions (for recording) into the built in theme.
This commit is contained in:
parent
7c7fc55bc2
commit
53843c72a2
@ -126,8 +126,10 @@ from there. Audacity will look for a file called "Pause.png".
|
||||
DEFINE_IMAGE( bmpMic, wxImage( 25, 25 ), wxT("Mic"));
|
||||
DEFINE_IMAGE( bmpSpeaker, wxImage( 25, 25 ), wxT("Speaker"));
|
||||
|
||||
DEFINE_IMAGE( bmpPinnedPlayRecordHead, wxImage( 27, 27 ), wxT("PinnedPlayRecordHead"));
|
||||
DEFINE_IMAGE( bmpUnpinnedPlayRecordHead, wxImage( 27, 27 ), wxT("UnpinnedPlayRecordHead"));
|
||||
DEFINE_IMAGE( bmpPinnedPlayHead, wxImage( 27, 27 ), wxT("PinnedPlayHead"));
|
||||
DEFINE_IMAGE( bmpUnpinnedPlayHead, wxImage( 27, 27 ), wxT("UnpinnedPlayHead"));
|
||||
DEFINE_IMAGE( bmpPinnedRecordHead, wxImage( 27, 27 ), wxT("PinnedRecordHead"));
|
||||
DEFINE_IMAGE( bmpUnpinnedRecordHead, wxImage( 27, 27 ), wxT("UnpinnedRecordHead"));
|
||||
|
||||
SET_THEME_FLAGS( resFlagPaired );
|
||||
DEFINE_IMAGE( bmpZoomFit, wxImage( 27, 27 ), wxT("ZoomFit"));
|
||||
|
8751
src/ThemeAsCeeCode.h
8751
src/ThemeAsCeeCode.h
File diff suppressed because it is too large
Load Diff
@ -2095,11 +2095,11 @@ void AdornedRulerPanel::ReCreateButtons()
|
||||
mButtons[iButton++] = button;
|
||||
return button;
|
||||
};
|
||||
auto button = buttonMaker(OnTogglePinnedStateID, bmpPinnedPlayRecordHead, false);
|
||||
auto button = buttonMaker(OnTogglePinnedStateID, bmpPinnedPlayHead, false);
|
||||
ToolBar::MakeAlternateImages(
|
||||
*button, 1,
|
||||
bmpRecoloredUpSmall, bmpRecoloredDownSmall, bmpRecoloredHiliteSmall,
|
||||
bmpUnpinnedPlayRecordHead, bmpUnpinnedPlayRecordHead, bmpUnpinnedPlayRecordHead,
|
||||
bmpUnpinnedPlayHead, bmpUnpinnedPlayHead, bmpUnpinnedPlayHead,
|
||||
size);
|
||||
|
||||
UpdateButtonStates();
|
||||
|
Loading…
x
Reference in New Issue
Block a user