CLibraryTileView Class Reference

#include <CtrlLibraryTileView.h>

Inheritance diagram for CLibraryTileView:

Inheritance graph
[legend]
Collaboration diagram for CLibraryTileView:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CLibraryTileView ()
virtual BOOL CheckAvailable (CLibraryTreeItem *pSel)
virtual void Update ()
virtual BOOL Select (DWORD nObject)
virtual CLibraryListItem DropHitTest (const CPoint &point)
virtual HBITMAP CreateDragImage (const CPoint &ptMouse, CPoint &ptMiddle)
virtual BOOL Create (CWnd *pParentWnd)

Protected Member Functions

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 ()
afx_msg UINT OnGetDlgCode ()

Private Types

typedef boost::ptr_list< CLibraryTileItemContainer
typedef Container::iterator iterator
typedef Container::const_iterator const_iterator
typedef Container::reverse_iterator reverse_iterator
typedef Container::const_reverse_iterator const_reverse_iterator

Private Member Functions

iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
reverse_iterator rbegin ()
const_reverse_iterator rbegin () const
reverse_iterator rend ()
const_reverse_iterator rend () const
size_t size () const
bool empty () const
iterator erase (iterator item)
void clear ()
bool Select (iterator pTile, TRISTATE bSelect=TS_TRUE)
bool DeselectAll (iterator pTile)
bool DeselectAll ()
bool SelectTo (iterator pTile)
void SelectTo (int nDelta)
void Highlight (iterator pTile)
void UpdateScroll ()
void ScrollBy (int nDelta)
void ScrollTo (int nDelta)
iterator HitTest (const CPoint &point)
bool GetItemRect (iterator pTile, CRect *pRect)

Private Attributes

CMutex m_pSection
CSize m_szBlock
int m_nColumns
int m_nRows
Container m_oList
int m_nScroll
int m_nSelected
iterator m_pFocus
iterator m_pFirst
std::list< iteratorm_oSelTile
BOOL m_bDrag
CPoint m_ptDrag

Classes

struct  SortList

Member Typedef Documentation

typedef boost::ptr_list< CLibraryTileItem > CLibraryTileView::Container [private]

typedef Container::iterator CLibraryTileView::iterator [private]

typedef Container::const_iterator CLibraryTileView::const_iterator [private]

typedef Container::reverse_iterator CLibraryTileView::reverse_iterator [private]

typedef Container::const_reverse_iterator CLibraryTileView::const_reverse_iterator [private]


Constructor & Destructor Documentation

CLibraryTileView::CLibraryTileView (  ) 


Member Function Documentation

iterator CLibraryTileView::begin (  )  [inline, private]

const_iterator CLibraryTileView::begin (  )  const [inline, private]

iterator CLibraryTileView::end (  )  [inline, private]

const_iterator CLibraryTileView::end (  )  const [inline, private]

reverse_iterator CLibraryTileView::rbegin (  )  [inline, private]

const_reverse_iterator CLibraryTileView::rbegin (  )  const [inline, private]

reverse_iterator CLibraryTileView::rend (  )  [inline, private]

const_reverse_iterator CLibraryTileView::rend (  )  const [inline, private]

size_t CLibraryTileView::size (  )  const [inline, private]

bool CLibraryTileView::empty (  )  const [inline, private]

iterator CLibraryTileView::erase ( iterator  item  )  [inline, private]

BOOL CLibraryTileView::CheckAvailable ( CLibraryTreeItem pSel  )  [virtual]

Reimplemented from CLibraryView.

void CLibraryTileView::Update (  )  [virtual]

Reimplemented from CLibraryView.

BOOL CLibraryTileView::Select ( DWORD  nObject  )  [virtual]

Reimplemented from CLibraryView.

CLibraryListItem CLibraryTileView::DropHitTest ( const CPoint &  point  )  [virtual]

Reimplemented from CLibraryView.

HBITMAP CLibraryTileView::CreateDragImage ( const CPoint &  ptMouse,
CPoint &  ptMiddle 
) [virtual]

Reimplemented from CLibraryView.

void CLibraryTileView::clear (  )  [private]

bool CLibraryTileView::Select ( iterator  pTile,
TRISTATE  bSelect = TS_TRUE 
) [private]

bool CLibraryTileView::DeselectAll ( iterator  pTile  )  [private]

bool CLibraryTileView::DeselectAll (  )  [private]

bool CLibraryTileView::SelectTo ( iterator  pTile  )  [private]

void CLibraryTileView::SelectTo ( int  nDelta  )  [private]

void CLibraryTileView::Highlight ( iterator  pTile  )  [private]

void CLibraryTileView::UpdateScroll (  )  [private]

void CLibraryTileView::ScrollBy ( int  nDelta  )  [private]

void CLibraryTileView::ScrollTo ( int  nDelta  )  [private]

CLibraryTileView::iterator CLibraryTileView::HitTest ( const CPoint &  point  )  [private]

bool CLibraryTileView::GetItemRect ( iterator  pTile,
CRect *  pRect 
) [private]

BOOL CLibraryTileView::Create ( CWnd *  pParentWnd  )  [virtual]

Reimplemented from CLibraryView.

int CLibraryTileView::OnCreate ( LPCREATESTRUCT  lpCreateStruct  )  [protected]

Reimplemented from CLibraryView.

void CLibraryTileView::OnDestroy (  )  [protected]

Reimplemented from CLibraryView.

void CLibraryTileView::OnSize ( UINT  nType,
int  cx,
int  cy 
) [protected]

void CLibraryTileView::OnPaint (  )  [protected]

void CLibraryTileView::OnVScroll ( UINT  nSBCode,
UINT  nPos,
CScrollBar *  pScrollBar 
) [protected]

BOOL CLibraryTileView::OnMouseWheel ( UINT  nFlags,
short  zDelta,
CPoint  pt 
) [protected]

void CLibraryTileView::OnLButtonDown ( UINT  nFlags,
CPoint  point 
) [protected]

void CLibraryTileView::OnMouseMove ( UINT  nFlags,
CPoint  point 
) [protected]

void CLibraryTileView::OnLButtonUp ( UINT  nFlags,
CPoint  point 
) [protected]

void CLibraryTileView::OnRButtonDown ( UINT  nFlags,
CPoint  point 
) [protected]

void CLibraryTileView::OnKeyDown ( UINT  nChar,
UINT  nRepCnt,
UINT  nFlags 
) [protected]

void CLibraryTileView::OnLButtonDblClk ( UINT  nFlags,
CPoint  point 
) [protected]

void CLibraryTileView::OnContextMenu ( CWnd *  pWnd,
CPoint  point 
) [protected]

void CLibraryTileView::OnChar ( UINT  nChar,
UINT  nRepCnt,
UINT  nFlags 
) [protected]

void CLibraryTileView::OnUpdateLibraryAlbumOpen ( CCmdUI *  pCmdUI  )  [protected]

void CLibraryTileView::OnLibraryAlbumOpen (  )  [protected]

void CLibraryTileView::OnUpdateLibraryAlbumDelete ( CCmdUI *  pCmdUI  )  [protected]

void CLibraryTileView::OnLibraryAlbumDelete (  )  [protected]

void CLibraryTileView::OnUpdateLibraryAlbumProperties ( CCmdUI *  pCmdUI  )  [protected]

void CLibraryTileView::OnLibraryAlbumProperties (  )  [protected]

UINT CLibraryTileView::OnGetDlgCode (  )  [protected]


Member Data Documentation

CMutex CLibraryTileView::m_pSection [private]

CSize CLibraryTileView::m_szBlock [private]

int CLibraryTileView::m_nColumns [private]

int CLibraryTileView::m_nRows [private]

Container CLibraryTileView::m_oList [private]

int CLibraryTileView::m_nScroll [private]

int CLibraryTileView::m_nSelected [private]

iterator CLibraryTileView::m_pFocus [private]

iterator CLibraryTileView::m_pFirst [private]

std::list< iterator > CLibraryTileView::m_oSelTile [private]

BOOL CLibraryTileView::m_bDrag [private]

CPoint CLibraryTileView::m_ptDrag [private]


The documentation for this class was generated from the following files:
Generated on Wed Aug 8 03:46:27 2007 for Shareaza by  doxygen 1.5.2