#include <CtrlLibraryAlbumView.h>
Inheritance diagram for CLibraryAlbumView:
Public Member Functions | |
CLibraryAlbumView () | |
virtual | ~CLibraryAlbumView () |
virtual void | Update () |
virtual BOOL | Select (DWORD nObject) |
virtual DWORD | HitTestIndex (const CPoint &point) const |
Static Public Attributes | |
static COLORREF | m_crRows [2] |
Protected Member Functions | |
void | Clear () |
BOOL | Select (CLibraryAlbumTrack *pItem, TRISTATE bSelect=TS_TRUE) |
BOOL | DeselectAll (CLibraryAlbumTrack *pItem=NULL) |
BOOL | SelectTo (CLibraryAlbumTrack *pItem) |
void | SelectTo (int nDelta) |
void | UpdateScroll () |
void | ScrollBy (int nDelta) |
void | ScrollTo (int nDelta) |
CLibraryAlbumTrack * | HitTest (const CPoint &point, CRect *pRect=NULL) const |
int | GetTrackIndex (CLibraryAlbumTrack *pTrack) const |
BOOL | GetItemRect (CLibraryAlbumTrack *pTrack, 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 | OnVScroll (UINT nSBCode, UINT nPos, CScrollBar *pScrollBar) |
afx_msg BOOL | OnMouseWheel (UINT nFlags, short zDelta, CPoint pt) |
afx_msg void | OnPaint () |
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 | OnLButtonDblClk (UINT nFlags, CPoint point) |
afx_msg void | OnRButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags) |
Static Protected Member Functions | |
static int | SortList (LPCVOID pA, LPCVOID pB) |
Protected Attributes | |
CSize | m_szTrack |
int | m_nRows |
LPCTSTR | m_pStyle |
CLibraryAlbumTrack ** | m_pList |
int | m_nCount |
int | m_nBuffer |
int | m_nScroll |
CImageList | m_pStars |
CPtrList | m_pSelTrack |
int | m_nSelected |
CLibraryAlbumTrack * | m_pFocus |
CLibraryAlbumTrack * | m_pFirst |
CLibraryAlbumTrack * | m_pRating |
BOOL | m_bDrag |
CPoint | m_ptDrag |
Static Protected Attributes | |
static LPCTSTR | m_pStaticStyle |
Friends | |
class | CLibraryAlbumTrack |
|
Definition at line 72 of file CtrlLibraryAlbumView.cpp. References ID_LIBRARY_VIEW_ALBUM. |
|
Definition at line 77 of file CtrlLibraryAlbumView.cpp. |
|
Definition at line 312 of file CtrlLibraryAlbumView.cpp. References m_nBuffer, m_nCount, m_nScroll, m_nSelected, m_pFirst, m_pFocus, m_pList, m_pSelTrack, NULL, and CLibraryView::SelClear(). Referenced by OnDestroy(). |
|
Definition at line 844 of file CtrlLibraryAlbumView.cpp. References CoolInterface, CCoolInterface::GetBuffer(), GetItemRect(), CCoolInterface::m_fntNormal, m_pSelTrack, m_szTrack, MAX_DRAG_SIZE, MAX_DRAG_SIZE_2, and NULL. Referenced by StartDragging(). |
|
Definition at line 384 of file CtrlLibraryAlbumView.cpp. References m_nCount, m_pList, Select(), and TS_FALSE. Referenced by OnLButtonUp(), Select(), and SelectTo(). |
|
Definition at line 647 of file CtrlLibraryAlbumView.cpp. References m_nCount, m_nScroll, m_pList, and m_szTrack. Referenced by CreateDragImage(), Select(), and SelectTo(). |
|
Definition at line 333 of file CtrlLibraryAlbumView.cpp. References m_nCount, and m_pList. Referenced by SelectTo(). |
|
Definition at line 623 of file CtrlLibraryAlbumView.cpp. References m_nCount, m_nScroll, m_pList, m_szTrack, and NULL. Referenced by HitTestIndex(), OnLButtonDown(), and OnMouseMove(). |
|
Implements CLibraryFileView. Definition at line 255 of file CtrlLibraryAlbumView.cpp. References HitTest(), and CLibraryAlbumTrack::m_nIndex. |
|
Reimplemented from CLibraryFileView. Definition at line 90 of file CtrlLibraryAlbumView.cpp. References IDB_SMALL_STAR, m_bDrag, m_nBuffer, m_nCount, m_nScroll, m_nSelected, m_pFirst, m_pFocus, m_pList, m_pStars, NULL, and CLibraryFileView::OnCreate(). |
|
Definition at line 112 of file CtrlLibraryAlbumView.cpp. |
|
Reimplemented from CLibraryFileView. Definition at line 764 of file CtrlLibraryAlbumView.cpp. References m_nCount, m_nRows, m_pFocus, m_pList, m_pStyle, NULL, CLibraryFileView::OnKeyDown(), SelectTo(), CSchema::uriMusicAlbum, and CSchema::uriMusicArtist. |
|
Definition at line 753 of file CtrlLibraryAlbumView.cpp. References ID_LIBRARY_LAUNCH. |
|
Reimplemented from CLibraryFileView. Definition at line 669 of file CtrlLibraryAlbumView.cpp. References HitTest(), CLibraryAlbumTrack::HitTestRating(), CLibraryAlbumTrack::LockRating(), m_bDrag, m_pRating, m_ptDrag, NULL, CLibraryFileView::OnLButtonDown(), and SelectTo(). Referenced by OnRButtonDown(). |
|
Definition at line 742 of file CtrlLibraryAlbumView.cpp. References DeselectAll(), m_bDrag, CLibraryAlbumTrack::m_bSelected, and m_pFocus. |
|
Reimplemented from CLibraryFileView. Definition at line 696 of file CtrlLibraryAlbumView.cpp. References CCoolTipCtrl::Hide(), HitTest(), IDC_HAND, m_bDrag, m_pRating, m_ptDrag, NULL, CCoolTipCtrl::Show(), StartDragging(), and theApp. |
|
Definition at line 559 of file CtrlLibraryAlbumView.cpp. References m_szTrack, and ScrollBy(). |
|
Definition at line 579 of file CtrlLibraryAlbumView.cpp. References CCoolInterface::CalculateColour(), CoolInterface, CCoolInterface::GetBuffer(), CShareazaApp::m_bRTL, m_crRows, CSkin::m_crSchemaRow, CCoolInterface::m_crText, CCoolInterface::m_crWindow, CCoolInterface::m_fntNormal, m_nCount, m_nScroll, m_pList, m_szTrack, CLibraryAlbumTrack::Paint(), Skin, and theApp. |
|
Reimplemented from CLibraryFileView. Definition at line 758 of file CtrlLibraryAlbumView.cpp. References OnLButtonDown(), and CLibraryFileView::OnRButtonDown(). |
|
Definition at line 493 of file CtrlLibraryAlbumView.cpp. |
|
Definition at line 521 of file CtrlLibraryAlbumView.cpp. References m_szTrack, ScrollBy(), and ScrollTo(). |
|
Definition at line 84 of file CtrlLibraryAlbumView.cpp. |
|
Definition at line 565 of file CtrlLibraryAlbumView.cpp. References m_nScroll, and ScrollTo(). Referenced by OnMouseWheel(), OnVScroll(), Select(), and SelectTo(). |
|
Definition at line 570 of file CtrlLibraryAlbumView.cpp. References m_nScroll, NULL, and UpdateScroll(). Referenced by OnVScroll(), and ScrollBy(). |
|
Definition at line 345 of file CtrlLibraryAlbumView.cpp. References m_nSelected, m_pSelTrack, NULL, CLibraryView::SelAdd(), CLibraryView::SelRemove(), TS_FALSE, TS_TRUE, and TS_UNKNOWN. |
|
Reimplemented from CLibraryView. Definition at line 220 of file CtrlLibraryAlbumView.cpp. References DeselectAll(), GetItemRect(), m_nCount, CLibraryAlbumTrack::m_nIndex, m_pFocus, m_pList, and ScrollBy(). Referenced by DeselectAll(), SelectTo(), and Update(). |
|
Definition at line 470 of file CtrlLibraryAlbumView.cpp. References GetTrackIndex(), m_nCount, m_pFocus, m_pList, and SelectTo(). |
|
Definition at line 400 of file CtrlLibraryAlbumView.cpp. References DeselectAll(), GetItemRect(), GetTrackIndex(), CLibraryAlbumTrack::m_bSelected, m_nSelected, m_pFirst, m_pFocus, m_pList, NULL, ScrollBy(), Select(), TS_TRUE, and TS_UNKNOWN. Referenced by OnKeyDown(), OnLButtonDown(), and SelectTo(). |
|
Definition at line 261 of file CtrlLibraryAlbumView.cpp. References CLibraryAlbumTrack::m_nTrack, m_pStaticStyle, CLibraryAlbumTrack::m_sAlbum, CLibraryAlbumTrack::m_sArtist, CLibraryAlbumTrack::m_sTitle, CSchema::uriMusicAlbum, and CSchema::uriMusicArtist. Referenced by Update(). |
|
Definition at line 834 of file CtrlLibraryAlbumView.cpp. References CreateDragImage(), CLibraryView::DragObjects(), and NULL. Referenced by OnMouseMove(). |
|
|
Definition at line 502 of file CtrlLibraryAlbumView.cpp. References m_nCount, m_nScroll, and m_szTrack. Referenced by ScrollTo(), and Update(). |
|
Definition at line 114 of file CtrlLibraryAlbumView.h. Referenced by Update(). |
|
Definition at line 60 of file CtrlLibraryAlbumView.h. Referenced by OnCreate(), OnLButtonDown(), OnLButtonUp(), and OnMouseMove(). |
|
Definition at line 66 of file CtrlLibraryAlbumView.cpp. Referenced by OnPaint(), and CLibraryAlbumTrack::Paint(). |
|
Definition at line 51 of file CtrlLibraryAlbumView.h. Referenced by Clear(), OnCreate(), and Update(). |
|
Definition at line 50 of file CtrlLibraryAlbumView.h. Referenced by Clear(), DeselectAll(), GetItemRect(), GetTrackIndex(), HitTest(), OnCreate(), OnKeyDown(), OnPaint(), Select(), SelectTo(), Update(), and UpdateScroll(). |
|
Definition at line 45 of file CtrlLibraryAlbumView.h. Referenced by OnKeyDown(), and OnSize(). |
|
Definition at line 52 of file CtrlLibraryAlbumView.h. Referenced by Clear(), GetItemRect(), HitTest(), OnCreate(), OnPaint(), ScrollBy(), ScrollTo(), Update(), and UpdateScroll(). |
|
Definition at line 56 of file CtrlLibraryAlbumView.h. Referenced by Clear(), OnCreate(), Select(), and SelectTo(). |
|
Definition at line 58 of file CtrlLibraryAlbumView.h. Referenced by Clear(), OnCreate(), SelectTo(), and Update(). |
|
Definition at line 57 of file CtrlLibraryAlbumView.h. Referenced by Clear(), OnCreate(), OnKeyDown(), OnLButtonUp(), Select(), SelectTo(), and Update(). |
|
Definition at line 49 of file CtrlLibraryAlbumView.h. Referenced by Clear(), DeselectAll(), GetItemRect(), GetTrackIndex(), HitTest(), OnCreate(), OnKeyDown(), OnPaint(), Select(), SelectTo(), and Update(). |
|
Definition at line 59 of file CtrlLibraryAlbumView.h. Referenced by OnLButtonDown(), and OnMouseMove(). |
|
Definition at line 55 of file CtrlLibraryAlbumView.h. Referenced by Clear(), CreateDragImage(), and Select(). |
|
Definition at line 53 of file CtrlLibraryAlbumView.h. Referenced by OnCreate(), and OnDestroy(). |
|
Definition at line 65 of file CtrlLibraryAlbumView.cpp. Referenced by SortList(), and Update(). |
|
Definition at line 46 of file CtrlLibraryAlbumView.h. Referenced by OnKeyDown(), and Update(). |
|
Definition at line 61 of file CtrlLibraryAlbumView.h. Referenced by OnLButtonDown(), and OnMouseMove(). |
|
Definition at line 44 of file CtrlLibraryAlbumView.h. Referenced by CreateDragImage(), GetItemRect(), HitTest(), OnMouseWheel(), OnPaint(), OnSize(), OnVScroll(), Update(), and UpdateScroll(). |