diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-30 19:26:07 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-02 16:39:04 +0900 |
| commit | 9aa48be4546906fe3366cecd525375a249c2db6a (patch) | |
| tree | 08cf628a7831c58d1c3a6b197511076d3b2f3029 /style/baghira.cpp | |
| parent | 03e1920ea64298be079063179159f4ef04a59604 (diff) | |
| download | tde-style-baghira-9aa48be4.tar.gz tde-style-baghira-9aa48be4.zip | |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c2e59c3ad44ec7b9f5aa8dcf781f0791b8baa5f0)
Diffstat (limited to 'style/baghira.cpp')
| -rw-r--r-- | style/baghira.cpp | 12 |
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 ) |
