#include <CtrlLibraryView.h>
Inheritance diagram for CLibraryView:
Public Member Functions | |
CLibraryView () | |
virtual | ~CLibraryView () |
virtual BOOL | CheckAvailable (CLibraryTreeItem *pSel) |
virtual void | GetHeaderContent (int &nImage, CString &strTitle) |
virtual void | Update () |
virtual BOOL | Select (DWORD nObject) |
virtual void | CacheSelection () |
virtual BOOL | Create (CWnd *pParentWnd) |
Public Attributes | |
UINT | m_nCommandID |
LPCTSTR | m_pszToolBar |
BOOL | m_bAvailable |
CLibraryList | m_pSelection |
Protected Member Functions | |
void | PostUpdate () |
CLibraryFrame * | GetFrame () const |
CLibraryTipCtrl * | GetToolTip () const |
DWORD | GetFolderCookie () const |
CLibraryTreeItem * | GetFolderSelection () const |
CAlbumFolder * | GetSelectedAlbum (CLibraryTreeItem *pSel=NULL) const |
void | DragObjects (CImageList *pImage, const CPoint &ptMouse) |
BOOL | SelAdd (DWORD nObject, BOOL bNotify=TRUE) |
BOOL | SelRemove (DWORD nObject, BOOL bNotify=TRUE) |
BOOL | SelClear (BOOL bNotify=TRUE) |
int | GetSelectedCount () const |
|
Definition at line 53 of file CtrlLibraryView.cpp. References ID_LIBRARY_VIEW, and NULL. |
|
Definition at line 60 of file CtrlLibraryView.cpp. |
|
Reimplemented in CLibraryDetailView. Definition at line 127 of file CtrlLibraryView.cpp. |
|
Reimplemented in CLibraryCollectionView, CLibraryFileView, CLibraryHomeView, and CLibraryTileView. Definition at line 74 of file CtrlLibraryView.cpp. References m_bAvailable. Referenced by CLibraryFrame::Update(). |
|
Reimplemented in CLibraryDetailView. Definition at line 67 of file CtrlLibraryView.cpp. References IDC_LIBRARY_VIEW, NULL, and SelClear(). Referenced by CLibraryHomeView::OnCreate(). |
|
Definition at line 169 of file CtrlLibraryView.cpp. References CLibraryList::AddTail(), CLibraryFrame::DragObjects(), CLibraryList::GetHeadPosition(), CLibraryList::GetNext(), GetSelectedCount(), and m_pSelection. Referenced by CLibraryDetailView::OnBeginDrag(), CLibraryTileView::StartDragging(), CLibraryThumbView::StartDragging(), and CLibraryAlbumView::StartDragging(). |
|
Definition at line 151 of file CtrlLibraryView.cpp. References GetFrame(). Referenced by CLibraryTileView::Update(), CLibraryThumbView::Update(), CLibraryDetailView::Update(), and CLibraryAlbumView::Update(). |
|
Definition at line 156 of file CtrlLibraryView.cpp. References GetFrame(). Referenced by GetHeaderContent(), GetSelectedAlbum(), CLibraryFileView::OnLibraryUnlink(), CLibraryFileView::OnUpdateLibraryUnlink(), CLibraryTileView::Update(), CLibraryDetailView::Update(), and CLibraryAlbumView::Update(). |
|
Definition at line 139 of file CtrlLibraryView.cpp. Referenced by GetFolderCookie(), GetFolderSelection(), GetToolTip(), CLibraryTileView::OnLibraryAlbumOpen(), CLibraryTileView::OnLibraryAlbumProperties(), and CLibraryCollectionView::OnWebContextMenu(). |
|
Reimplemented in CLibraryHomeView. Definition at line 79 of file CtrlLibraryView.cpp. References GetFolderSelection(), IDS_LIBHEAD_EXPLORE_FOLDER, IDS_LIBHEAD_EXPLORE_MANY, LoadString(), CShareazaApp::m_bRTL, CSchema::m_nIcon16, CLibraryTreeItem::m_pParent, CAlbumFolder::m_pSchema, CLibraryTreeItem::m_pVirtual, CLibraryTreeItem::m_sText, SHI_FOLDER_OPEN, and theApp. Referenced by CLibraryHeaderBar::Update(). |
|
Definition at line 161 of file CtrlLibraryView.cpp. References GetFolderSelection(), CLibraryTreeItem::m_pSelNext, CLibraryTreeItem::m_pVirtual, and NULL. Referenced by CLibraryCollectionView::CheckAvailable(), and CLibraryCollectionView::Update(). |
|
|
Definition at line 146 of file CtrlLibraryView.cpp. References GetFrame(). Referenced by CLibraryFileView::OnKeyDown(), CLibraryFileView::OnLButtonDown(), CLibraryFileView::OnMouseMove(), CLibraryFileView::OnRButtonDown(), and CLibraryCollectionView::OnWebContextMenu(). |
|
Definition at line 134 of file CtrlLibraryView.cpp. References ID_LIBRARY_REFRESH. Referenced by CLibraryTileView::OnLibraryAlbumDelete(), CLibraryCollectionView::OnLibraryFolderDownload(), and CLibraryDetailView::SetViewSchema(). |
|
|
Definition at line 212 of file CtrlLibraryView.cpp. References CLibraryList::GetCount(), m_pSelection, CLibraryFrame::OnViewSelection(), and CLibraryList::RemoveAll(). Referenced by CLibraryDetailView::CacheSelection(), CLibraryTileView::Clear(), CLibraryThumbView::Clear(), CLibraryAlbumView::Clear(), Create(), CLibraryDetailView::Create(), CLibraryDetailView::OnItemChanged(), and CLibraryCollectionView::OnWebContextMenu(). |
|
Reimplemented in CLibraryAlbumView, CLibraryDetailView, CLibraryThumbView, and CLibraryTileView. Definition at line 122 of file CtrlLibraryView.cpp. Referenced by CLibraryFrame::Select(). |
|
Definition at line 197 of file CtrlLibraryView.cpp. References CLibraryList::Find(), m_pSelection, NULL, CLibraryFrame::OnViewSelection(), and CLibraryList::RemoveAt(). Referenced by CLibraryDetailView::OnItemChanged(), CLibraryDetailView::OnItemRangeChanged(), CLibraryTileView::Select(), CLibraryThumbView::Select(), CLibraryAlbumView::Select(), and CLibraryDetailView::Update(). |
|
Reimplemented in CLibraryAlbumView, CLibraryCollectionView, CLibraryDetailView, CLibraryHomeView, CLibraryThumbView, and CLibraryTileView. Definition at line 118 of file CtrlLibraryView.cpp. |
|
Definition at line 46 of file CtrlLibraryView.h. Referenced by CheckAvailable(), CLibraryTileView::CheckAvailable(), CLibraryHomeView::CheckAvailable(), CLibraryFileView::CheckAvailable(), CLibraryCollectionView::CheckAvailable(), CLibraryHeaderBar::OnLibraryView(), and CLibraryFrame::Update(). |
|
Definition at line 44 of file CtrlLibraryView.h. Referenced by CLibraryHeaderBar::OnLibraryView(), and CLibraryHeaderBar::Update(). |
|
Definition at line 48 of file CtrlLibraryView.h. Referenced by DragObjects(), CLibraryFileView::GetNextSelectedFile(), GetSelectedCount(), CLibraryFileView::GetSelectedFile(), CLibraryFileView::OnUpdateLibraryRebuildAnsi(), SelAdd(), SelClear(), SelRemove(), CLibraryFileView::StartSelectedFileLoop(), and CLibraryFrame::UpdatePanel(). |
|
Definition at line 45 of file CtrlLibraryView.h. Referenced by CLibraryTileView::OnContextMenu(), and CLibraryFileView::OnContextMenu(). |