From 3f2dc73d5a565121db00f4a0f050a48910b51623 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 4 Apr 2025 13:24:41 +0900 Subject: Replace TRUE/FALSE with boolean values true/false Signed-off-by: Michele Calgaro --- tqt/PlatTQt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tqt/PlatTQt.cpp') diff --git a/tqt/PlatTQt.cpp b/tqt/PlatTQt.cpp index cdc5553..00c013b 100644 --- a/tqt/PlatTQt.cpp +++ b/tqt/PlatTQt.cpp @@ -338,7 +338,7 @@ void SurfaceImpl::AlphaRectangle(PRectangle rc, int cornerSize, TQImage img(w, h, 32); img.fill(convertTQRgb(fill, alphaFill)); - img.setAlphaBuffer(TRUE); + img.setAlphaBuffer(true); // Assume that "cornerSize" means outline width. if (cornerSize > 0) @@ -413,7 +413,7 @@ void SurfaceImpl::DrawTextClipped(PRectangle rc,Font &font_,int ybase, { SetClip(rc); DrawTextNoClip(rc,font_,ybase,s,len,fore,back); - painter -> setClipping(FALSE); + painter -> setClipping(false); } void SurfaceImpl::DrawTextTransparent(PRectangle rc,Font &font_,int ybase, -- cgit v1.2.3