GRE_LAYER_RASTER::LEGEND_IMAGESAMPLE::ITEM Class Reference

Individual item in legend. More...

#include <gre/lrraster.h>

Inheritance diagram for GRE_LAYER_RASTER::LEGEND_IMAGESAMPLE::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)
 ITEM (MGD::DEVICE_MEM24 *&SampleMem, const MISTRING &label)
virtual ~ITEM ()

Detailed Description

Individual item in legend.

Definition at line 293 of file lrraster.h.


Constructor & Destructor Documentation

GRE_LAYER_RASTER::LEGEND_IMAGESAMPLE::ITEM::ITEM MGD::DEVICE_MEM24 *&  SampleMem,
const MISTRING label
 

Constructor.

virtual GRE_LAYER_RASTER::LEGEND_IMAGESAMPLE::ITEM::~ITEM  )  [virtual]
 

Destructor.


Member Function Documentation

virtual void GRE_LAYER_RASTER::LEGEND_IMAGESAMPLE::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_LAYER_RASTER::LEGEND_IMAGESAMPLE::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.


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