summaryrefslogtreecommitdiffstats
path: root/tdeui/tests/kblendtest.h
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/tests/kblendtest.h')
-rw-r--r--tdeui/tests/kblendtest.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/tdeui/tests/kblendtest.h b/tdeui/tests/kblendtest.h
new file mode 100644
index 000000000..f35afbb5f
--- /dev/null
+++ b/tdeui/tests/kblendtest.h
@@ -0,0 +1,24 @@
+//
+// Simple little hack to show off blending effects.
+//
+// (C) KDE Artistic Cristian Tibirna <tibirna@kde.org>
+//
+
+#ifndef __KBLEND_TEST_H
+#define __KBLEND_TEST_H
+
+#include <tqwidget.h>
+#include <tqimage.h>
+
+class KBlendWidget : public TQWidget
+{
+public:
+ KBlendWidget(TQWidget *parent=0, const char *name=0);
+protected:
+ void paintEvent(TQPaintEvent *ev);
+private:
+ TQImage image, original;
+ TQColor bgnd;
+};
+
+#endif