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

CHashProgressBar Class Reference

#include <WndHashProgressBar.h>

List of all members.

Public Member Functions

 CHashProgressBar ()
virtual ~CHashProgressBar ()
void Create (CWnd *pParent)
void Run ()
void Update ()

Protected Member Functions

void Show (int nWidth, BOOL bShow)
afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg BOOL OnEraseBkgnd (CDC *pDC)
afx_msg void OnPaint ()
afx_msg void OnLButtonDown (UINT nFlags, CPoint point)

Protected Attributes

CWnd * m_pParent
COLORREF m_crBorder
COLORREF m_crFill
COLORREF m_crText
CBrush m_brFill
HICON m_hIcon
int m_nFlash
int m_nRemaining
int m_nTotal
CString m_sCurrent
CString m_sPrevious


Constructor & Destructor Documentation

CHashProgressBar::CHashProgressBar  ) 
 

Definition at line 53 of file WndHashProgressBar.cpp.

References NULL.

CHashProgressBar::~CHashProgressBar  )  [virtual]
 

Definition at line 66 of file WndHashProgressBar.cpp.


Member Function Documentation

void CHashProgressBar::Create CWnd *  pParent  ) 
 

Definition at line 73 of file WndHashProgressBar.cpp.

References m_pParent.

int CHashProgressBar::OnCreate LPCREATESTRUCT  lpCreateStruct  )  [protected]
 

Definition at line 158 of file WndHashProgressBar.cpp.

References CCoolInterface::CalculateColour(), IDI_SEARCH_FOLDER, m_brFill, m_crBorder, m_crFill, m_crText, m_hIcon, and NULL.

BOOL CHashProgressBar::OnEraseBkgnd CDC *  pDC  )  [protected]
 

Definition at line 181 of file WndHashProgressBar.cpp.

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

Definition at line 240 of file WndHashProgressBar.cpp.

References CSettings::sLibrary::HashWindow, CSettings::Library, and Settings.

void CHashProgressBar::OnPaint  )  [protected]
 

Definition at line 186 of file WndHashProgressBar.cpp.

References CoolInterface, IDS_HASH_MESSAGE, LoadString(), m_brFill, m_crBorder, m_crFill, m_crText, CCoolInterface::m_fntCaption, CCoolInterface::m_fntNormal, m_hIcon, m_nFlash, m_nRemaining, m_nTotal, m_sCurrent, and NULL.

void CHashProgressBar::Run  ) 
 

Definition at line 78 of file WndHashProgressBar.cpp.

References DISPLAY_THRESHOLD, CLibraryMaps::GetFileCount(), CSettings::sLibrary::HashWindow, CSettings::Library, LibraryBuilder, LibraryMaps, m_nRemaining, m_nTotal, m_sCurrent, NULL, Settings, Show(), Update(), CLibraryBuilder::UpdateStatus(), WINDOW_HEIGHT, and WINDOW_WIDTH.

Referenced by CMainWnd::OnTimer().

void CHashProgressBar::Show int  nWidth,
BOOL  bShow
[protected]
 

Definition at line 145 of file WndHashProgressBar.cpp.

References NULL, and WINDOW_HEIGHT.

Referenced by Run(), and Update().

void CHashProgressBar::Update  ) 
 

Definition at line 119 of file WndHashProgressBar.cpp.

References CoolInterface, CCoolInterface::m_fntCaption, m_sCurrent, m_sPrevious, Show(), and WINDOW_WIDTH.

Referenced by Run().


Member Data Documentation

CBrush CHashProgressBar::m_brFill [protected]
 

Definition at line 41 of file WndHashProgressBar.h.

Referenced by OnCreate(), and OnPaint().

COLORREF CHashProgressBar::m_crBorder [protected]
 

Definition at line 38 of file WndHashProgressBar.h.

Referenced by OnCreate(), and OnPaint().

COLORREF CHashProgressBar::m_crFill [protected]
 

Definition at line 39 of file WndHashProgressBar.h.

Referenced by OnCreate(), and OnPaint().

COLORREF CHashProgressBar::m_crText [protected]
 

Definition at line 40 of file WndHashProgressBar.h.

Referenced by OnCreate(), and OnPaint().

HICON CHashProgressBar::m_hIcon [protected]
 

Definition at line 42 of file WndHashProgressBar.h.

Referenced by OnCreate(), and OnPaint().

int CHashProgressBar::m_nFlash [protected]
 

Definition at line 43 of file WndHashProgressBar.h.

Referenced by OnPaint().

int CHashProgressBar::m_nRemaining [protected]
 

Definition at line 44 of file WndHashProgressBar.h.

Referenced by OnPaint(), and Run().

int CHashProgressBar::m_nTotal [protected]
 

Definition at line 45 of file WndHashProgressBar.h.

Referenced by OnPaint(), and Run().

CWnd* CHashProgressBar::m_pParent [protected]
 

Definition at line 37 of file WndHashProgressBar.h.

Referenced by Create().

CString CHashProgressBar::m_sCurrent [protected]
 

Definition at line 46 of file WndHashProgressBar.h.

Referenced by OnPaint(), Run(), and Update().

CString CHashProgressBar::m_sPrevious [protected]
 

Definition at line 47 of file WndHashProgressBar.h.

Referenced by Update().


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