Object Look-and-Feel class. More...
#include <ilviews/gadgets/css/matrix.h>
Public Member Functions | |
IlvMatrixCSSLFHandler (IlvLookFeelHandler *lfh) | |
Constructor. More... | |
virtual void | drawItem (const IlvMatrix *matrix, IlvPort *dst, IlUShort col, IlUShort row, const IlvRect &itemrect, const IlvRect &clip) const override |
Is called to draw a matrix item. 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 * | getInsensitivePalette (const IlvMatrix *, const IlvAbstractMatrixItem *item) const override |
Returns the palette used to draw the selection in the matrix. More... | |
virtual const IlvPalette * | getReliefPalette (const IlvMatrix *, const IlvAbstractMatrixItem *item) const override |
Returns the palette used to draw the relief in the matrix. More... | |
virtual const IlvPalette * | getSelectionPalette (const IlvMatrix *m, const IlvAbstractMatrixItem *item) const override |
Returns the palette used to draw the selection in the matrix. More... | |
virtual const IlvPalette * | getTextPalette (const IlvMatrix *m, const IlvAbstractMatrixItem *item) const override |
Returns the palette used to draw the text in the 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 override |
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 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 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... | |
Public Member Functions inherited from IlvMatrixLFHandler | |
IlvMatrixLFHandler (IlvLookFeelHandler *lfh) | |
Constructor. More... | |
Object Look-and-Feel class.
Library: ilvacsslook
The class for the motif object look-and-feel handler of the matrix gadget.
IlvMatrixCSSLFHandler::IlvMatrixCSSLFHandler | ( | IlvLookFeelHandler * | lfh | ) |
Constructor.
Creates a new IlvMatrixCSSLFHandler
instance and initializes it with lfh.
lfh | The look-and-feel handler which this handler will be associated to. |
|
overridevirtual |
Is called to draw a matrix item.
matrix | The matrix. |
dst | The destination port. |
colno | The column number. |
rowno | The row number. |
itembbox | The rectangle where to draw the item. |
clip | The clipping rectangle. |
Reimplemented from IlvDefaultMatrixLFHandler.
|
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.
|
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.
|
overridevirtual |
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 relief in the matrix. Reimplemented from IlvDefaultMatrixLFHandler.
|
overridevirtual |
Returns the palette used to draw the relief 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 relief in the matrix. Reimplemented from IlvDefaultMatrixLFHandler.
|
overridevirtual |
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.
|
overridevirtual |
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.
|
overridevirtual |
Calculates matrix item bounding box.
matrix | The matrix. |
col | Column |
row | Row |
r | Rect of item bbox |
t | Transformer |
Reimplemented from IlvDefaultMatrixLFHandler.
|
overridevirtual |
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.
base | The palette that will be used as a base (default) |
matrix | The matrix. |
item | Matrix item that the palette is used for. |
IlvPalette
with styling. Reimplemented from IlvDefaultMatrixLFHandler.