summaryrefslogtreecommitdiffstats
path: root/style/baghira.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'style/baghira.cpp')
-rw-r--r--style/baghira.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/style/baghira.cpp b/style/baghira.cpp
index e53c761..093203a 100644
--- a/style/baghira.cpp
+++ b/style/baghira.cpp
@@ -1701,7 +1701,7 @@ void LiquidStyle::drawControl( ControlElement element,
pr.addCoords( 0, 1, 0, -fh-3 );
tr.addCoords( 0, pr.bottom(), 0, -3 );
pr.moveBy(shiftX, shiftY);
- drawItem( p, pr, AlignCenter, cg, TRUE, &pm, TQString::null );
+ drawItem( p, pr, AlignCenter, cg, true, &pm, TQString::null );
alignment |= AlignCenter;
}
else
@@ -1710,7 +1710,7 @@ void LiquidStyle::drawControl( ControlElement element,
tr.addCoords( pr.right(), 0, 0, 0 );
pr.moveBy(shiftX, shiftY);
- drawItem( p, pr, AlignCenter, cg, TRUE, &pm, TQString::null );
+ drawItem( p, pr, AlignCenter, cg, true, &pm, TQString::null );
alignment |= AlignLeft | AlignVCenter;
}
@@ -1722,7 +1722,7 @@ void LiquidStyle::drawControl( ControlElement element,
else
{
rect.moveBy(shiftX, shiftY);
- drawItem( p, rect, AlignCenter, cg, TRUE, &pm, TQString::null );
+ drawItem( p, rect, AlignCenter, cg, true, &pm, TQString::null );
}
}
}
@@ -2585,8 +2585,8 @@ void LiquidStyle::drawComplexControl( ComplexControl control,
if ( !verticalLine ) {
// make 128*1 and 1*128 bitmaps that can be used for
// drawing the right sort of lines.
- verticalLine = new TQBitmap( 1, 128, TRUE );
- horizontalLine = new TQBitmap( 128, 1, TRUE );
+ verticalLine = new TQBitmap( 1, 128, true );
+ horizontalLine = new TQBitmap( 128, 1, true );
TQPointArray a( 64 );
TQPainter p;
p.begin( verticalLine );
@@ -2796,7 +2796,7 @@ void LiquidStyle::drawComplexControl( ComplexControl control,
}
TQRect ir;
- bool down = FALSE;
+ bool down = false;
TQPixmap pm;
if ( controls & SC_TitleBarCloseButton )