rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Gadgets Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvMatrixMLFHandler Class Reference

Object Look-and-Feel class. More...

#include <ilviews/gadgets/motif/matrix.h>

Inheritance diagram for IlvMatrixMLFHandler:
IlvDefaultMatrixLFHandler IlvMatrixLFHandler IlvObjectLFHandler

List of all members.

Public Member Functions

 IlvMatrixMLFHandler (IlvLookFeelHandler *lfh)
 Constructor.
virtual void drawRelief (const IlvMatrix *, IlUShort, IlUShort, IlvPort *, const IlvRect &, const IlvRect *) const
 Is called to draw the relief of a matrix item.
virtual void drawSelection (const IlvMatrix *, IlvPort *, const IlvRect &, const IlvRect *) const
 Is called to draw the selection of a matrix item.
virtual IlvPalettegetSelectionPalette (const IlvMatrix *m) const
 Returns the palette used to draw the selection in the matrix.

Detailed Description

Object Look-and-Feel class.

Library: ilvamlook

The class for the motif object look-and-feel handler of the matrix gadget.


Constructor & Destructor Documentation

IlvMatrixMLFHandler::IlvMatrixMLFHandler ( IlvLookFeelHandler lfh  ) 

Constructor.

Creates a new IlvMatrixMLFHandler instance and initializes it with lfh.

Parameters:
lfh The look-and-feel handler which this handler will be associated to.

Member Function Documentation

virtual void IlvMatrixMLFHandler::drawRelief ( const IlvMatrix matrix,
IlUShort  colno,
IlUShort  rowno,
IlvPort dst,
const IlvRect rect,
const IlvRect clip 
) const [virtual]

Is called to draw the relief of a matrix item.

Parameters:
matrix The matrix.
colno The column number.
rowno The row number.
dst The destination port.
rect The rectangle where to draw the relief.
clip The clipping rectangle.

Implements IlvMatrixLFHandler.

virtual void IlvMatrixMLFHandler::drawSelection ( const IlvMatrix matrix,
IlvPort dst,
const IlvRect rect,
const IlvRect clip 
) const [virtual]

Is called to draw the selection of a matrix item.

Parameters:
matrix The matrix.
dst The destination port.
rect The rectangle where to draw the selection.
clip The clipping rectangle.

Implements IlvMatrixLFHandler.

virtual IlvPalette* IlvMatrixMLFHandler::getSelectionPalette ( const IlvMatrix matrix  )  const [virtual]

Returns the palette used to draw the selection in the matrix.

Parameters:
matrix The matrix.
Returns:
The palette used to draw the selection in the matrix.

Implements IlvMatrixLFHandler.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

© 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.