no real change: just follow wx typical commenting style and separe // from the following characters with a space
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -330,8 +330,8 @@ public:
|
|||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// wxPlayListDropTarget
|
// wxPlayListDropTarget
|
||||||
//
|
//
|
||||||
// Drop target for playlist (i.e. user drags a file from explorer unto
|
// Drop target for playlist (i.e. allows users to drag a file from explorer into
|
||||||
// playlist it adds the file)
|
// the playlist to add that file)
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
#if wxUSE_DRAG_AND_DROP
|
#if wxUSE_DRAG_AND_DROP
|
||||||
class wxPlayListDropTarget : public wxFileDropTarget
|
class wxPlayListDropTarget : public wxFileDropTarget
|
||||||
@@ -813,14 +813,14 @@ void wxMediaPlayerFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
|
|||||||
wxString msg;
|
wxString msg;
|
||||||
msg.Printf( wxT("This is a test of wxMediaCtrl.\n\n")
|
msg.Printf( wxT("This is a test of wxMediaCtrl.\n\n")
|
||||||
|
|
||||||
wxT("Intructions:\n")
|
wxT("Instructions:\n")
|
||||||
|
|
||||||
wxT("The top slider shows the current the current position, ")
|
wxT("The top slider shows the current the current position, ")
|
||||||
wxT("which you can change by dragging and releasing it.\n")
|
wxT("which you can change by dragging and releasing it.\n")
|
||||||
|
|
||||||
wxT("The gauge (progress bar) shows the progress in ")
|
wxT("The gauge (progress bar) shows the progress in ")
|
||||||
wxT("downloading data of the current file - it may always be ")
|
wxT("downloading data of the current file - it may always be ")
|
||||||
wxT("Empty due to lack of support from the current backend.\n")
|
wxT("empty due to lack of support from the current backend.\n")
|
||||||
|
|
||||||
wxT("The lower-left slider controls the volume and the lower-")
|
wxT("The lower-left slider controls the volume and the lower-")
|
||||||
wxT("right slider controls the playback rate/speed of the ")
|
wxT("right slider controls the playback rate/speed of the ")
|
||||||
@@ -1547,7 +1547,7 @@ wxMediaPlayerNotebookPage::wxMediaPlayerNotebookPage(wxMediaPlayerFrame* parentF
|
|||||||
// Make sure creation was successful
|
// Make sure creation was successful
|
||||||
bool bOK = m_mediactrl->Create(this, wxID_MEDIACTRL, wxEmptyString,
|
bool bOK = m_mediactrl->Create(this, wxID_MEDIACTRL, wxEmptyString,
|
||||||
wxDefaultPosition, wxDefaultSize, 0,
|
wxDefaultPosition, wxDefaultSize, 0,
|
||||||
//you could specify a macrod backend here like
|
// you could specify a macro backend here like
|
||||||
// wxMEDIABACKEND_WMP10);
|
// wxMEDIABACKEND_WMP10);
|
||||||
// wxT("wxPDFMediaBackend"));
|
// wxT("wxPDFMediaBackend"));
|
||||||
szBackend);
|
szBackend);
|
||||||
@@ -1613,11 +1613,18 @@ wxMediaPlayerNotebookPage::wxMediaPlayerNotebookPage(wxMediaPlayerFrame* parentF
|
|||||||
m_vuButton = new wxButton();
|
m_vuButton = new wxButton();
|
||||||
|
|
||||||
m_prevButton->Create(this, wxID_BUTTONPREV, wxT("|<"));
|
m_prevButton->Create(this, wxID_BUTTONPREV, wxT("|<"));
|
||||||
|
m_prevButton->SetToolTip("Previous");
|
||||||
m_playButton->Create(this, wxID_BUTTONPLAY, wxT(">"));
|
m_playButton->Create(this, wxID_BUTTONPLAY, wxT(">"));
|
||||||
|
m_playButton->SetToolTip("Play");
|
||||||
m_stopButton->Create(this, wxID_BUTTONSTOP, wxT("[]"));
|
m_stopButton->Create(this, wxID_BUTTONSTOP, wxT("[]"));
|
||||||
|
m_stopButton->SetToolTip("Stop");
|
||||||
m_nextButton->Create(this, wxID_BUTTONNEXT, wxT(">|"));
|
m_nextButton->Create(this, wxID_BUTTONNEXT, wxT(">|"));
|
||||||
|
m_nextButton->SetToolTip("Next");
|
||||||
m_vdButton->Create(this, wxID_BUTTONVD, wxT("(("));
|
m_vdButton->Create(this, wxID_BUTTONVD, wxT("(("));
|
||||||
|
m_vdButton->SetToolTip("Volume down");
|
||||||
m_vuButton->Create(this, wxID_BUTTONVU, wxT("))"));
|
m_vuButton->Create(this, wxID_BUTTONVU, wxT("))"));
|
||||||
|
m_vuButton->SetToolTip("Volume up");
|
||||||
|
|
||||||
vertsizer->Add(m_prevButton, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
vertsizer->Add(m_prevButton, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
||||||
vertsizer->Add(m_playButton, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
vertsizer->Add(m_playButton, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
||||||
vertsizer->Add(m_stopButton, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
vertsizer->Add(m_stopButton, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
|
||||||
|
Reference in New Issue
Block a user