summaryrefslogtreecommitdiffstats
path: root/domino/domino.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'domino/domino.cpp')
-rw-r--r--domino/domino.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/domino/domino.cpp b/domino/domino.cpp
index 636033d..a92de05 100644
--- a/domino/domino.cpp
+++ b/domino/domino.cpp
@@ -4887,27 +4887,27 @@ void DominoStyle::drawControl(ControlElement element,
tr.addCoords( 0, pr.bottom(), 0, -3 );
if(drawOutlinePixmap)
- drawItem( p, pr, AlignCenter, cg, TRUE, &outlinePixmap, TQString::null );
+ drawItem( p, pr, AlignCenter, cg, true, &outlinePixmap, TQString::null );
- drawItem( p, pr, AlignCenter, cg, TRUE, &pm, TQString::null );
+ drawItem( p, pr, AlignCenter, cg, true, &pm, TQString::null );
alignment |= AlignCenter;
} else {
pr.setWidth( pm.width() + 8 );
tr.addCoords( pr.right(), 0, 0, 0 );
if(drawOutlinePixmap)
- drawItem( p, pr, AlignCenter, cg, TRUE, &outlinePixmap, TQString::null );
+ drawItem( p, pr, AlignCenter, cg, true, &outlinePixmap, TQString::null );
- drawItem( p, pr, AlignCenter, cg, TRUE, &pm, TQString::null );
+ drawItem( p, pr, AlignCenter, cg, true, &pm, TQString::null );
alignment |= AlignLeft | AlignVCenter;
}
dominoDrawItem( p, tr, alignment, cg, enabled, 0, toolbutton->textLabel(), toolbutton->textLabel().length(), &btext, textEffectSettings.mode > 0 ? 1 : 0);
}
else {
if(drawOutlinePixmap)
- drawItem( p, rect, AlignCenter, cg, TRUE, &outlinePixmap, TQString::null );
+ drawItem( p, rect, AlignCenter, cg, true, &outlinePixmap, TQString::null );
- drawItem( p, rect, AlignCenter, cg, TRUE, &pm, TQString::null );
+ drawItem( p, rect, AlignCenter, cg, true, &pm, TQString::null );
}
}
}
@@ -6785,7 +6785,7 @@ void DominoStyle::drawComplexControl(ComplexControl control,
if ( controls & SC_TitleBarSysMenu ) {
if ( widget->icon() ) {
ir = visualRect( querySubControlMetrics( CC_TitleBar, ceData, elementFlags, SC_TitleBarSysMenu, TQStyleOption::Default, widget ), widget );
- drawItem( p, ir, AlignCenter, widget->colorGroup(), TRUE, widget->icon(), TQString::null );
+ drawItem( p, ir, AlignCenter, widget->colorGroup(), true, widget->icon(), TQString::null );
}
}
@@ -7715,7 +7715,7 @@ void DominoStyle::dominoDrawItem( TQPainter *p, const TQRect &r,
bool clip = (flags & TQt::DontClip) == 0;
if ( clip ) {
if ( pm.width() < w && pm.height() < h ) {
- clip = FALSE;
+ clip = false;
} else {
p->save();
TQRegion cr = TQRect(x, y, w, h);