summaryrefslogtreecommitdiffstats
path: root/klines
diff options
context:
space:
mode:
Diffstat (limited to 'klines')
-rw-r--r--klines/field.cpp2
-rw-r--r--klines/klines.cpp2
-rw-r--r--klines/linesboard.cpp18
-rw-r--r--klines/prompt.cpp2
4 files changed, 12 insertions, 12 deletions
diff --git a/klines/field.cpp b/klines/field.cpp
index ef509a33..e144fd61 100644
--- a/klines/field.cpp
+++ b/klines/field.cpp
@@ -73,7 +73,7 @@ void Field::putBall(int x, int y, char color)
if( checkBounds(x,y) ){
field[y][x].setColor(color);
erase5Balls();
- repaint(FALSE);
+ repaint(false);
}
}*/
void Field::moveBall(int xa, int ya, int xb, int yb)
diff --git a/klines/klines.cpp b/klines/klines.cpp
index f813d0e1..52d5fcb3 100644
--- a/klines/klines.cpp
+++ b/klines/klines.cpp
@@ -478,7 +478,7 @@ void KLines::undo()
updateStat();
lPrompt->SetBalls(nextBalls);
lsb->undo();
- switchUndo(FALSE);
+ switchUndo(false);
}
void KLines::makeTurn()
diff --git a/klines/linesboard.cpp b/klines/linesboard.cpp
index 9c368a45..6ff1a411 100644
--- a/klines/linesboard.cpp
+++ b/klines/linesboard.cpp
@@ -54,12 +54,12 @@ LinesBoard::LinesBoard( BallPainter * abPainter, TQWidget* parent, const char* n
setFocusPolicy( TQWidget::NoFocus );
setBackgroundColor( gray );
- setMouseTracking( FALSE );
+ setMouseTracking( false );
setFixedSize(wHint(), hHint());
timer = new TQTimer(this);
connect( timer, TQ_SIGNAL(timeout()), TQ_SLOT(timerSlot()) );
- timer->start( TIMERCLOCK, FALSE );
+ timer->start( TIMERCLOCK, false );
}
@@ -163,7 +163,7 @@ void LinesBoard::placeBall( )
/*id LinesBoard::doAfterBalls() {
erase5Balls();
- repaint(FALSE);
+ repaint(false);
}
*/
/*
@@ -306,7 +306,7 @@ void LinesBoard::moveFocus(int dx, int dy)
focusX = (focusX + dx + NUMCELLSW) % NUMCELLSW;
focusY = (focusY + dy + NUMCELLSH) % NUMCELLSH;
}
- repaint(FALSE);
+ repaint(false);
}
void LinesBoard::moveLeft()
@@ -401,7 +401,7 @@ int LinesBoard::AnimEnd( )
else if ( oldanim == ANIM_BURN )
{
emit eraseLine( deleteAnimatedBalls() );
- repaint(FALSE);
+ repaint(false);
if ( nextBallToPlace < BALLSDROP )
{
placeBall();
@@ -455,7 +455,7 @@ void LinesBoard::AnimNext() {
if ( (direction > 0 && animstep == animmax) || ( direction < 0 && animstep == 0))
direction = -direction;
animstep += direction;
- repaint(FALSE);
+ repaint(false);
} else {
if ( animstep >= animmax )
AnimEnd();
@@ -466,7 +466,7 @@ void LinesBoard::AnimNext() {
moveBall(way[animstep].x,way[animstep].y,way[animstep+1].x,way[animstep+1].y);
animstep++;
animdelaycount = animdelaystart;
- repaint( FALSE );
+ repaint( false );
}
}
}
@@ -698,7 +698,7 @@ void LinesBoard::undo()
AnimEnd();
restoreUndo();
restoreRandomState();
- repaint( FALSE );
+ repaint( false );
}
void LinesBoard::showDemoText(const TQString &text)
@@ -708,7 +708,7 @@ void LinesBoard::showDemoText(const TQString &text)
demoLabel = new TQLabel(0, "demoTip", WStyle_StaysOnTop | WStyle_Customize | WStyle_NoBorder | WStyle_Tool | WX11BypassWM );
demoLabel->setMargin(1);
demoLabel->setIndent(0);
- demoLabel->setAutoMask( FALSE );
+ demoLabel->setAutoMask( false );
demoLabel->setFrameStyle( TQFrame::Plain | TQFrame::Box );
demoLabel->setLineWidth( 1 );
demoLabel->setAlignment( AlignHCenter | AlignTop );
diff --git a/klines/prompt.cpp b/klines/prompt.cpp
index 3e46f52d..5a50dfe2 100644
--- a/klines/prompt.cpp
+++ b/klines/prompt.cpp
@@ -28,7 +28,7 @@ LinesPrompt::LinesPrompt( BallPainter * abPainter, TQWidget* parent, const char*
setFocusPolicy( TQWidget::NoFocus );
setBackgroundColor( gray );
- setMouseTracking( FALSE );
+ setMouseTracking( false );
setFixedSize(wPrompt(), hPrompt());
PromptEnabled = true;