diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-29 11:28:35 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-29 19:00:50 +0900 |
commit | 4239ec917e4a66a6264b4ba732489ba88fad361a (patch) | |
tree | 40b37f39c8f1fd7ee5e19d5b3f1614f730ecea48 /src/kbfxtooltip.cpp | |
parent | 27a604dfeecd599c5fc910683eabecfca6957f82 (diff) | |
download | kbfx-4239ec91.tar.gz kbfx-4239ec91.zip |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 3233d6a066667673e676dee95db7ca1419087018)
Diffstat (limited to 'src/kbfxtooltip.cpp')
-rw-r--r-- | src/kbfxtooltip.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kbfxtooltip.cpp b/src/kbfxtooltip.cpp index 7c0b1aa..6ff2d89 100644 --- a/src/kbfxtooltip.cpp +++ b/src/kbfxtooltip.cpp @@ -165,9 +165,9 @@ KbfxToolTip::setStartPos ( int _x_, int _y_ ) if ( _animate ) { _logo_move_x = 0; - _hide_timer->start ( 10000, TRUE ); - _move_timer->start ( _agent_anim->speed (), FALSE ); - _update_timer->start ( 2, FALSE ); + _hide_timer->start ( 10000, true ); + _move_timer->start ( _agent_anim->speed (), false ); + _update_timer->start ( 2, false ); } move ( _x, _y ); @@ -283,21 +283,21 @@ KbfxToolTip::paintEvent ( TQPaintEvent * pe ) TQPixmap ( TQImage (ConfigInit ().m_SpinxTooltipLogo ) ) ); } - let->setBold ( TRUE ); + let->setBold ( true ); let->setPointSize ( 10 ); p.setFont ( *let ); p.setPen ( TQColor ( 61, 94, 129 ) ); p.drawText ( _dude_box.width () + 15, 30, TQString("KBFX") ); p.setPen ( TQColor ( 0, 0, 0 ) ); - let->setBold ( FALSE ); + let->setBold ( false ); let->setPointSize ( 8 ); p.setFont ( *let ); p.drawText ( ( _animate ) ? _dude_box.width () + 50 : _dude_box.width () + 4, _dude_box.height () + 30, TQString ( "Version " ).append ( APPLICATION_VERSION ) ); p.setPen ( ConfigInit ().m_fontTooltipColor ); - let->setBold ( TRUE ); + let->setBold ( true ); let->setPointSize ( 8 ); p.setFont ( *let ); |