Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CLibraryHistoryPanel Class Reference

#include <CtrlLibraryHistoryPanel.h>

Inheritance diagram for CLibraryHistoryPanel:

CLibraryPanel List of all members.

Public Member Functions

 CLibraryHistoryPanel ()
virtual ~CLibraryHistoryPanel ()
virtual BOOL CheckAvailable (CLibraryTreeItem *pFolders, CLibraryList *pObjects)
virtual void Update ()

Protected Member Functions

void OnClickFile (DWORD nFile)
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 OnSetCursor (CWnd *pWnd, UINT nHitTest, UINT message)
afx_msg void OnLButtonUp (UINT nFlags, CPoint point)
afx_msg void OnLButtonDown (UINT nFlags, CPoint point)
afx_msg BOOL OnMouseWheel (UINT nFlags, short zDelta, CPoint pt)

Protected Attributes

CPtrArray m_pList
Itemm_pHover
int m_nColumns
int m_nScrollWheelLines

Classes

struct  Item

Constructor & Destructor Documentation

CLibraryHistoryPanel::CLibraryHistoryPanel  ) 
 

Definition at line 58 of file CtrlLibraryHistoryPanel.cpp.

CLibraryHistoryPanel::~CLibraryHistoryPanel  )  [virtual]
 

Definition at line 67 of file CtrlLibraryHistoryPanel.cpp.

References m_pList.


Member Function Documentation

BOOL CLibraryHistoryPanel::CheckAvailable CLibraryTreeItem pFolders,
CLibraryList pObjects
[virtual]
 

Reimplemented from CLibraryPanel.

Definition at line 78 of file CtrlLibraryHistoryPanel.cpp.

References CLibraryPanel::m_bAvailable, and NULL.

void CLibraryHistoryPanel::OnClickFile DWORD  nFile  )  [protected]
 

Definition at line 371 of file CtrlLibraryHistoryPanel.cpp.

References CLibraryFrame::Display(), Library, CLibrary::LookupFile(), and CLibrary::m_pSection.

Referenced by OnLButtonUp().

void CLibraryHistoryPanel::OnLButtonDown UINT  nFlags,
CPoint  point
[protected]
 

Definition at line 360 of file CtrlLibraryHistoryPanel.cpp.

void CLibraryHistoryPanel::OnLButtonUp UINT  nFlags,
CPoint  point
[protected]
 

Definition at line 340 of file CtrlLibraryHistoryPanel.cpp.

References CLibraryHistoryPanel::Item::m_nIndex, m_pList, CLibraryHistoryPanel::Item::m_rect, and OnClickFile().

BOOL CLibraryHistoryPanel::OnMouseWheel UINT  nFlags,
short  zDelta,
CPoint  pt
[protected]
 

Definition at line 365 of file CtrlLibraryHistoryPanel.cpp.

References m_nScrollWheelLines, NULL, and OnVScroll().

void CLibraryHistoryPanel::OnPaint  )  [protected]
 

Definition at line 169 of file CtrlLibraryHistoryPanel.cpp.

References CoolInterface, CShellIcons::Draw(), IDS_LIBPANEL_RECENT_ADDITIONS, LoadString(), CSkin::m_crBannerBack, CSkin::m_crBannerText, CCoolInterface::m_crDisabled, CSkin::m_crSchemaRow, CCoolInterface::m_crWindow, CCoolInterface::m_fntCaption, CCoolInterface::m_fntNormal, CCoolInterface::m_fntUnder, m_nColumns, CLibraryHistoryPanel::Item::m_nIcon16, m_pList, CLibraryHistoryPanel::Item::m_rect, CLibraryHistoryPanel::Item::m_sText, CLibraryHistoryPanel::Item::m_sTime, NULL, ShellIcons, and Skin.

BOOL CLibraryHistoryPanel::OnSetCursor CWnd *  pWnd,
UINT  nHitTest,
UINT  message
[protected]
 

Definition at line 318 of file CtrlLibraryHistoryPanel.cpp.

References IDC_HAND, m_pList, and CLibraryHistoryPanel::Item::m_rect.

void CLibraryHistoryPanel::OnSize UINT  nType,
int  cx,
int  cy
[protected]
 

Definition at line 163 of file CtrlLibraryHistoryPanel.cpp.

References Update().

void CLibraryHistoryPanel::OnVScroll UINT  nSBCode,
UINT  nPos,
CScrollBar *  pScrollBar
[protected]
 

Definition at line 275 of file CtrlLibraryHistoryPanel.cpp.

Referenced by OnMouseWheel().

void CLibraryHistoryPanel::Update  )  [virtual]
 

Reimplemented from CLibraryPanel.

Definition at line 84 of file CtrlLibraryHistoryPanel.cpp.

References CLibraryHistory::Check(), CShellIcons::Get(), CLibraryHistory::GetIterator(), CLibraryHistory::GetNext(), Library, LibraryHistory, m_nColumns, CLibraryHistoryPanel::Item::m_nIcon16, CLibraryFile::m_nIndex, CLibraryHistoryPanel::Item::m_nIndex, CLibraryRecent::m_pFile, m_pHover, m_pList, CLibraryHistoryPanel::Item::m_pRecent, CLibrary::m_pSection, CLibraryHistoryPanel::Item::m_pTime, CLibraryFile::m_sName, CLibraryHistoryPanel::Item::m_sText, CLibraryHistoryPanel::Item::m_sTime, CLibraryRecent::m_tAdded, NULL, and ShellIcons.

Referenced by OnSize().


Member Data Documentation

int CLibraryHistoryPanel::m_nColumns [protected]
 

Definition at line 52 of file CtrlLibraryHistoryPanel.h.

Referenced by OnPaint(), and Update().

int CLibraryHistoryPanel::m_nScrollWheelLines [protected]
 

Definition at line 53 of file CtrlLibraryHistoryPanel.h.

Referenced by OnMouseWheel().

Item* CLibraryHistoryPanel::m_pHover [protected]
 

Definition at line 51 of file CtrlLibraryHistoryPanel.h.

Referenced by Update().

CPtrArray CLibraryHistoryPanel::m_pList [protected]
 

Definition at line 50 of file CtrlLibraryHistoryPanel.h.

Referenced by OnLButtonUp(), OnPaint(), OnSetCursor(), Update(), and ~CLibraryHistoryPanel().


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:08 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2