summaryrefslogtreecommitdiffstats
path: root/client/shadow.h
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2024-03-10 19:56:27 +0200
committerMavridis Philippe <mavridisf@gmail.com>2024-03-10 20:04:10 +0200
commitdb5c38267db65110beb4ad895a1fe38b42d8001f (patch)
tree66e0eb45b6db27d468589aa56b089408600baf77 /client/shadow.h
parentbf8023245ca81129b27778d9e38f4cbdcdd1dc5b (diff)
downloadtde-style-polyester-db5c38267db65110beb4ad895a1fe38b42d8001f.tar.gz
tde-style-polyester-db5c38267db65110beb4ad895a1fe38b42d8001f.zip
Port to TQt
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'client/shadow.h')
-rwxr-xr-xclient/shadow.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/client/shadow.h b/client/shadow.h
index 3f89c3c..0434201 100755
--- a/client/shadow.h
+++ b/client/shadow.h
@@ -29,9 +29,9 @@
#ifndef __FX_SHADOW
#define __FX_SHADOW
-#include <qpixmap.h>
-#include <qimage.h>
-#include <qcolor.h>
+#include <tqpixmap.h>
+#include <tqimage.h>
+#include <tqcolor.h>
class ShadowEngine
{
@@ -40,9 +40,9 @@ class ShadowEngine
~ShadowEngine();
void setThickness(int thickness) { thickness_ = thickness; }
void setMultiplicationFactor(double factor) { multiplicationFactor_ = factor; }
- QImage makeShadow(const QPixmap& textPixmap, const QColor &bgColor);
+ TQImage makeShadow(const TQPixmap& textPixmap, const TQColor &bgColor);
private:
- double decay(QImage& source, int x, int y);
+ double decay(TQImage& source, int x, int y);
int thickness_;
double multiplicationFactor_;