rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Gantt Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvGanttResourceGrid Class Reference

Grid for Gantt lines in an IlvGanttChartForm. More...

#include <ilviews/gantt/ganttgrd.h>

Inheritance diagram for IlvGanttResourceGrid:
IlvGanttLineGrid IlvGanttHorizontalGrid IlvGanttHorizontalGridImpl IlvSimpleGraphic IlvGraphic

List of all members.

Public Member Functions

 IlvGanttResourceGrid (IlvGanttChartForm *gantt, IlvPalette *palette=0)
 Constructor to create new instances.
virtual void drawGrid (IlvPort *port, const IlvTransformer *t=0, const IlvRegion *clip=0) const
 Draws the horizontal grid for the Gantt chart.

Detailed Description

Grid for Gantt lines in an IlvGanttChartForm.

Library: ilvgantt

This class draws horizontal and vertical grids for the Gantt lines in the manager views of the IlvGanttChartForm.

See also:
IlvGanttChartForm, IlvGanttLineGrid.

Constructor & Destructor Documentation

IlvGanttResourceGrid::IlvGanttResourceGrid ( IlvGanttChartForm gantt,
IlvPalette palette = 0 
)

Constructor to create new instances.

The palette parameter specifies the foreground of the grid. An inverted palette is automatically computed for filling the background.

Parameters:
gantt The Gantt chart form for which to draw the grid.
palette The palette for the grid.

Member Function Documentation

virtual void IlvGanttResourceGrid::drawGrid ( IlvPort port,
const IlvTransformer t = 0,
const IlvRegion clip = 0 
) const [virtual]

Draws the horizontal grid for the Gantt chart.

This function calls drawLine() to draw the grid. Note that this function does not push the clip.

Parameters:
port The destination to draw the grid.
t The transformer used to draw the grid.
clip The clip region.

Reimplemented from IlvGanttHorizontalGridImpl.

 All Classes Files Functions Variables Typedefs Enumerations Friends

© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.