|
|
|
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()constGets the bursting column offset.BurstLeft()constGets the left hand bursting value.BurstRight()constGets the right hand bursting value.CGridCellImg()Default constructor. DataWidthInPixelsL(const TCellRef &)constGets the width of the data contained in the specified cell. DoesCellContainDataL(const TCellRef &)constTests whether the specified cell contains data. DrawL(CGraphicsContext *,const TCellRef &,const TRect &,const TRect &)constDraws the contents of the specified cell.IsHorizontalGridLines()constTests whether horizontal grid lines are drawn.IsVerticalGridLines()constTests whether vertical grid lines are drawn.Reserved_1()SetGridColors(const TGridColors &)Sets the colours to be used when drawing.iGridColorsThe grid colour specification. ~CGridCellImg()Destructor. Inherited from CBase:
Delete(CBase *)Deletes the specified object.Extension_(TUint,TAny *&,TAny *)Extension function operator new(TUint)Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)Initialises the object to binary zeroes.operator new(TUint,TLeave)Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)Allocates the object from the heap and then initialises its contents to binary z...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: IMPORT_C virtual TInt DataWidthInPixelsL(const TCellRef &aCell) const;
Gets the width of the data contained in the specified cell.
|
|
private: IMPORT_C virtual TBool DoesCellContainDataL(const TCellRef &aCell) const;
Tests whether the specified cell contains data.
|
|
protected: TGridColors iGridColors;
The grid colour specification.