diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
commit | dcce5b1f2c449ed9a02b1752e0d74f147a83d07d (patch) | |
tree | d57fe27457a96451f1a67e2a2db268a441d917fc /doc/html/drawlines-example.html | |
parent | 649c4c61a1f1f479f4532b196f68df476cef2680 (diff) | |
download | tqt-rename/true-false-4.tar.gz tqt-rename/true-false-4.zip |
Replace TRUE/FALSE with boolean values true/false - part 4rename/true-false-4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/drawlines-example.html')
-rw-r--r-- | doc/html/drawlines-example.html | 8 |
1 files changed, 4 insertions, 4 deletions
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: <a href="tqpoint.html">TQPoint</a> *points; // point array <a href="tqcolor.html">TQColor</a> *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: { <a href="tqwidget.html#setBackgroundColor">setBackgroundColor</a>( white ); // white background count = 0; - down = FALSE; + down = false; points = new <a href="tqpoint.html">TQPoint</a>[MAXPOINTS]; colors = new <a href="tqcolor.html">TQColor</a>[MAXCOLORS]; for ( int i=0; i<MAXCOLORS; i++ ) // init color array @@ -125,7 +125,7 @@ ConnectWidget::~ConnectWidget() <a name="x1659"></a>void ConnectWidget::<a href="tqwidget.html#mousePressEvent">mousePressEvent</a>( <a href="tqmouseevent.html">TQMouseEvent</a> * ) { - down = TRUE; + down = true; count = 0; // start recording points <a href="tqwidget.html#erase">erase</a>(); // erase widget contents } @@ -137,7 +137,7 @@ ConnectWidget::~ConnectWidget() <a name="x1660"></a>void ConnectWidget::<a href="tqwidget.html#mouseReleaseEvent">mouseReleaseEvent</a>( <a href="tqmouseevent.html">TQMouseEvent</a> * ) { - down = FALSE; // done recording points + down = false; // done recording points <a href="tqwidget.html#update">update</a>(); // draw the lines } |