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

CRichFragment Class Reference

#include <RichFragment.h>

List of all members.

Public Member Functions

 CRichFragment (CRichElement *pElement, int nOffset, int nLength, CPoint *pPoint, CSize *pSize)
 CRichFragment (CRichElement *pElement, CPoint *pPoint)
virtual ~CRichFragment ()
void Add (int nLength, CSize *pSize)
void Paint (CDC *pDC, CRichViewCtrl *pCtrl, int nFragment)

Public Attributes

CRichElementm_pElement
CPoint m_pt
CSize m_sz
WORD m_nOffset
WORD m_nLength


Constructor & Destructor Documentation

CRichFragment::CRichFragment CRichElement pElement,
int  nOffset,
int  nLength,
CPoint *  pPoint,
CSize *  pSize
 

Definition at line 41 of file RichFragment.cpp.

References m_nLength, m_nOffset, m_pElement, m_pt, and m_sz.

CRichFragment::CRichFragment CRichElement pElement,
CPoint *  pPoint
 

Definition at line 50 of file RichFragment.cpp.

References CRichElement::GetSize(), m_nLength, m_nOffset, m_pElement, m_pt, and m_sz.

CRichFragment::~CRichFragment  )  [virtual]
 

Definition at line 59 of file RichFragment.cpp.


Member Function Documentation

void CRichFragment::Add int  nLength,
CSize *  pSize
 

Definition at line 66 of file RichFragment.cpp.

References m_nLength, CRichElement::m_nType, m_pElement, m_sz, and retText.

Referenced by CRichViewCtrl::Layout().

void CRichFragment::Paint CDC *  pDC,
CRichViewCtrl pCtrl,
int  nFragment
 

Definition at line 77 of file RichFragment.cpp.

References CoolInterface, CEmoticons::Draw(), Emoticons, CShareazaApp::m_bRTL, CRichElement::m_hImage, m_nLength, m_nOffset, CRichElement::m_nType, CRichViewCtrl::m_pBrush, m_pElement, CCoolInterface::m_pImages, CRichViewCtrl::m_pSelAbsEnd, CRichViewCtrl::m_pSelAbsStart, m_pt, CRichElement::m_sText, m_sz, RICHPOSITION::nFragment, RICHPOSITION::nOffset, NULL, retBitmap, retCmdIcon, retEmoticon, retIcon, retText, and theApp.

Referenced by CRichViewCtrl::OnPaint().


Member Data Documentation

WORD CRichFragment::m_nLength
 

Definition at line 45 of file RichFragment.h.

Referenced by Add(), CRichViewCtrl::CopySelection(), CRichFragment(), CRichViewCtrl::OnSetCursor(), Paint(), CRichViewCtrl::PointToPosition(), and CRichViewCtrl::PositionToPoint().

WORD CRichFragment::m_nOffset
 

Definition at line 44 of file RichFragment.h.

Referenced by CRichViewCtrl::CopySelection(), CRichFragment(), CRichViewCtrl::Layout(), Paint(), CRichViewCtrl::PointToPosition(), and CRichViewCtrl::PositionToPoint().

CRichElement* CRichFragment::m_pElement
 

Definition at line 41 of file RichFragment.h.

Referenced by Add(), CRichViewCtrl::CopySelection(), CRichFragment(), CRichViewCtrl::GetElementRect(), CRichViewCtrl::OnMouseMove(), CRichViewCtrl::OnPaint(), CRichViewCtrl::OnSetCursor(), Paint(), CRichViewCtrl::PointToPosition(), CRichViewCtrl::PositionToPoint(), and CRichViewCtrl::WrapLineHelper().

CPoint CRichFragment::m_pt
 

Definition at line 42 of file RichFragment.h.

Referenced by CRichFragment(), CRichViewCtrl::GetElementRect(), CRichViewCtrl::Layout(), Paint(), CRichViewCtrl::PointToFrag(), CRichViewCtrl::PointToPosition(), CRichViewCtrl::PositionToPoint(), and CRichViewCtrl::WrapLineHelper().

CSize CRichFragment::m_sz
 

Definition at line 43 of file RichFragment.h.

Referenced by Add(), CRichFragment(), CRichViewCtrl::GetElementRect(), CRichViewCtrl::Layout(), Paint(), CRichViewCtrl::PointToFrag(), CRichViewCtrl::PointToPosition(), CRichViewCtrl::PositionToPoint(), and CRichViewCtrl::WrapLineHelper().


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