From 4d495175043c399fdca6e1bb4c74ef176fc76fb4 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 6 Aug 2025 11:29:57 +0900 Subject: Replace TRUE/FALSE with boolean values true/false - part 4 Signed-off-by: Michele Calgaro --- doc/html/drawlines-example.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/html/drawlines-example.html') diff --git a/doc/html/drawlines-example.html b/doc/html/drawlines-example.html index 93bf8acbb..277e6fe03 100644 --- a/doc/html/drawlines-example.html +++ b/doc/html/drawlines-example.html @@ -76,7 +76,7 @@ private: TQPoint *points; // point array TQColor *colors; // color array int count; // count = number of points - bool down; // TRUE if mouse down + bool down; // true if mouse down }; @@ -89,7 +89,7 @@ private: { setBackgroundColor( white ); // white background count = 0; - down = FALSE; + down = false; points = new TQPoint[MAXPOINTS]; colors = new TQColor[MAXCOLORS]; for ( int i=0; i<MAXCOLORS; i++ ) // init color array @@ -125,7 +125,7 @@ ConnectWidget::~ConnectWidget() void ConnectWidget::mousePressEvent( TQMouseEvent * ) { - down = TRUE; + down = true; count = 0; // start recording points erase(); // erase widget contents } @@ -137,7 +137,7 @@ ConnectWidget::~ConnectWidget() void ConnectWidget::mouseReleaseEvent( TQMouseEvent * ) { - down = FALSE; // done recording points + down = false; // done recording points update(); // draw the lines } -- cgit v1.2.3