From c03a4800879ab62692e017e01c825ba12a421ad0 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 1 Jul 2025 22:09:14 +0900 Subject: Replace TRUE/FALSE with boolean values true/false - part 2 Signed-off-by: Michele Calgaro --- examples/demo/graph.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/demo/graph.cpp') diff --git a/examples/demo/graph.cpp b/examples/demo/graph.cpp index ddb5a9364..a228cbaf7 100644 --- a/examples/demo/graph.cpp +++ b/examples/demo/graph.cpp @@ -259,7 +259,7 @@ public: BouncyText::BouncyText( const TQString& text, TQFont f, TQCanvas* canvas) : TQCanvasText(text, f, canvas) { - setAnimated(TRUE); + setAnimated(true); initPos(); } @@ -421,7 +421,7 @@ void FigureEditor::initialize() NodeItem *prev = 0; for ( int c = 0; c < cols; c++ ) { NodeItem *ni = new NodeItem( graph ); - ni->setAnimated( TRUE ); + ni->setAnimated( true ); nodecount++; ni->move(rand()%(graph->canvas->width()-ni->width()),rand()%(graph->canvas->height()-ni->height())); -- cgit v1.2.3