#include <CtrlMediaList.h>
Public Member Functions | |
CMediaListCtrl () | |
virtual | ~CMediaListCtrl () |
BOOL | Open (LPCTSTR pszFile) |
BOOL | Enqueue (LPCTSTR pszFile, BOOL bStart=TRUE) |
int | RecursiveEnqueue (LPCTSTR pszPath) |
void | Remove (LPCTSTR pszFile) |
BOOL | LoadTextList (LPCTSTR pszFile) |
int | GetCount () |
void | Clear () |
int | GetCurrent () |
void | SetCurrent (int nCurrent) |
int | GetNext (BOOL bSet=TRUE) |
void | Reset (BOOL bNext=TRUE) |
CString | GetPath (int nItem) |
virtual BOOL | Create (CWnd *pParentWnd, UINT nID) |
Protected Member Functions | |
int | Add (LPCTSTR pszPath, int nItem=-1) |
void | Remove (int nItem) |
afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
afx_msg void | OnDoubleClick (NMHDR *pNMHDR, LRESULT *pResult) |
afx_msg void | OnContextMenu (CWnd *pWnd, CPoint point) |
afx_msg void | OnMediaAdd () |
afx_msg void | OnUpdateMediaRemove (CCmdUI *pCmdUI) |
afx_msg void | OnMediaRemove () |
afx_msg void | OnUpdateMediaClear (CCmdUI *pCmdUI) |
afx_msg void | OnMediaClear () |
afx_msg void | OnUpdateMediaSelect (CCmdUI *pCmdUI) |
afx_msg void | OnMediaSelect () |
afx_msg void | OnUpdateMediaSave (CCmdUI *pCmdUI) |
afx_msg void | OnMediaSave () |
afx_msg void | OnMediaOpen () |
afx_msg void | OnUpdateMediaPrevious (CCmdUI *pCmdUI) |
afx_msg void | OnMediaPrevious () |
afx_msg void | OnUpdateMediaNext (CCmdUI *pCmdUI) |
afx_msg void | OnMediaNext () |
afx_msg void | OnKeyDown (NMHDR *pNMHDR, LRESULT *pResult) |
afx_msg void | OnSize (UINT nType, int cx, int cy) |
afx_msg void | OnBeginDrag (NMHDR *pNMHDR, LRESULT *pResult) |
afx_msg void | OnMouseMove (UINT nFlags, CPoint point) |
afx_msg void | OnLButtonUp (UINT nFlags, CPoint point) |
afx_msg void | OnUpdateMediaRepeat (CCmdUI *pCmdUI) |
afx_msg void | OnMediaRepeat () |
afx_msg void | OnUpdateMediaRandom (CCmdUI *pCmdUI) |
afx_msg void | OnMediaRandom () |
afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnRButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnMediaAddFolder () |
afx_msg void | OnCustomDraw (NMLVCUSTOMDRAW *pNotify, LRESULT *pResult) |
Protected Attributes | |
CImageList * | m_pDragImage |
int | m_nDragDrop |
BOOL | m_bCreateDragImage |
CLibraryTipCtrl | m_wndTip |
|
Definition at line 83 of file CtrlMediaList.cpp. References NULL. |
|
Definition at line 89 of file CtrlMediaList.cpp. |
|
Definition at line 218 of file CtrlMediaList.cpp. References CShellIcons::Get(), Library, LibraryMaps, CLibraryMaps::LookupFileByPath(), CLibrary::m_pSection, and ShellIcons. Referenced by Enqueue(), and OnLButtonUp(). |
|
Definition at line 267 of file CtrlMediaList.cpp. References SetCurrent(). Referenced by OnMediaClear(), CMediaFrame::OnMediaClose(), and Open(). |
|
Definition at line 96 of file CtrlMediaList.cpp. Referenced by CMediaFrame::OnCreate(). |
|
Definition at line 118 of file CtrlMediaList.cpp. References _tcsistr(), Add(), GetNext(), LoadTextList(), and NULL. Referenced by CMediaFrame::EnqueueFile(), LoadTextList(), OnMediaAdd(), Open(), and RecursiveEnqueue(). |
|
Definition at line 262 of file CtrlMediaList.cpp. Referenced by CMediaFrame::OnMediaPlay(), and CMediaFrame::UpdateState(). |
|
Definition at line 273 of file CtrlMediaList.cpp. References STATE_CURRENT. Referenced by GetNext(), OnMediaPrevious(), CMediaFrame::OnNewCurrent(), and OnUpdateMediaPrevious(). |
|
Definition at line 302 of file CtrlMediaList.cpp. References GetCurrent(), CSettings::MediaPlayer, CSettings::sMediaPlayer::Random, SetCurrent(), Settings, and STATE_PLAYED. Referenced by Enqueue(), OnMediaAdd(), OnMediaAddFolder(), OnMediaNext(), CMediaFrame::OnMediaPlay(), CMediaFrame::OnNewCurrent(), Open(), and CMediaFrame::UpdateState(). |
|
Definition at line 347 of file CtrlMediaList.cpp. Referenced by CMediaFrame::OnNewCurrent(), and SetCurrent(). |
|
Definition at line 183 of file CtrlMediaList.cpp. References Enqueue(), CBuffer::EnsureBuffer(), CBuffer::m_nLength, CBuffer::m_pBuffer, and CBuffer::ReadLine(). Referenced by Enqueue(). |
|
Definition at line 440 of file CtrlMediaList.cpp. References CLiveList::CreateDragImage(), CCoolTipCtrl::Hide(), m_bCreateDragImage, m_nDragDrop, m_pDragImage, m_wndTip, and NULL. |
|
Definition at line 422 of file CtrlMediaList.cpp. References ID_MEDIA_SELECT, Skin, and CSkin::TrackPopupMenu(). |
|
Definition at line 357 of file CtrlMediaList.cpp. References CCoolTipCtrl::Create(), CShellIcons::GetObject(), CSettings::Interface, m_wndTip, Settings, ShellIcons, and CSettings::sInterface::TipMedia. |
|
Definition at line 386 of file CtrlMediaList.cpp. References m_bCreateDragImage, and STATE_CURRENT. |
|
Definition at line 416 of file CtrlMediaList.cpp. References OnMediaSelect(). |
|
Definition at line 427 of file CtrlMediaList.cpp. References CCoolTipCtrl::Hide(), ID_MEDIA_REMOVE, ID_MEDIA_SELECT, and m_wndTip. |
|
Definition at line 470 of file CtrlMediaList.cpp. References CCoolTipCtrl::Hide(), and m_wndTip. |
|
Definition at line 519 of file CtrlMediaList.cpp. References Add(), m_nDragDrop, m_pDragImage, and NULL. |
|
Definition at line 583 of file CtrlMediaList.cpp. References Enqueue(), GetNext(), IDS_MEDIA_FILTER, CSkin::LoadString(), NULL, OFN_ENABLESIZING, and Skin. |
|
Definition at line 621 of file CtrlMediaList.cpp. References GetNext(), NULL, and RecursiveEnqueue(). |
|
Definition at line 669 of file CtrlMediaList.cpp. References Clear(). |
|
Definition at line 738 of file CtrlMediaList.cpp. References GetNext(). |
|
Definition at line 674 of file CtrlMediaList.cpp. References IDS_MEDIA_FILTER, CSkin::LoadString(), NULL, OFN_ENABLESIZING, Open(), and Skin. |
|
Definition at line 727 of file CtrlMediaList.cpp. References GetCurrent(), and SetCurrent(). |
|
Definition at line 758 of file CtrlMediaList.cpp. References CSettings::MediaPlayer, CSettings::sMediaPlayer::Random, and Settings. |
|
Definition at line 656 of file CtrlMediaList.cpp. References Remove(). |
|
Definition at line 748 of file CtrlMediaList.cpp. References CSettings::MediaPlayer, CSettings::sMediaPlayer::Repeat, and Settings. |
|
Definition at line 690 of file CtrlMediaList.cpp. References NULL, and OFN_ENABLESIZING. |
|
Definition at line 571 of file CtrlMediaList.cpp. References SetCurrent(). Referenced by OnDoubleClick(). |
|
Definition at line 482 of file CtrlMediaList.cpp. References CCoolTipCtrl::Hide(), Library, CLibrary::LookupFile(), m_nDragDrop, m_pDragImage, m_wndTip, NULL, and CCoolTipCtrl::Show(). |
|
Definition at line 476 of file CtrlMediaList.cpp. References CCoolTipCtrl::Hide(), and m_wndTip. |
|
Definition at line 373 of file CtrlMediaList.cpp. |
|
Definition at line 664 of file CtrlMediaList.cpp. |
|
Definition at line 733 of file CtrlMediaList.cpp. |
|
Definition at line 722 of file CtrlMediaList.cpp. References GetCurrent(). |
|
Definition at line 753 of file CtrlMediaList.cpp. References CSettings::MediaPlayer, CSettings::sMediaPlayer::Random, and Settings. |
|
Definition at line 651 of file CtrlMediaList.cpp. |
|
Definition at line 743 of file CtrlMediaList.cpp. References CSettings::MediaPlayer, CSettings::sMediaPlayer::Repeat, and Settings. |
|
Definition at line 685 of file CtrlMediaList.cpp. |
|
Definition at line 566 of file CtrlMediaList.cpp. |
|
Definition at line 105 of file CtrlMediaList.cpp. References Clear(), Enqueue(), and GetNext(). Referenced by OnMediaOpen(), and CMediaFrame::PlayFile(). |
|
Definition at line 135 of file CtrlMediaList.cpp. References Enqueue(). Referenced by OnMediaAddFolder(). |
|
Definition at line 172 of file CtrlMediaList.cpp. References Remove(). |
|
Definition at line 252 of file CtrlMediaList.cpp. References SetCurrent(), and STATE_CURRENT. Referenced by OnMediaRemove(), and Remove(). |
|
Definition at line 340 of file CtrlMediaList.cpp. References SetCurrent(), and STATE_PLAYED. Referenced by CMediaFrame::OnMediaStop(), and CMediaFrame::OnNewCurrent(). |
|
Definition at line 283 of file CtrlMediaList.cpp. References GetPath(), MLN_NEWCURRENT, and STATE_CURRENT. Referenced by Clear(), GetNext(), OnMediaPrevious(), OnMediaSelect(), CMediaFrame::OnNewCurrent(), Remove(), and Reset(). |
|
Definition at line 43 of file CtrlMediaList.h. Referenced by OnBeginDrag(), and OnCustomDraw(). |
|
Definition at line 42 of file CtrlMediaList.h. Referenced by OnBeginDrag(), OnLButtonUp(), and OnMouseMove(). |
|
Definition at line 41 of file CtrlMediaList.h. Referenced by OnBeginDrag(), OnLButtonUp(), and OnMouseMove(). |
|
Definition at line 45 of file CtrlMediaList.h. Referenced by OnBeginDrag(), OnCreate(), OnKeyDown(), OnLButtonDown(), OnMouseMove(), and OnRButtonDown(). |