Location:
GRDSTD.H
Link against: grid.lib
class CGridCellImg : public CBase;
Draws a grid cell's contents.
CBase
- Base class for all classes to be instantiated on the heap
CGridCellImg
- Draws a grid cell's contents
Defined in CGridCellImg
:
BurstColOffset()
, BurstLeft()
, BurstRight()
, CGridCellImg()
, DataWidthInPixelsL()
, DoesCellContainDataL()
, DrawL()
, IsHorizontalGridLines()
, IsVerticalGridLines()
, Reserved_1()
, SetGridColors()
, iGridColors
, ~CGridCellImg()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
inline TInt BurstColOffset() const;
Gets the bursting column offset.
|
inline TInt BurstLeft() const;
Gets the left hand bursting value.
|
inline TInt BurstRight() const;
Gets the right hand bursting value.
|
inline TBool IsHorizontalGridLines() const;
Tests whether horizontal grid lines are drawn.
This function is set by the CGridImg
object and allows classes derived from CGridCellImg to modify or restrict the area into which they draw.
|
inline TBool IsVerticalGridLines() const;
Tests whether vertical grid lines are drawn.
This function is set by the CGridImg
object and allows classes derived from CGridCellImg to modify or restrict the area into which they draw.
|
inline void SetGridColors(const TGridColors &aGridColors);
Sets the colours to be used when drawing.
|
private: virtual void DrawL(CGraphicsContext *aGc, const TCellRef &aCell, const TRect &aDrawRect, const TRect &aClipRect)
const=0;
Draws the contents of the specified cell.
|
private: virtual IMPORT_C TInt DataWidthInPixelsL(const TCellRef &aCell) const;
Gets the width of the data contained in the specified cell.
|
|
private: virtual IMPORT_C TBool DoesCellContainDataL(const TCellRef &aCell) const;
Tests whether the specified cell contains data.
|
|
protected: TGridColors iGridColors;
The grid colour specification.