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

CSearchDetailPanel::Review Class Reference

#include <CtrlSearchDetailPanel.h>

List of all members.

Public Member Functions

 Review (GGUID *pGUID, IN_ADDR *pAddress, LPCTSTR pszNick, int nRating, LPCTSTR pszComments)
virtual ~Review ()
void Layout (CSearchDetailPanel *pParent, CRect *pRect)
void Reposition (int nScroll)
void Paint (CDC *pDC, int nScroll)

Public Attributes

GGUID m_pGUID
CString m_sNick
int m_nRating
CRichDocument m_pComments
CRichViewCtrl m_wndComments
CRect m_rc


Constructor & Destructor Documentation

CSearchDetailPanel::Review::Review GGUID pGUID,
IN_ADDR *  pAddress,
LPCTSTR  pszNick,
int  nRating,
LPCTSTR  pszComments
 

Definition at line 693 of file CtrlSearchDetailPanel.cpp.

References Emoticons, CEmoticons::FormatText(), m_nRating, m_pComments, m_pGUID, m_sNick, CRichDocument::m_szMargin, and NULL.

CSearchDetailPanel::Review::~Review  )  [virtual]
 

Definition at line 715 of file CtrlSearchDetailPanel.cpp.

References m_wndComments, and NULL.


Member Function Documentation

void CSearchDetailPanel::Review::Layout CSearchDetailPanel pParent,
CRect *  pRect
 

Definition at line 720 of file CtrlSearchDetailPanel.cpp.

References CRichViewCtrl::Create(), CRichViewCtrl::FullHeightMove(), CRichDocument::GetCount(), IDC_REVIEW_VIEW, m_pComments, m_rc, m_wndComments, NULL, CRichViewCtrl::SetDocument(), and CRichViewCtrl::SetSelectable().

Referenced by CSearchDetailPanel::OnSize().

void CSearchDetailPanel::Review::Paint CDC *  pDC,
int  nScroll
 

Definition at line 753 of file CtrlSearchDetailPanel.cpp.

References CoolInterface, CShellIcons::Draw(), CSearchDetailPanel::DrawText(), CRichDocument::GetCount(), IDS_SEARCH_DETAILS_RATES, IDS_SEARCH_DETAILS_WRITES, LoadString(), CCoolInterface::m_crMargin, CCoolInterface::m_crWindow, m_nRating, m_pComments, m_rc, m_sNick, ShellIcons, SHI_FAKE, and SHI_STAR.

Referenced by CSearchDetailPanel::OnPaint().

void CSearchDetailPanel::Review::Reposition int  nScroll  ) 
 

Definition at line 744 of file CtrlSearchDetailPanel.cpp.

References m_rc, m_wndComments, and NULL.

Referenced by CSearchDetailPanel::OnVScroll().


Member Data Documentation

int CSearchDetailPanel::Review::m_nRating
 

Definition at line 75 of file CtrlSearchDetailPanel.h.

Referenced by Paint(), and Review().

CRichDocument CSearchDetailPanel::Review::m_pComments
 

Definition at line 76 of file CtrlSearchDetailPanel.h.

Referenced by Layout(), Paint(), and Review().

GGUID CSearchDetailPanel::Review::m_pGUID
 

Definition at line 73 of file CtrlSearchDetailPanel.h.

Referenced by Review().

CRect CSearchDetailPanel::Review::m_rc
 

Definition at line 78 of file CtrlSearchDetailPanel.h.

Referenced by Layout(), Paint(), and Reposition().

CString CSearchDetailPanel::Review::m_sNick
 

Definition at line 74 of file CtrlSearchDetailPanel.h.

Referenced by Paint(), and Review().

CRichViewCtrl CSearchDetailPanel::Review::m_wndComments
 

Definition at line 77 of file CtrlSearchDetailPanel.h.

Referenced by Layout(), Reposition(), and ~Review().


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