#include <CtrlLibraryFrame.h>
Public Member Functions | |
CLibraryFrame () | |
virtual | ~CLibraryFrame () |
void | OnSkinChange () |
BOOL | Update (BOOL bForce=TRUE, BOOL bBestView=TRUE) |
BOOL | Display (CLibraryFolder *pFolder) |
BOOL | Display (CAlbumFolder *pFolder) |
BOOL | Display (CLibraryFile *pFile) |
BOOL | Select (DWORD nObject) |
void | DragObjects (CLibraryList *pList, CImageList *pImage, const CPoint &ptMouse) |
CLibraryTreeItem * | GetFolderSelection () const |
CLibraryList * | GetViewSelection () const |
virtual BOOL | Create (CWnd *pParentWnd) |
virtual BOOL | OnCmdMsg (UINT nID, int nCode, void *pExtra, AFX_CMDHANDLERINFO *pHandlerInfo) |
virtual BOOL | PreTranslateMessage (MSG *pMsg) |
Public Attributes | |
CLibraryTreeView | m_wndTree |
CLibraryHeaderPanel | m_wndHeader |
CCoolBarCtrl | m_wndTreeTop |
CCoolBarCtrl | m_wndTreeBottom |
CSchemaCombo | m_wndTreeTypes |
CLibraryHeaderBar | m_wndViewTop |
CCoolBarCtrl | m_wndViewBottom |
CLibraryTipCtrl | m_wndViewTip |
CEdit | m_wndSearch |
Protected Member Functions | |
BOOL | DoSizeTree () |
BOOL | DoSizePanel () |
void | UpdatePanel (BOOL bForce) |
void | SetView (CLibraryView *pView, BOOL bUpdate=TRUE, BOOL bUser=TRUE) |
void | SetPanel (CLibraryPanel *pPanel) |
void | CancelDrag () |
void | RunLocalSearch (CQuerySearch *pSearch) |
afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
afx_msg void | OnDestroy () |
afx_msg void | OnSize (UINT nType, int cx, int cy) |
afx_msg void | OnPaint () |
afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
afx_msg BOOL | OnSetCursor (CWnd *pWnd, UINT nHitTest, UINT message) |
afx_msg BOOL | OnMouseWheel (UINT nFlags, short zDelta, CPoint pt) |
afx_msg void | OnLibraryRefresh () |
afx_msg void | OnUpdateLibraryTreePhysical (CCmdUI *pCmdUI) |
afx_msg void | OnLibraryTreePhysical () |
afx_msg void | OnUpdateLibraryTreeVirtual (CCmdUI *pCmdUI) |
afx_msg void | OnLibraryTreeVirtual () |
afx_msg void | OnMouseMove (UINT nFlags, CPoint point) |
afx_msg void | OnLButtonUp (UINT nFlags, CPoint point) |
afx_msg void | OnRButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnTimer (UINT nIDEvent) |
afx_msg void | OnUpdateLibraryPanel (CCmdUI *pCmdUI) |
afx_msg void | OnLibraryPanel () |
afx_msg void | OnContextMenu (CWnd *pWnd, CPoint point) |
afx_msg void | OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags) |
afx_msg void | OnKeyUp (UINT nChar, UINT nRepCnt, UINT nFlags) |
afx_msg void | OnLibrarySearch () |
afx_msg void | OnMeasureItem (int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct) |
afx_msg void | OnLibrarySearchQuick () |
afx_msg void | OnTreeSelection (NMHDR *pNotify, LRESULT *pResult) |
afx_msg void | OnViewSelection () |
afx_msg void | OnFilterTypes () |
afx_msg void | OnToolbarReturn () |
afx_msg void | OnToolbarEscape () |
afx_msg void | OnSetFocus (CWnd *pOldWnd) |
Protected Attributes | |
CPtrList | m_pViews |
CLibraryView * | m_pView |
CPtrList | m_pPanels |
CLibraryPanel * | m_pPanel |
int | m_nTreeSize |
int | m_nPanelSize |
BOOL | m_bPanelShow |
int | m_nHeaderSize |
int | m_nTreeTypesHeight |
BOOL | m_bUpdating |
DWORD | m_nLibraryCookie |
DWORD | m_nFolderCookie |
CLibraryTreeItem * | m_pFolderSelection |
CLibraryList * | m_pViewSelection |
BOOL | m_bViewSelection |
CLibraryList | m_pViewEmpty |
CLibraryList * | m_pDragList |
CImageList * | m_pDragImage |
HCURSOR | m_hCursMove |
HCURSOR | m_hCursCopy |
Friends | |
class | CLibraryHeaderBar |
class | CLibraryHeaderPanel |
class | CLibraryView |
|
Definition at line 95 of file CtrlLibraryFrame.cpp. References IDC_COPY, IDC_MOVE, CSettings::Library, NULL, CSettings::sLibrary::PanelSize, Settings, CSettings::sLibrary::ShowPanel, theApp, and CSettings::sLibrary::TreeSize. |
|
Definition at line 123 of file CtrlLibraryFrame.cpp. |
|
Definition at line 935 of file CtrlLibraryFrame.cpp. References CLibraryTreeView::DropObjects(), Library, m_pDragImage, m_pDragList, CLibrary::m_pSection, m_wndTree, and NULL. Referenced by OnDestroy(), OnKeyDown(), and OnRButtonDown(). |
|
Definition at line 139 of file CtrlLibraryFrame.cpp. References IDC_LIBRARY_FRAME, and NULL. Referenced by CLibraryWnd::OnCreate(). |
|
Definition at line 834 of file CtrlLibraryFrame.cpp. References Display(), CSettings::sLibrary::FilterURI, CLibrary::GetAlbumRoot(), Library, CSettings::Library, Select(), Settings, and CSettings::sLibrary::ShowVirtual. |
|
Definition at line 828 of file CtrlLibraryFrame.cpp. References CSettings::Library, m_wndTree, OnLibraryTreeVirtual(), CLibraryTreeView::SelectFolder(), Settings, and CSettings::sLibrary::ShowVirtual. |
|
Definition at line 822 of file CtrlLibraryFrame.cpp. References CSettings::Library, m_wndTree, OnLibraryTreePhysical(), CLibraryTreeView::SelectFolder(), Settings, and CSettings::sLibrary::ShowVirtual. Referenced by CLibraryWnd::Display(), Display(), CMetaPanel::OnClick(), CLibraryHistoryPanel::OnClickFile(), CLibraryMetaPanel::OnLButtonUp(), CLibraryHeaderPanel::OnLButtonUp(), and RunLocalSearch(). |
|
Definition at line 569 of file CtrlLibraryFrame.cpp. References BAR_HEIGHT, m_nHeaderSize, m_nPanelSize, m_nTreeSize, NULL, OnSize(), and SPLIT_SIZE. Referenced by OnLButtonDown(). |
|
Definition at line 514 of file CtrlLibraryFrame.cpp. References m_nTreeSize, NULL, OnSize(), and SPLIT_SIZE. Referenced by OnLButtonDown(). |
|
Definition at line 910 of file CtrlLibraryFrame.cpp. References m_pDragImage, m_pDragList, NULL, and OnSetCursor(). Referenced by CLibraryView::DragObjects(), and CLibraryTreeCtrl::StartDragging(). |
|
Definition at line 865 of file CtrlLibraryFrame.cpp. References m_pFolderSelection. Referenced by CLibraryPanel::GetFolderSelection(). |
|
Definition at line 870 of file CtrlLibraryFrame.cpp. References m_pViewSelection. Referenced by CLibraryWnd::GetGenericView(), and CLibraryPanel::GetViewSelection(). |
|
Definition at line 253 of file CtrlLibraryFrame.cpp. References m_pPanel, m_pView, m_wndTree, m_wndTreeBottom, m_wndTreeTop, m_wndViewBottom, and m_wndViewTop. Referenced by CLibraryWnd::OnCmdMsg(). |
|
Definition at line 407 of file CtrlLibraryFrame.cpp. References m_pView. |
|
|
Definition at line 181 of file CtrlLibraryFrame.cpp. References CancelDrag(), CSettings::Library, m_bPanelShow, m_nPanelSize, m_nTreeSize, m_wndViewTip, CSettings::sLibrary::PanelSize, Settings, CSettings::sLibrary::ShowPanel, and CSettings::sLibrary::TreeSize. |
|
Definition at line 893 of file CtrlLibraryFrame.cpp. References CSettings::sLibrary::FilterURI, CSchemaCombo::GetSelected(), CSettings::Library, m_wndTreeTypes, Settings, and Update(). |
|
Definition at line 1009 of file CtrlLibraryFrame.cpp. References CancelDrag(), m_pDragList, NULL, and OnSetCursor(). |
|
Definition at line 1016 of file CtrlLibraryFrame.cpp. References m_pDragList, NULL, and OnSetCursor(). |
|
Definition at line 480 of file CtrlLibraryFrame.cpp. References BAR_HEIGHT, DoSizePanel(), DoSizeTree(), m_nPanelSize, m_nTreeSize, m_pPanel, NULL, and SPLIT_SIZE. |
|
Definition at line 963 of file CtrlLibraryFrame.cpp. References CLibraryTreeView::DropObjects(), Library, CSettings::Library, m_pDragImage, m_pDragList, CLibrary::m_pSection, m_wndTree, NULL, Settings, CSettings::sLibrary::ShowVirtual, and CLibrary::Update(). |
|
Definition at line 1066 of file CtrlLibraryFrame.cpp. References m_bPanelShow, m_pPanel, NULL, SetPanel(), and Update(). |
|
Definition at line 1055 of file CtrlLibraryFrame.cpp. References Update(). |
|
Definition at line 1080 of file CtrlLibraryFrame.cpp. References CNewSearchDlg::GetSearch(), NULL, and RunLocalSearch(). Referenced by OnLibrarySearchQuick(). |
|
Definition at line 1090 of file CtrlLibraryFrame.cpp. References CQuerySearch::m_sSearch, m_wndSearch, OnLibrarySearch(), and RunLocalSearch(). Referenced by OnToolbarReturn(). |
|
Definition at line 1030 of file CtrlLibraryFrame.cpp. References CSettings::Library, m_wndTreeBottom, OnSkinChange(), Settings, and CSettings::sLibrary::ShowVirtual. Referenced by Display(). |
|
Definition at line 1045 of file CtrlLibraryFrame.cpp. References CSettings::Library, m_wndTreeBottom, OnSkinChange(), Settings, and CSettings::sLibrary::ShowVirtual. Referenced by Display(). |
|
Definition at line 412 of file CtrlLibraryFrame.cpp. |
|
Definition at line 953 of file CtrlLibraryFrame.cpp. References CLibraryTreeView::DropShowTarget(), m_pDragImage, m_pDragList, m_wndTree, and NULL. |
|
|
|
Definition at line 359 of file CtrlLibraryFrame.cpp. References BAR_HEIGHT, CSettings::Library, m_nHeaderSize, m_nPanelSize, m_nTreeSize, m_nTreeTypesHeight, m_pPanel, NULL, Settings, CSettings::sLibrary::ShowVirtual, and SPLIT_SIZE. |
|
Definition at line 998 of file CtrlLibraryFrame.cpp. References CancelDrag(), m_pDragList, and NULL. |
|
Definition at line 420 of file CtrlLibraryFrame.cpp. References BAR_HEIGHT, CSettings::Library, CShareazaApp::m_bRTL, m_hCursCopy, m_hCursMove, m_nPanelSize, m_nTreeSize, m_pDragList, m_pPanel, NULL, Settings, CSettings::sLibrary::ShowVirtual, SPLIT_SIZE, and theApp. Referenced by DragObjects(), OnKeyDown(), and OnKeyUp(). |
|
Definition at line 1199 of file CtrlLibraryFrame.cpp. |
|
Definition at line 287 of file CtrlLibraryFrame.cpp. References BAR_HEIGHT, m_nHeaderSize, m_nPanelSize, m_nTreeSize, m_nTreeTypesHeight, m_pPanel, m_pView, m_wndHeader, m_wndTree, m_wndTreeBottom, m_wndTreeTop, m_wndTreeTypes, m_wndViewBottom, m_wndViewTop, NULL, and SPLIT_SIZE. Referenced by DoSizePanel(), DoSizeTree(), SetPanel(), SetView(), and Update(). |
|
|
Definition at line 888 of file CtrlLibraryFrame.cpp. References m_bViewSelection, and UpdatePanel(). |
|
Definition at line 1119 of file CtrlLibraryFrame.cpp. References m_pView, m_wndSearch, and NULL. |
|
Definition at line 1108 of file CtrlLibraryFrame.cpp. References m_pView, m_wndSearch, NULL, and OnLibrarySearchQuick(). |
|
Definition at line 875 of file CtrlLibraryFrame.cpp. References m_bUpdating, and Update(). |
|
Definition at line 1061 of file CtrlLibraryFrame.cpp. |
|
Definition at line 1025 of file CtrlLibraryFrame.cpp. References CSettings::Library, Settings, and CSettings::sLibrary::ShowVirtual. |
|
Definition at line 1040 of file CtrlLibraryFrame.cpp. References CSettings::Library, Settings, and CSettings::sLibrary::ShowVirtual. |
|
Definition at line 881 of file CtrlLibraryFrame.cpp. References m_bUpdating, and m_bViewSelection. Referenced by CLibraryView::SelAdd(), CLibraryView::SelClear(), and CLibraryView::SelRemove(). |
|
Definition at line 194 of file CtrlLibraryFrame.cpp. |
|
|
Definition at line 856 of file CtrlLibraryFrame.cpp. References m_pView, NULL, and CLibraryView::Select(). Referenced by Display(). |
|
Definition at line 690 of file CtrlLibraryFrame.cpp. References m_pPanel, and OnSize(). Referenced by OnLibraryPanel(), OnSkinChange(), and UpdatePanel(). |
|
Definition at line 627 of file CtrlLibraryFrame.cpp. References CSkin::CreateToolBar(), CCoolTipCtrl::Hide(), CSettings::Library, Library, m_pFolderSelection, CLibrary::m_pSection, CLibraryTreeItem::m_pSelNext, m_pView, m_wndViewBottom, m_wndViewTip, m_wndViewTop, NULL, OnSize(), Settings, CSettings::sLibrary::ShowVirtual, Skin, Update(), and CLibraryHeaderBar::Update(). Referenced by CLibraryHeaderBar::OnLibraryView(), OnSkinChange(), and Update(). |
|
|
Definition at line 793 of file CtrlLibraryFrame.cpp. References CLibraryPanel::CheckAvailable(), CLibraryPanel::m_bAvailable, m_bPanelShow, m_bViewSelection, m_pFolderSelection, m_pPanel, m_pPanels, CLibraryView::m_pSelection, m_pView, m_pViewEmpty, m_pViewSelection, NULL, and SetPanel(). |
|
Definition at line 149 of file CtrlLibraryFrame.h. |
|
Definition at line 150 of file CtrlLibraryFrame.h. |
|
Definition at line 151 of file CtrlLibraryFrame.h. |
|
Definition at line 79 of file CtrlLibraryFrame.h. Referenced by OnDestroy(), OnLibraryPanel(), and UpdatePanel(). |
|
Definition at line 83 of file CtrlLibraryFrame.h. Referenced by OnTreeSelection(), OnViewSelection(), and Update(). |
|
Definition at line 88 of file CtrlLibraryFrame.h. Referenced by OnTimer(), OnViewSelection(), and UpdatePanel(). |
|
Definition at line 93 of file CtrlLibraryFrame.h. Referenced by OnSetCursor(). |
|
Definition at line 92 of file CtrlLibraryFrame.h. Referenced by OnSetCursor(). |
|
Definition at line 85 of file CtrlLibraryFrame.h. Referenced by Update(). |
|
Definition at line 80 of file CtrlLibraryFrame.h. Referenced by DoSizePanel(), OnPaint(), OnSize(), and Update(). |
|
Definition at line 84 of file CtrlLibraryFrame.h. Referenced by Update(). |
|
Definition at line 78 of file CtrlLibraryFrame.h. Referenced by DoSizePanel(), OnDestroy(), OnLButtonDown(), OnPaint(), OnSetCursor(), and OnSize(). |
|
Definition at line 77 of file CtrlLibraryFrame.h. Referenced by DoSizePanel(), DoSizeTree(), OnDestroy(), OnLButtonDown(), OnPaint(), OnSetCursor(), and OnSize(). |
|
Definition at line 81 of file CtrlLibraryFrame.h. Referenced by OnCreate(), OnPaint(), and OnSize(). |
|
Definition at line 91 of file CtrlLibraryFrame.h. Referenced by CancelDrag(), DragObjects(), OnLButtonUp(), and OnMouseMove(). |
|
Definition at line 90 of file CtrlLibraryFrame.h. Referenced by CancelDrag(), DragObjects(), OnKeyDown(), OnKeyUp(), OnLButtonUp(), OnMouseMove(), OnRButtonDown(), and OnSetCursor(). |
|
Definition at line 86 of file CtrlLibraryFrame.h. Referenced by GetFolderSelection(), CLibraryHeaderPanel::GetSelectedAlbum(), SetView(), Update(), and UpdatePanel(). |
|
Definition at line 75 of file CtrlLibraryFrame.h. Referenced by OnCmdMsg(), OnLButtonDown(), OnLibraryPanel(), OnPaint(), OnSetCursor(), OnSize(), OnSkinChange(), OnUpdateLibraryPanel(), SetPanel(), and UpdatePanel(). |
|
Definition at line 74 of file CtrlLibraryFrame.h. Referenced by UpdatePanel(), and ~CLibraryFrame(). |
|
Definition at line 73 of file CtrlLibraryFrame.h. Referenced by OnCmdMsg(), OnContextMenu(), OnSetFocus(), OnSize(), OnSkinChange(), OnToolbarEscape(), OnToolbarReturn(), PreTranslateMessage(), Select(), SetView(), Update(), and UpdatePanel(). |
|
Definition at line 89 of file CtrlLibraryFrame.h. Referenced by UpdatePanel(). |
|
Definition at line 72 of file CtrlLibraryFrame.h. Referenced by CLibraryHeaderBar::OnLibraryView(), Update(), and ~CLibraryFrame(). |
|
Definition at line 87 of file CtrlLibraryFrame.h. Referenced by GetViewSelection(), and UpdatePanel(). |
|
Definition at line 63 of file CtrlLibraryFrame.h. Referenced by OnCreate(), OnSize(), OnSkinChange(), and Update(). |
|
Definition at line 70 of file CtrlLibraryFrame.h. Referenced by OnCreate(), OnLibrarySearchQuick(), OnToolbarEscape(), and OnToolbarReturn(). |
|
Definition at line 62 of file CtrlLibraryFrame.h. Referenced by CancelDrag(), Display(), OnCmdMsg(), OnCreate(), OnLButtonUp(), OnMouseMove(), OnSize(), OnSkinChange(), PreTranslateMessage(), and Update(). |
|
Definition at line 65 of file CtrlLibraryFrame.h. Referenced by OnCmdMsg(), OnCreate(), OnLibraryTreePhysical(), OnLibraryTreeVirtual(), OnSize(), and OnSkinChange(). |
|
Definition at line 64 of file CtrlLibraryFrame.h. Referenced by OnCmdMsg(), OnCreate(), OnSize(), and OnSkinChange(). |
|
Definition at line 66 of file CtrlLibraryFrame.h. Referenced by OnCreate(), OnFilterTypes(), OnSize(), and OnSkinChange(). |
|
Definition at line 68 of file CtrlLibraryFrame.h. Referenced by OnCmdMsg(), OnCreate(), OnSize(), and SetView(). |
|
Definition at line 69 of file CtrlLibraryFrame.h. Referenced by OnCreate(), OnDestroy(), and SetView(). |
|
Definition at line 67 of file CtrlLibraryFrame.h. Referenced by OnCmdMsg(), OnCreate(), OnSize(), OnSkinChange(), CLibraryTreeView::OnUpdateLibraryParent(), and SetView(). |