CBGDDStrokeItem Class Reference

#include <bitmapgriddropdown.h>

Inheritance diagram for CBGDDStrokeItem:

CBGDDCachedItem CBGDDItemInfo CGridComboUserData List of all members.

Public Member Functions

 CBGDDStrokeItem (LineAttrItem *plaiStroke, BOOL bAutodelete=TRUE, String_256 strLabel=String_256())
virtual ~CBGDDStrokeItem ()

Protected Member Functions

virtual void RenderItemToGRenderRegion (GRenderRegion *pRenderRegion, DocRect drcItem) const

Protected Attributes

LineAttrItemm_plaiStroke
BOOL m_bDelete

Detailed Description

Class : CBGDDStrokeItem Base Class : public CBGDDCachedItem Author : Mikhail Tatarnikov Description : Item for displaying a stroke. Pure Virtual : None Known Issues : None Usage Notes : None Override Notes: None

Definition at line 264 of file bitmapgriddropdown.h.


Constructor & Destructor Documentation

CBGDDStrokeItem::CBGDDStrokeItem LineAttrItem plaiStroke,
BOOL  bAutodelete = TRUE,
String_256  strLabel = String_256()
 

Definition at line 468 of file bitmapgriddropdown.cpp.

00469     : CBGDDCachedItem(strLabel)
00470 {
00471     m_plaiStroke = plaiStroke;
00472     m_bDelete    = bAutodelete;
00473 }

CBGDDStrokeItem::~CBGDDStrokeItem  )  [virtual]
 

Definition at line 475 of file bitmapgriddropdown.cpp.

00476 {
00477     if (m_bDelete)
00478         delete m_plaiStroke;
00479 }


Member Function Documentation

void CBGDDStrokeItem::RenderItemToGRenderRegion GRenderRegion pRenderRegion,
DocRect  drcItem
const [protected, virtual]
 

Function : CBGDDStrokeItem::RenderItemToGRenderRegion Author : Mikhail Tatarnikov Purpose : Renders the stroke into GRenderRegion. Returns : void Exceptions: Parameters: [in] GRenderRegion* pRenderRegion - Render region to draw to; [in] DocRect drcItem - item size. Notes :

Reimplemented from CBGDDCachedItem.

Definition at line 492 of file bitmapgriddropdown.cpp.

00493 {
00494     // Render the stroke.
00495     m_plaiStroke->Render(pRenderRegion, drcItem, LineAttrItem::NO_LABEL);
00496 }


Member Data Documentation

BOOL CBGDDStrokeItem::m_bDelete [protected]
 

Definition at line 275 of file bitmapgriddropdown.h.

LineAttrItem* CBGDDStrokeItem::m_plaiStroke [protected]
 

Definition at line 274 of file bitmapgriddropdown.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:51:55 2007 for Camelot by  doxygen 1.4.4