| 144 | } |
| 145 | |
| 146 | void AudioSetupToolBar::MakeAudioSetupButton() |
| 147 | { |
| 148 | const auto size = wxSize{-1, (toolbarSingle - toolbarMargin ) * 2 }; |
| 149 | mAudioSetup = safenew AButton(this, ID_AUDIO_SETUP_BUTTON); |
| 150 | //i18n-hint: Audio setup button text, keep as short as possible |
| 151 | mAudioSetup->SetLabel(XO("Audio Setup")); |
| 152 | mAudioSetup->SetButtonType(AButton::FrameTextVButton); |
| 153 | mAudioSetup->SetImages( |
| 154 | theTheme.Image(bmpRecoloredUpSmall), |
| 155 | theTheme.Image(bmpRecoloredUpHiliteSmall), |
| 156 | theTheme.Image(bmpRecoloredDownSmall), |
| 157 | theTheme.Image(bmpRecoloredHiliteSmall), |
| 158 | theTheme.Image(bmpRecoloredUpSmall)); |
| 159 | mAudioSetup->SetIcon(theTheme.Image(bmpSetup)); |
| 160 | mAudioSetup->SetForegroundColour(theTheme.Colour(clrTrackPanelText)); |
| 161 | mAudioSetup->SetMinSize(size); |
| 162 | mAudioSetup->SetMaxSize(size); |
| 163 | } |
| 164 | |
| 165 | void AudioSetupToolBar::ArrangeButtons() |
| 166 | { |
nothing calls this directly
no test coverage detected