#include <CtrlLibraryTileView.h>
Inheritance diagram for CLibraryTileView:
Public Member Functions | |
CLibraryTileView () | |
virtual | ~CLibraryTileView () |
virtual BOOL | CheckAvailable (CLibraryTreeItem *pSel) |
virtual void | Update () |
virtual BOOL | Select (DWORD nObject) |
Protected Member Functions | |
void | Clear () |
int | GetTileIndex (CLibraryTileItem *pTile) const |
BOOL | Select (CLibraryTileItem *pTile, TRISTATE bSelect=TS_TRUE) |
BOOL | DeselectAll (CLibraryTileItem *pTile=NULL) |
BOOL | SelectTo (CLibraryTileItem *pTile) |
void | SelectTo (int nDelta) |
void | Highlight (CLibraryTileItem *pTile) |
void | UpdateScroll () |
void | ScrollBy (int nDelta) |
void | ScrollTo (int nDelta) |
CLibraryTileItem * | HitTest (const CPoint &point) const |
BOOL | GetItemRect (CLibraryTileItem *pTile, CRect *pRect) |
void | StartDragging (CPoint &ptMouse) |
CImageList * | CreateDragImage (const CPoint &ptMouse) |
virtual BOOL | PreCreateWindow (CREATESTRUCT &cs) |
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 | OnVScroll (UINT nSBCode, UINT nPos, CScrollBar *pScrollBar) |
afx_msg BOOL | OnMouseWheel (UINT nFlags, short zDelta, CPoint pt) |
afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
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 | OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags) |
afx_msg void | OnLButtonDblClk (UINT nFlags, CPoint point) |
afx_msg void | OnContextMenu (CWnd *pWnd, CPoint point) |
afx_msg void | OnChar (UINT nChar, UINT nRepCnt, UINT nFlags) |
afx_msg void | OnUpdateLibraryAlbumOpen (CCmdUI *pCmdUI) |
afx_msg void | OnLibraryAlbumOpen () |
afx_msg void | OnUpdateLibraryAlbumDelete (CCmdUI *pCmdUI) |
afx_msg void | OnLibraryAlbumDelete () |
afx_msg void | OnUpdateLibraryAlbumProperties (CCmdUI *pCmdUI) |
afx_msg void | OnLibraryAlbumProperties () |
Static Protected Member Functions | |
static int | SortList (LPCVOID pA, LPCVOID pB) |
Protected Attributes | |
CSize | m_szBlock |
int | m_nColumns |
int | m_nRows |
CLibraryTileItem ** | m_pList |
int | m_nCount |
int | m_nBuffer |
int | m_nScroll |
int | m_nSelected |
CLibraryTileItem * | m_pFocus |
CLibraryTileItem * | m_pFirst |
CPtrList | m_pSelTile |
BOOL | m_bDrag |
CPoint | m_ptDrag |
|
Definition at line 72 of file CtrlLibraryTileView.cpp. References ID_LIBRARY_VIEW_TILE. |
|
Definition at line 78 of file CtrlLibraryTileView.cpp. |
|
Reimplemented from CLibraryView. Definition at line 120 of file CtrlLibraryTileView.cpp. References CAlbumFolder::GetFileCount(), CLibraryView::m_bAvailable, CLibraryTreeItem::m_pSelNext, CLibraryTreeItem::m_pVirtual, and NULL. |
|
Definition at line 233 of file CtrlLibraryTileView.cpp. References m_nBuffer, m_nCount, m_nScroll, m_nSelected, m_pFirst, m_pFocus, m_pList, m_pSelTile, NULL, and CLibraryView::SelClear(). Referenced by OnDestroy(), and Update(). |
|
Definition at line 758 of file CtrlLibraryTileView.cpp. References CoolInterface, CCoolInterface::GetBuffer(), GetItemRect(), CCoolInterface::m_fntNormal, m_pSelTile, m_szBlock, MAX_DRAG_SIZE, MAX_DRAG_SIZE_2, and NULL. Referenced by StartDragging(). |
|
Definition at line 302 of file CtrlLibraryTileView.cpp. References m_nCount, m_pList, Select(), and TS_FALSE. Referenced by OnChar(), OnLButtonUp(), and SelectTo(). |
|
Definition at line 588 of file CtrlLibraryTileView.cpp. References m_nCount, m_nScroll, m_pList, and m_szBlock. Referenced by CreateDragImage(), and Highlight(). |
|
Definition at line 254 of file CtrlLibraryTileView.cpp. References m_nCount, and m_pList. Referenced by SelectTo(). |
|
Definition at line 396 of file CtrlLibraryTileView.cpp. References GetItemRect(), and ScrollBy(). Referenced by OnChar(), and SelectTo(). |
|
Definition at line 559 of file CtrlLibraryTileView.cpp. References m_nCount, m_nScroll, m_pList, m_szBlock, and NULL. Referenced by OnLButtonDown(). |
|
Definition at line 711 of file CtrlLibraryTileView.cpp. References DeselectAll(), Highlight(), m_nCount, m_pFocus, m_pList, NULL, Select(), and TS_TRUE. |
|
Definition at line 993 of file CtrlLibraryTileView.cpp. References ID_LIBRARY_ALBUM_OPEN, CLibraryView::m_pszToolBar, Skin, and CSkin::TrackPopupMenu(). |
|
Definition at line 90 of file CtrlLibraryTileView.cpp. References m_bDrag, m_nBuffer, m_nColumns, m_nCount, m_nRows, m_nScroll, m_nSelected, m_pFirst, m_pFocus, m_pList, m_szBlock, and NULL. |
|
Definition at line 111 of file CtrlLibraryTileView.cpp. References Clear(). |
|
Definition at line 675 of file CtrlLibraryTileView.cpp. References ID_LIBRARY_ALBUM_OPEN, m_nColumns, m_nCount, m_nRows, ScrollBy(), and SelectTo(). |
|
Definition at line 664 of file CtrlLibraryTileView.cpp. References ID_LIBRARY_ALBUM_OPEN. |
|
Definition at line 619 of file CtrlLibraryTileView.cpp. References HitTest(), CSettings::Library, m_bDrag, m_ptDrag, SelectTo(), Settings, and CSettings::sLibrary::ShowVirtual. Referenced by OnRButtonDown(). |
|
Definition at line 653 of file CtrlLibraryTileView.cpp. References DeselectAll(), m_bDrag, CLibraryTileItem::m_bSelected, and m_pFocus. |
|
Definition at line 1016 of file CtrlLibraryTileView.cpp. References CLibraryFolders::CheckAlbum(), CAlbumFolder::Delete(), IDS_LIBRARY_FOLDER_DELETE, Library, LibraryFolders, CSkin::LoadString(), m_nSelected, CLibraryTileItem::m_pFolder, CLibrary::m_pSection, m_pSelTile, CLibraryView::PostUpdate(), and Skin. |
|
Definition at line 1003 of file CtrlLibraryTileView.cpp. References CLibraryView::GetFrame(), CLibraryTileItem::m_pFolder, and m_pSelTile. |
|
Definition at line 1045 of file CtrlLibraryTileView.cpp. References CLibraryView::GetFrame(), CLibraryTileItem::m_pFolder, m_pSelTile, and NULL. |
|
Definition at line 637 of file CtrlLibraryTileView.cpp. References m_bDrag, m_ptDrag, and StartDragging(). |
|
Definition at line 490 of file CtrlLibraryTileView.cpp. References m_szBlock, and ScrollBy(). |
|
Definition at line 510 of file CtrlLibraryTileView.cpp. References CoolInterface, CCoolInterface::GetBuffer(), CCoolInterface::m_crText, CCoolInterface::m_crWindow, CCoolInterface::m_fntNormal, m_nCount, m_nScroll, m_pList, m_szBlock, and CLibraryTileItem::Paint(). |
|
Definition at line 669 of file CtrlLibraryTileView.cpp. References OnLButtonDown(). |
|
Definition at line 423 of file CtrlLibraryTileView.cpp. References m_nColumns, m_nRows, m_szBlock, and UpdateScroll(). |
|
Definition at line 1011 of file CtrlLibraryTileView.cpp. References m_nSelected. |
|
Definition at line 998 of file CtrlLibraryTileView.cpp. References m_nSelected. |
|
Definition at line 1040 of file CtrlLibraryTileView.cpp. References m_nSelected. |
|
Definition at line 456 of file CtrlLibraryTileView.cpp. References ScrollBy(), and ScrollTo(). |
|
Definition at line 85 of file CtrlLibraryTileView.cpp. |
|
Definition at line 496 of file CtrlLibraryTileView.cpp. References m_nScroll, and ScrollTo(). Referenced by Highlight(), OnKeyDown(), OnMouseWheel(), and OnVScroll(). |
|
Definition at line 501 of file CtrlLibraryTileView.cpp. References m_nScroll, NULL, and UpdateScroll(). Referenced by OnVScroll(), and ScrollBy(). |
|
Definition at line 266 of file CtrlLibraryTileView.cpp. References m_nSelected, m_pSelTile, CLibraryView::SelAdd(), CLibraryView::SelRemove(), TS_FALSE, TS_TRUE, and TS_UNKNOWN. |
|
Reimplemented from CLibraryView. Definition at line 225 of file CtrlLibraryTileView.cpp. Referenced by DeselectAll(), OnChar(), SelectTo(), and Update(). |
|
Definition at line 376 of file CtrlLibraryTileView.cpp. References GetTileIndex(), m_nCount, m_pFocus, m_pList, and SelectTo(). |
|
Definition at line 318 of file CtrlLibraryTileView.cpp. References DeselectAll(), GetTileIndex(), Highlight(), CLibraryTileItem::m_bSelected, m_nSelected, m_pFirst, m_pFocus, m_pList, NULL, Select(), TS_TRUE, and TS_UNKNOWN. Referenced by OnKeyDown(), OnLButtonDown(), and SelectTo(). |
|
Definition at line 413 of file CtrlLibraryTileView.cpp. References CLibraryTileItem::m_sTitle. Referenced by Update(). |
|
Definition at line 748 of file CtrlLibraryTileView.cpp. References CreateDragImage(), and CLibraryView::DragObjects(). Referenced by OnMouseMove(). |
|
|
Definition at line 435 of file CtrlLibraryTileView.cpp. References m_nColumns, m_nCount, m_nScroll, and m_szBlock. Referenced by OnSize(), ScrollTo(), and Update(). |
|
Definition at line 55 of file CtrlLibraryTileView.h. Referenced by OnCreate(), OnLButtonDown(), OnLButtonUp(), and OnMouseMove(). |
|
Definition at line 48 of file CtrlLibraryTileView.h. Referenced by Clear(), OnCreate(), and Update(). |
|
Definition at line 43 of file CtrlLibraryTileView.h. Referenced by OnCreate(), OnKeyDown(), OnSize(), Update(), and UpdateScroll(). |
|
Definition at line 47 of file CtrlLibraryTileView.h. Referenced by Clear(), DeselectAll(), GetItemRect(), GetTileIndex(), HitTest(), OnChar(), OnCreate(), OnKeyDown(), OnPaint(), SelectTo(), Update(), and UpdateScroll(). |
|
Definition at line 44 of file CtrlLibraryTileView.h. Referenced by OnCreate(), OnKeyDown(), and OnSize(). |
|
Definition at line 49 of file CtrlLibraryTileView.h. Referenced by Clear(), GetItemRect(), HitTest(), OnCreate(), OnPaint(), ScrollBy(), ScrollTo(), Update(), and UpdateScroll(). |
|
Definition at line 51 of file CtrlLibraryTileView.h. Referenced by Clear(), OnCreate(), OnLibraryAlbumDelete(), OnUpdateLibraryAlbumDelete(), OnUpdateLibraryAlbumOpen(), OnUpdateLibraryAlbumProperties(), Select(), and SelectTo(). |
|
Definition at line 53 of file CtrlLibraryTileView.h. Referenced by Clear(), OnCreate(), SelectTo(), and Update(). |
|
Definition at line 52 of file CtrlLibraryTileView.h. Referenced by Clear(), OnChar(), OnCreate(), OnLButtonUp(), SelectTo(), and Update(). |
|
Definition at line 46 of file CtrlLibraryTileView.h. Referenced by Clear(), DeselectAll(), GetItemRect(), GetTileIndex(), HitTest(), OnChar(), OnCreate(), OnPaint(), SelectTo(), and Update(). |
|
Definition at line 54 of file CtrlLibraryTileView.h. Referenced by Clear(), CreateDragImage(), OnLibraryAlbumDelete(), OnLibraryAlbumOpen(), OnLibraryAlbumProperties(), and Select(). |
|
Definition at line 56 of file CtrlLibraryTileView.h. Referenced by OnLButtonDown(), and OnMouseMove(). |
|
Definition at line 42 of file CtrlLibraryTileView.h. Referenced by CreateDragImage(), GetItemRect(), HitTest(), OnCreate(), OnMouseWheel(), OnPaint(), OnSize(), Update(), and UpdateScroll(). |