diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-04 13:24:41 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-04 13:59:21 +0900 |
commit | 3f2dc73d5a565121db00f4a0f050a48910b51623 (patch) | |
tree | 3a2f1b4b88fc316e2c3d87b5e83058cb346b2852 /tqt/PlatTQt.cpp | |
parent | 3c23eba2e71e6aebeb7ff5091fc69d050170e1d1 (diff) | |
download | tqscintilla-master.tar.gz tqscintilla-master.zip |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tqt/PlatTQt.cpp')
-rw-r--r-- | tqt/PlatTQt.cpp | 4 |
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, |