Object Look-and-Feel class. More...
#include <ilviews/gadgets/windows/matrix.h>
Public Member Functions | |
IlvMatrixWLFHandler (IlvLookFeelHandler *lfh) | |
Constructor. More... | |
virtual void | drawRelief (const IlvMatrix *, IlUShort, IlUShort, IlvPort *, const IlvRect &, const IlvRect *) const |
Is called to draw the relief of a matrix item. More... | |
virtual void | drawSelection (const IlvMatrix *, IlvPort *, const IlvRect &, const IlvRect *) const |
Is called to draw the selection of a matrix item. More... | |
virtual const IlvPalette * | getSelectionPalette (const IlvMatrix *m, const IlvAbstractMatrixItem *item) const |
Returns the palette used to draw the selection in the matrix. More... | |
virtual const IlvPalette * | getTextPalette (const IlvMatrix *m, const IlvAbstractMatrixItem *item) const |
Returns the palette used to draw the text in the matrix. More... | |
Public Member Functions inherited from IlvDefaultMatrixLFHandler | |
virtual void | drawBackground (const IlvMatrix *, IlvPort *, const IlvTransformer *, const IlvRegion *) const |
Is called to draw the background of a matrix. More... | |
virtual void | drawFrame (const IlvMatrix *, IlvPort *, const IlvTransformer *, const IlvRegion *) const |
Is called to draw the frame of a matrix. More... | |
virtual void | drawItem (const IlvMatrix *, IlvPort *, IlUShort, IlUShort, const IlvRect &, const IlvRect &) const |
Is called to draw a matrix item. More... | |
virtual const IlvPalette * | getInsensitivePalette (const IlvMatrix *, const IlvAbstractMatrixItem *item) const |
Returns the palette used to draw the selection in the matrix. More... | |
virtual const IlvPalette * | getReliefPalette (const IlvMatrix *, const IlvAbstractMatrixItem *item) const |
Returns the palette used to draw the relief in the matrix. More... | |
virtual const IlvPalette * | getWindowBackground (const IlvMatrix *) const |
Returns the palette used to draw the background of the matrix. More... | |
virtual IlBoolean | handleMatrixEvent (IlvMatrix *, IlvEvent &) const |
Is called to handle the events of a matrix. More... | |
virtual void | itemBBox (const IlvMatrix *matrix, IlUShort col, IlUShort row, IlvRect &r, const IlvTransformer *t) const override |
Calculates matrix item bounding box. More... | |
virtual const IlvPalette * | stylePalette (const IlvPalette *base, const IlvMatrix *matrix, const IlvAbstractMatrixItem *item) const |
Adds look and feel styling to a palette. CSS look and feel specific, allows different style for each matrix item. Classic look and feel handlers return the palette unmodified. More... | |
Public Member Functions inherited from IlvMatrixLFHandler | |
IlvMatrixLFHandler (IlvLookFeelHandler *lfh) | |
Constructor. More... | |
Object Look-and-Feel class.
Library: ilvawlook
The class for the Microsoft Windows object look-and-feel handler of the matrix gadget.
IlvMatrixWLFHandler::IlvMatrixWLFHandler | ( | IlvLookFeelHandler * | lfh | ) |
Constructor.
Creates a new IlvMatrixWLFHandler
instance and initializes it with lfh.
lfh | The look-and-feel handler which this handler will be associated to. |
|
virtual |
Is called to draw the relief of a matrix item.
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.
Reimplemented in IlvMatrixW95LFHandler, and IlvMatrixVXLFHandler.
|
virtual |
Is called to draw the selection of a matrix item.
matrix | The matrix. |
dst | The destination port. |
rect | The rectangle where to draw the selection. |
clip | The clipping rectangle. |
Implements IlvMatrixLFHandler.
|
virtual |
Returns the palette used to draw the selection in the matrix.
matrix | The matrix. |
item | Matrix item that the palette is used for. CSS look and feel specific, allows different style for each item. if set null, matrix style is used. Classic look and feel handlers ignore the parameter. |
IlvPalette
used to draw the selection in the matrix. Implements IlvMatrixLFHandler.
|
virtual |
Returns the palette used to draw the text in the matrix.
matrix | The matrix. |
item | Matrix item that the palette is used for. CSS look and feel specific, allows different style for each item. if set null, matrix style is used. Classic look and feel handlers ignore the parameter. |
IlvPalette
used to draw the text in the matrix. Implements IlvMatrixLFHandler.