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

CFolderTipCtrl Class Reference

#include <CtrlTipFolder.h>

Inheritance diagram for CFolderTipCtrl:

CCoolTipCtrl List of all members.

Public Member Functions

 CFolderTipCtrl ()
virtual ~CFolderTipCtrl ()
virtual BOOL OnPrepare ()
virtual void OnCalcSize (CDC *pDC)
virtual void OnPaint (CDC *pDC)

Protected Attributes

CString m_sName
CString m_sPath
CString m_sFiles
CString m_sVolume
CString m_sPercentage

Constructor & Destructor Documentation

CFolderTipCtrl::CFolderTipCtrl  ) 
 

Definition at line 49 of file CtrlTipFolder.cpp.

CFolderTipCtrl::~CFolderTipCtrl  )  [virtual]
 

Definition at line 53 of file CtrlTipFolder.cpp.


Member Function Documentation

void CFolderTipCtrl::OnCalcSize CDC *  pDC  )  [virtual]
 

Reimplemented from CCoolTipCtrl.

Definition at line 90 of file CtrlTipFolder.cpp.

References CCoolTipCtrl::AddSize(), CoolInterface, CCoolInterface::m_fntNormal, m_sFiles, m_sName, m_sPath, m_sPercentage, m_sVolume, CCoolTipCtrl::m_sz, TIP_RULE, and TIP_TEXTHEIGHT.

void CFolderTipCtrl::OnPaint CDC *  pDC  )  [virtual]
 

Reimplemented from CCoolTipCtrl.

Definition at line 109 of file CtrlTipFolder.cpp.

References CoolInterface, CShellIcons::Draw(), CCoolTipCtrl::DrawRule(), CCoolTipCtrl::DrawText(), IDS_TIP_TOTAL_FILES, IDS_TIP_TOTAL_VOLUME, LoadString(), CCoolInterface::m_crTipBack, CCoolInterface::m_fntNormal, m_sFiles, m_sName, m_sPath, m_sPercentage, m_sVolume, ShellIcons, SHI_FOLDER_OPEN, and TIP_TEXTHEIGHT.

BOOL CFolderTipCtrl::OnPrepare  )  [virtual]
 

Reimplemented from CCoolTipCtrl.

Definition at line 60 of file CtrlTipFolder.cpp.

References CCoolTipCtrl::CalcSizeHelper(), CLibraryFolders::CheckFolder(), CLibraryMaps::GetStatistics(), IDS_TIP_LIBRARY_PERCENT, Library, LibraryFolders, LibraryMaps, LoadString(), CLibraryFolder::m_nFiles, CLibraryFolder::m_nVolume, CCoolTipCtrl::m_pContext, CLibrary::m_pSection, m_sFiles, CLibraryFolder::m_sName, m_sName, CLibraryFolder::m_sPath, m_sPath, m_sPercentage, m_sVolume, CCoolTipCtrl::m_sz, NULL, Settings, and CSettings::SmartVolume().


Member Data Documentation

CString CFolderTipCtrl::m_sFiles [protected]
 

Definition at line 43 of file CtrlTipFolder.h.

Referenced by OnCalcSize(), OnPaint(), and OnPrepare().

CString CFolderTipCtrl::m_sName [protected]
 

Definition at line 41 of file CtrlTipFolder.h.

Referenced by OnCalcSize(), OnPaint(), and OnPrepare().

CString CFolderTipCtrl::m_sPath [protected]
 

Definition at line 42 of file CtrlTipFolder.h.

Referenced by OnCalcSize(), OnPaint(), and OnPrepare().

CString CFolderTipCtrl::m_sPercentage [protected]
 

Definition at line 45 of file CtrlTipFolder.h.

Referenced by OnCalcSize(), OnPaint(), and OnPrepare().

CString CFolderTipCtrl::m_sVolume [protected]
 

Definition at line 44 of file CtrlTipFolder.h.

Referenced by OnCalcSize(), OnPaint(), and OnPrepare().


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