diff options
Diffstat (limited to 'src/kernel/ntqpixmap.h')
| -rw-r--r-- | src/kernel/ntqpixmap.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kernel/ntqpixmap.h b/src/kernel/ntqpixmap.h index e6e5e529b..dcf40676b 100644 --- a/src/kernel/ntqpixmap.h +++ b/src/kernel/ntqpixmap.h @@ -103,7 +103,7 @@ public: bool hasAlpha() const; bool hasAlphaChannel() const; #ifndef TQT_NO_IMAGE_HEURISTIC_MASK - TQBitmap createHeuristicMask( bool clipTight = TRUE ) const; + TQBitmap createHeuristicMask( bool clipTight = true ) const; #endif #ifndef TQT_NO_MIME static TQPixmap fromMimeSource( const TQString& abs_name ); @@ -161,11 +161,11 @@ public: HBITMAP multiCellBitmap() const; int multiCellOffset() const; int allocCell(); - void freeCell( bool = FALSE ); + void freeCell( bool = false ); #endif #if defined(TQ_WS_QWS) - virtual TQGfx * graphicsContext(bool clip_children=TRUE) const; + virtual TQGfx * graphicsContext(bool clip_children=true) const; virtual unsigned char * scanLine(int) const; virtual int bytesPerLine() const; TQRgb * clut() const; @@ -204,8 +204,8 @@ protected: #if defined(TQ_WS_WIN) TQPixmap *maskpm; union { - HBITMAP hbm; // if mcp == FALSE - TQMCPI *mcpi; // if mcp == TRUE + HBITMAP hbm; // if mcp == false + TQMCPI *mcpi; // if mcp == true } hbm_or_mcpi; uchar *realAlphaBits; #ifdef Q_OS_TEMP @@ -238,10 +238,10 @@ private: TQPixmap( int w, int h, int depth, bool, Optimization ); void init( int, int, int, bool, Optimization ); void deref(); - TQPixmap copy( bool ignoreMask = FALSE ) const; + TQPixmap copy( bool ignoreMask = false ) const; #if defined(TQ_WS_WIN) void initAlphaPixmap( uchar *bytes, int length, struct tagBITMAPINFO *bmi ); - void convertToAlphaPixmap( bool initAlpha=TRUE ); + void convertToAlphaPixmap( bool initAlpha=true ); static void bitBltAlphaPixmap( TQPixmap *dst, int dx, int dy, const TQPixmap *src, int sx, int sy, int sw, int sh, bool useDstAlpha ); |
