Removing const on pass-by-value params.
git-svn-id: svn://10.0.0.236/trunk@9045 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -73,7 +73,7 @@ CImageIconMixin :: ListenToMessage ( const MessageT inMessage, void* ioData )
|
||||
// draw the standby in its place
|
||||
//
|
||||
void
|
||||
CImageIconMixin :: DrawImage ( const Point & inTopLeft, const IconTransformType inTransform,
|
||||
CImageIconMixin :: DrawImage ( const Point & inTopLeft, IconTransformType inTransform,
|
||||
Uint32 inWidth, Uint32 inHeight ) const
|
||||
{
|
||||
try {
|
||||
@@ -110,7 +110,7 @@ CImageIconMixin :: DrawImage ( const Point & inTopLeft, const IconTransformType
|
||||
|
||||
void
|
||||
CImageIconMixin :: DoDrawing ( DrawingState & inState, const Point & inTopLeft,
|
||||
const IconTransformType inTransform, Uint32 inWidth, Uint32 inHeight ) const
|
||||
IconTransformType inTransform, Uint32 inWidth, Uint32 inHeight ) const
|
||||
{
|
||||
if ( inWidth == 0 && inHeight == 0 ) {
|
||||
inWidth = inState.pixmap->pixmap.bounds.right;
|
||||
@@ -158,7 +158,7 @@ CTiledImageMixin :: ~CTiledImageMixin ( )
|
||||
//
|
||||
void
|
||||
CTiledImageMixin :: DoDrawing ( DrawingState & inState, const Point & inTopLeft,
|
||||
const IconTransformType inTransform, Uint32 inWidth, Uint32 inHeight ) const
|
||||
IconTransformType inTransform, Uint32 inWidth, Uint32 inHeight ) const
|
||||
{
|
||||
DrawTiledImage ( &inState, inTopLeft, 0, 0, inWidth, inHeight );
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ public:
|
||||
// Draw the image. Will begin loading it if the data has not yet arrived and will
|
||||
// draw the standby in its place. Pass zero's for width and height to use image defaults
|
||||
// or the image will be scaled to what you put in.
|
||||
void DrawImage ( const Point & inTopLeft, const IconTransformType inTransform,
|
||||
void DrawImage ( const Point & inTopLeft, IconTransformType inTransform,
|
||||
Uint32 inWidth, Uint32 inHeight ) const;
|
||||
|
||||
protected:
|
||||
@@ -68,12 +68,11 @@ protected:
|
||||
|
||||
// Draw a scaled image as an icon. Override to draw differently
|
||||
virtual void DoDrawing ( DrawingState & inState, const Point & inTopLeft,
|
||||
const IconTransformType inTransform, Uint32 inWidth,
|
||||
IconTransformType inTransform, Uint32 inWidth,
|
||||
Uint32 inHeight ) const ;
|
||||
|
||||
// Draw something when the real image is not yet here.
|
||||
virtual void DrawStandby ( const Point & inTopLeft,
|
||||
const IconTransformType inTransform ) const = 0;
|
||||
virtual void DrawStandby ( const Point & inTopLeft, IconTransformType inTransform ) const = 0;
|
||||
|
||||
private:
|
||||
|
||||
@@ -101,7 +100,7 @@ protected:
|
||||
// reinterpreted to mean the width and height of the area the image is being tiled
|
||||
// in.
|
||||
virtual void DoDrawing ( DrawingState & inState, const Point & inTopLeft,
|
||||
const IconTransformType inTransform, Uint32 inWidth,
|
||||
IconTransformType inTransform, Uint32 inWidth,
|
||||
Uint32 inHeight ) const ;
|
||||
|
||||
}; // class CTiledImageMixin
|
||||
|
||||
@@ -1689,8 +1689,7 @@ CTreeIcon :: ImageIsReady ( )
|
||||
}
|
||||
|
||||
void
|
||||
CTreeIcon :: DrawStandby ( const Point & inTopLeft,
|
||||
const IconTransformType inTransform ) const
|
||||
CTreeIcon :: DrawStandby ( const Point & inTopLeft, IconTransformType inTransform ) const
|
||||
{
|
||||
Rect where;
|
||||
where.top = inTopLeft.v; where.left = inTopLeft.h;
|
||||
|
||||
@@ -79,8 +79,7 @@ public:
|
||||
protected:
|
||||
|
||||
// Background image tiling stuff
|
||||
virtual void DrawStandby ( const Point & inTopLeft,
|
||||
const IconTransformType inTransform ) const;
|
||||
virtual void DrawStandby ( const Point & inTopLeft, IconTransformType inTransform ) const;
|
||||
virtual void DrawSelf ( ) ;
|
||||
virtual void ImageIsReady ( ) ;
|
||||
virtual void EraseTableBackground ( ) const;
|
||||
@@ -258,8 +257,7 @@ public:
|
||||
|
||||
private:
|
||||
void ImageIsReady ( ) ;
|
||||
void DrawStandby ( const Point & inTopLeft,
|
||||
const IconTransformType inTransform ) const;
|
||||
void DrawStandby ( const Point & inTopLeft, IconTransformType inTransform ) const;
|
||||
|
||||
const CHyperTreeFlexTable* mTree;
|
||||
HT_Resource mNode;
|
||||
|
||||
@@ -179,7 +179,7 @@ CNavCenterStrip :: ImageIsReady ( )
|
||||
//
|
||||
void
|
||||
CNavCenterStrip :: DrawStandby ( const Point & /*inTopLeft*/,
|
||||
const IconTransformType /*inTransform*/ ) const
|
||||
IconTransformType /*inTransform*/ ) const
|
||||
{
|
||||
// we're just waiting for the image to come in, who cares if we don't use
|
||||
// HT's color?
|
||||
|
||||
@@ -58,8 +58,7 @@ protected:
|
||||
virtual void ClickSelf ( const SMouseDownEvent & inMouseDown ) ;
|
||||
|
||||
virtual void DrawBeveledFill ( ) ;
|
||||
virtual void DrawStandby ( const Point & inTopLeft,
|
||||
const IconTransformType inTransform ) const;
|
||||
virtual void DrawStandby ( const Point & inTopLeft, IconTransformType inTransform ) const;
|
||||
virtual void EraseBackground ( HT_Resource inTopNode ) const ;
|
||||
virtual void ImageIsReady ( ) ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user