GRE_LEGEND_POINT::ITEM Class Reference

Individual item in point legend. More...

#include <gre/legend.h>

Inheritance diagram for GRE_LEGEND_POINT::ITEM:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual void Draw (const DRAWCONTEXT &dc, const LRECT2D &samplerect) const
virtual void DrawTreeView (void *hdc, const GRE_ELEMSAMPLE_DC &dc, const CRect &rect, bool HasFocus)
const POINTSTYLEGetStyle () const
bool HasSameStyle (const POINTSTYLE &style) const
virtual bool HasTransparency () const
 ITEM (const RVC::ELEMENT &element, const MISTRING &label)
 ITEM (const POINTSTYLE &style, const MISTRING &label)
virtual ~ITEM ()

Detailed Description

Individual item in point legend.

Definition at line 394 of file legend.h.


Constructor & Destructor Documentation

GRE_LEGEND_POINT::ITEM::ITEM const POINTSTYLE style,
const MISTRING label
 

Constructor using POINTSTYLE and label.

GRE_LEGEND_POINT::ITEM::ITEM const RVC::ELEMENT element,
const MISTRING label
 

Constructor using element number and label.

Parameters:
element  Element
label  Label

virtual GRE_LEGEND_POINT::ITEM::~ITEM  )  [virtual]
 

Destructor.


Member Function Documentation

virtual void GRE_LEGEND_POINT::ITEM::Draw const DRAWCONTEXT &  dc,
const LRECT2D samplerect
const [virtual]
 

Draw item.

Parameters:
dc  Legend drawing context
samplerect  Rectangle for sample symbol, not including label

Implements GRE_LEGEND::ITEMBASE.

virtual void GRE_LEGEND_POINT::ITEM::DrawTreeView void *  hdc,
const GRE_ELEMSAMPLE_DC dc,
const CRect &  rect,
bool  HasFocus
[virtual]
 

Draw item with label in TreeView (WIN32_MFC).

Parameters:
hdc  Windows device context
dc  Legend drawing context
rect  Bounding rectangle including label
HasFocus  'true' if item has "focus"

Implements GRE_LEGEND::ITEMBASE.

const POINTSTYLE& GRE_LEGEND_POINT::ITEM::GetStyle  )  const [inline]
 

Get style for item.

Definition at line 430 of file legend.h.

bool GRE_LEGEND_POINT::ITEM::HasSameStyle const POINTSTYLE style  )  const
 

Determine if this item has same style.

Parameters:
style  Style to compare

virtual bool GRE_LEGEND_POINT::ITEM::HasTransparency  )  const [virtual]
 

Determine if item requires transparency support.

Reimplemented from GRE_LEGEND::ITEMBASE.


The documentation for this class was generated from the following file:
Generated on Tue Dec 14 13:19:54 2004 for TNTsdk by  doxygen 1.3.8-20040913