summaryrefslogtreecommitdiffstats
path: root/tqt/PlatTQt.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-04-04 13:24:41 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-04 13:59:21 +0900
commit3f2dc73d5a565121db00f4a0f050a48910b51623 (patch)
tree3a2f1b4b88fc316e2c3d87b5e83058cb346b2852 /tqt/PlatTQt.cpp
parent3c23eba2e71e6aebeb7ff5091fc69d050170e1d1 (diff)
downloadtqscintilla-master.tar.gz
tqscintilla-master.zip
Replace TRUE/FALSE with boolean values true/falseHEADmaster
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tqt/PlatTQt.cpp')
-rw-r--r--tqt/PlatTQt.cpp4
1 files changed, 2 insertions, 2 deletions
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,