summaryrefslogtreecommitdiffstats
path: root/src/kernel/tqpainter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/tqpainter.h')
-rw-r--r--src/kernel/tqpainter.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/kernel/tqpainter.h b/src/kernel/tqpainter.h
index 29a10406d..67dae0f6f 100644
--- a/src/kernel/tqpainter.h
+++ b/src/kernel/tqpainter.h
@@ -68,12 +68,12 @@ public:
enum CoordinateMode { CoordDevice, CoordPainter };
TQPainter();
- TQPainter( const TQPaintDevice *, bool unclipped = FALSE );
- TQPainter( const TQPaintDevice *, const TQWidget *, bool unclipped = FALSE );
+ TQPainter( const TQPaintDevice *, bool unclipped = false );
+ TQPainter( const TQPaintDevice *, const TQWidget *, bool unclipped = false );
~TQPainter();
- bool begin( const TQPaintDevice *, bool unclipped = FALSE );
- bool begin( const TQPaintDevice *, const TQWidget *, bool unclipped = FALSE );
+ bool begin( const TQPaintDevice *, bool unclipped = false );
+ bool begin( const TQPaintDevice *, const TQWidget *, bool unclipped = false );
bool end();
TQPaintDevice *device() const;
@@ -135,7 +135,7 @@ public:
void setWorldXForm( bool ); // set world xform on/off
const TQWMatrix &worldMatrix() const; // get/set world xform matrix
- void setWorldMatrix( const TQWMatrix &, bool combine=FALSE );
+ void setWorldMatrix( const TQWMatrix &, bool combine=false );
void saveWorldMatrix();
void restoreWorldMatrix();
@@ -201,7 +201,7 @@ public:
int index=0, int nlines=-1 );
void drawPolyline( const TQPointArray &,
int index=0, int npoints=-1 );
- void drawPolygon( const TQPointArray &, bool winding=FALSE,
+ void drawPolygon( const TQPointArray &, bool winding=false,
int index=0, int npoints=-1 );
void drawConvexPolygon( const TQPointArray &,
int index=0, int npoints=-1 );
@@ -298,7 +298,7 @@ private:
void map( int, int, int, int, int *, int *, int *, int * ) const;
void mapInv( int, int, int *, int * ) const;
void mapInv( int, int, int, int, int *, int *, int *, int * ) const;
- void drawPolyInternal( const TQPointArray &, bool close=TRUE );
+ void drawPolyInternal( const TQPointArray &, bool close=true );
void drawWinFocusRect( int x, int y, int w, int h, bool xorPaint,
const TQColor &penColor );
@@ -394,7 +394,7 @@ protected:
uint clip_serial; // clipping serial number
#elif defined(TQ_WS_MAC)
TQt::HANDLE hd; // handle to drawable
- void initPaintDevice(bool force=FALSE, TQPoint *off=NULL, TQRegion *rgn=NULL);
+ void initPaintDevice(bool force=false, TQPoint *off=NULL, TQRegion *rgn=NULL);
friend const TQRegion &qt_mac_update_painter(TQPainter *, bool);
friend class TQFontEngineMac;
friend class TQMacPainter;