GRE_LEGEND_POLY::ITEM Class Reference

Individual item in polygon legend. More...

#include <gre/legend.h>

Inheritance diagram for GRE_LEGEND_POLY::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 POLYSTYLEGetStyle () const
bool HasSameStyle (const POLYSTYLE &style) const
virtual bool HasTransparency () const
 ITEM (const RVC::ELEMENT &element, const MISTRING &label, const MISTRING &intlabel)
 ITEM (const POLYSTYLE &style, const MISTRING &label, const MISTRING &intlabel)
virtual ~ITEM ()

Detailed Description

Individual item in polygon legend.

Definition at line 605 of file legend.h.


Constructor & Destructor Documentation

GRE_LEGEND_POLY::ITEM::ITEM const POLYSTYLE style,
const MISTRING label,
const MISTRING intlabel
 

Constructor.

Parameters:
style  Item style
label  Label to place to right of sample
intlabel  Label to place INSIDE sample (blank string for none)

GRE_LEGEND_POLY::ITEM::ITEM const RVC::ELEMENT element,
const MISTRING label,
const MISTRING intlabel
 

Constructor using element number and label.

Parameters:
element  Element
label  Label to place to right of sample
intlabel  Label to place INSIDE sample (blank string for none)

virtual GRE_LEGEND_POLY::ITEM::~ITEM  )  [virtual]
 

Destructor.


Member Function Documentation

virtual void GRE_LEGEND_POLY::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_POLY::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 POLYSTYLE& GRE_LEGEND_POLY::ITEM::GetStyle  )  const [inline]
 

Get style for item.

Definition at line 643 of file legend.h.

bool GRE_LEGEND_POLY::ITEM::HasSameStyle const POLYSTYLE style  )  const
 

Determine if this item has same style.

Parameters:
style  Style to compare

virtual bool GRE_LEGEND_POLY::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