Switch Karaoke mode button, join button and split button to new icons..

Originally committed to SVN as r3385.
This commit is contained in:
Amar Takhar 2009-08-11 06:07:19 +00:00
parent 24c25d01e3
commit e046f753d9
2 changed files with 4 additions and 4 deletions

View file

@ -200,12 +200,12 @@ wxPanel(parent,-1,wxDefaultPosition,wxDefaultSize,wxTAB_TRAVERSAL|wxBORDER_RAISE
audioKaraoke->box = this; audioKaraoke->box = this;
audioKaraoke->display = audioDisplay; audioKaraoke->display = audioDisplay;
audioDisplay->karaoke = audioKaraoke; audioDisplay->karaoke = audioKaraoke;
KaraokeButton = new wxToggleButton(this,Audio_Button_Karaoke,_("Karaoke"),wxDefaultPosition,wxSize(-1,-1)); KaraokeButton = new wxBitmapToggleButton(this,Audio_Button_Karaoke,GETIMAGE(kara_mode_24),wxDefaultPosition,wxSize(33,30));
KaraokeButton->SetToolTip(_("Toggle karaoke mode")); KaraokeButton->SetToolTip(_("Toggle karaoke mode"));
karaokeSizer->Add(KaraokeButton,0,wxRIGHT|wxEXPAND,0); karaokeSizer->Add(KaraokeButton,0,wxRIGHT|wxEXPAND,0);
JoinButton = new wxButton(this,Audio_Button_Join,_T(""),wxDefaultPosition,wxSize(-1,10)); JoinButton = new wxBitmapButton(this,Audio_Button_Join,GETIMAGE(kara_join_24),wxDefaultPosition,wxSize(33,30));
karaokeSizer->Add(JoinButton,0,wxRIGHT|wxEXPAND,0); karaokeSizer->Add(JoinButton,0,wxRIGHT|wxEXPAND,0);
SplitButton = new wxButton(this,Audio_Button_Split,_T(""),wxDefaultPosition,wxSize(-1,-1)); SplitButton = new wxBitmapButton(this,Audio_Button_Split,GETIMAGE(kara_split_24),wxDefaultPosition,wxSize(33,30));
karaokeSizer->Add(SplitButton,0,wxRIGHT|wxEXPAND,5); karaokeSizer->Add(SplitButton,0,wxRIGHT|wxEXPAND,5);
karaokeSizer->Add(audioKaraoke,1,wxEXPAND,0); karaokeSizer->Add(audioKaraoke,1,wxEXPAND,0);
SetKaraokeButtons(); // labels, hints and enabled-ness for join/split buttons set here SetKaraokeButtons(); // labels, hints and enabled-ness for join/split buttons set here

View file

@ -168,7 +168,7 @@ public:
AudioKaraoke *audioKaraoke; AudioKaraoke *audioKaraoke;
/// DOCME /// DOCME
wxToggleButton *KaraokeButton; wxBitmapToggleButton *KaraokeButton;
/// DOCME /// DOCME
FrameMain *frameMain; FrameMain *frameMain;