summaryrefslogtreecommitdiffstats
path: root/tdeui/tests/kdesattest.h
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/tests/kdesattest.h')
-rw-r--r--tdeui/tests/kdesattest.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/tdeui/tests/kdesattest.h b/tdeui/tests/kdesattest.h
new file mode 100644
index 000000000..8e04c08c6
--- /dev/null
+++ b/tdeui/tests/kdesattest.h
@@ -0,0 +1,31 @@
+//
+// 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>
+#include <knuminput.h>
+
+class KDesatWidget : public TQWidget
+{
+Q_OBJECT
+public:
+ KDesatWidget(TQWidget *parent=0, const char *name=0);
+
+public slots:
+ void change(double);
+
+protected:
+ void paintEvent(TQPaintEvent *ev);
+private:
+ float desat_value;
+ TQImage image;
+ KDoubleNumInput *slide;
+};
+
+#endif