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

CHomeLibraryBox Class Reference

#include <CtrlHomePanel.h>

Inheritance diagram for CHomeLibraryBox:

CRichTaskBox CTaskBox List of all members.

Public Member Functions

 CHomeLibraryBox ()
virtual ~CHomeLibraryBox ()
void Setup ()
void Update ()
ItemHitTest (const CPoint &point) const

Protected Member Functions

afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg void OnSize (UINT nType, int cx, int cy)
afx_msg void OnPaint ()
afx_msg BOOL OnSetCursor (CWnd *pWnd, UINT nHitTest, UINT message)
afx_msg void OnLButtonUp (UINT nFlags, CPoint point)
afx_msg void OnTimer (UINT nIDEvent)

Protected Attributes

CRichElementm_pdLibraryFiles
CRichElementm_pdLibraryVolume
CRichElementm_pdLibraryHashRemaining
CPtrArray m_pList
CFont m_pFont
HCURSOR m_hHand
Itemm_pHover

Classes

struct  Item

Constructor & Destructor Documentation

CHomeLibraryBox::CHomeLibraryBox  ) 
 

Definition at line 606 of file CtrlHomePanel.cpp.

References CTaskBox::SetPrimary().

CHomeLibraryBox::~CHomeLibraryBox  )  [virtual]
 

Definition at line 611 of file CtrlHomePanel.cpp.

References m_pList.


Member Function Documentation

CHomeLibraryBox::Item * CHomeLibraryBox::HitTest const CPoint &  point  )  const
 

Definition at line 871 of file CtrlHomePanel.cpp.

References m_pList, and NULL.

Referenced by OnLButtonUp(), and OnSetCursor().

int CHomeLibraryBox::OnCreate LPCREATESTRUCT  lpCreateStruct  )  [protected]
 

Reimplemented from CRichTaskBox.

Definition at line 622 of file CtrlHomePanel.cpp.

References IDC_HAND, m_hHand, CShareazaApp::m_nDefaultFontSize, m_pFont, CShareazaApp::m_sDefaultFont, CRichTaskBox::OnCreate(), and theApp.

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

Definition at line 922 of file CtrlHomePanel.cpp.

References CFileExecutor::Execute(), HitTest(), Library, CLibrary::LookupFile(), m_pHover, CLibrary::m_pSection, and NULL.

void CHomeLibraryBox::OnPaint  )  [protected]
 

Reimplemented from CTaskBox.

Definition at line 818 of file CtrlHomePanel.cpp.

References CoolInterface, CShellIcons::Draw(), CCoolInterface::m_crWindow, CHomeLibraryBox::Item::m_nIcon16, m_pFont, m_pHover, m_pList, CHomeLibraryBox::Item::m_sText, CRichTaskBox::m_wndView, NULL, and ShellIcons.

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

Reimplemented from CTaskBox.

Definition at line 894 of file CtrlHomePanel.cpp.

References HitTest(), m_hHand, m_pHover, NULL, and CTaskBox::OnSetCursor().

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

Reimplemented from CRichTaskBox.

Definition at line 804 of file CtrlHomePanel.cpp.

References CRichViewCtrl::FullHeightMove(), CRichTaskBox::m_nWidth, m_pList, CRichTaskBox::m_wndView, and CTaskBox::SetSize().

void CHomeLibraryBox::OnTimer UINT  nIDEvent  )  [protected]
 

Reimplemented from CTaskBox.

Definition at line 948 of file CtrlHomePanel.cpp.

References m_pHover, NULL, and CTaskBox::OnTimer().

void CHomeLibraryBox::Setup  ) 
 

Definition at line 635 of file CtrlHomePanel.cpp.

References CXMLElement::GetAttributeValue(), CSkin::GetDocument(), CSkin::GetWatermark(), CRichDocument::LoadXML(), m_pdLibraryFiles, m_pdLibraryHashRemaining, m_pdLibraryVolume, CRichTaskBox::m_pDocument, NULL, CTaskBox::SetCaption(), CTaskBox::SetCaptionmark(), CRichTaskBox::SetDocument(), Skin, and Update().

Referenced by CHomePanel::Setup().

void CHomeLibraryBox::Update  ) 
 

Reimplemented from CRichTaskBox.

Definition at line 662 of file CtrlHomePanel.cpp.

References CLibraryHistory::Check(), CRichViewCtrl::FullHeightMove(), CShellIcons::Get(), CLibraryBuilder::GetBoostPriority(), CLibraryHistory::GetIterator(), CLibraryHistory::GetNext(), CLibraryBuilder::GetRemaining(), CLibraryMaps::GetStatistics(), CRichTaskBox::GetView(), Library, LibraryBuilder, LibraryHistory, LibraryMaps, CHomeLibraryBox::Item::m_nIcon16, CLibraryFile::m_nIndex, CHomeLibraryBox::Item::m_nIndex, CRichTaskBox::m_nWidth, m_pdLibraryFiles, m_pdLibraryHashRemaining, m_pdLibraryVolume, CRichTaskBox::m_pDocument, CLibraryRecent::m_pFile, m_pHover, m_pList, CHomeLibraryBox::Item::m_pRecent, CLibrary::m_pSection, CLibraryFile::m_sName, CHomeLibraryBox::Item::m_sText, CRichTaskBox::m_wndView, NULL, CTaskBox::SetSize(), Settings, ShellIcons, CRichDocument::ShowGroup(), and CSettings::SmartVolume().

Referenced by Setup(), and CHomePanel::Update().


Member Data Documentation

HCURSOR CHomeLibraryBox::m_hHand [protected]
 

Definition at line 109 of file CtrlHomePanel.h.

Referenced by OnCreate(), and OnSetCursor().

CRichElement* CHomeLibraryBox::m_pdLibraryFiles [protected]
 

Definition at line 103 of file CtrlHomePanel.h.

Referenced by Setup(), and Update().

CRichElement* CHomeLibraryBox::m_pdLibraryHashRemaining [protected]
 

Definition at line 105 of file CtrlHomePanel.h.

Referenced by Setup(), and Update().

CRichElement* CHomeLibraryBox::m_pdLibraryVolume [protected]
 

Definition at line 104 of file CtrlHomePanel.h.

Referenced by Setup(), and Update().

CFont CHomeLibraryBox::m_pFont [protected]
 

Definition at line 108 of file CtrlHomePanel.h.

Referenced by OnCreate(), and OnPaint().

Item* CHomeLibraryBox::m_pHover [protected]
 

Definition at line 119 of file CtrlHomePanel.h.

Referenced by OnLButtonUp(), OnPaint(), OnSetCursor(), OnTimer(), and Update().

CPtrArray CHomeLibraryBox::m_pList [protected]
 

Definition at line 107 of file CtrlHomePanel.h.

Referenced by HitTest(), OnPaint(), OnSize(), Update(), and ~CHomeLibraryBox().


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