summaryrefslogtreecommitdiffstats
path: root/tdeui/tests/kdesattest.h
blob: 4faaa2798297176dc2d296dd7baa6c994ff56e29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//
// Simple little hack to show off blending effects.
//
// (C) KDE Artistic Cristian Tibirna <[email protected]>
//

#ifndef __KBLEND_TEST_H
#define __KBLEND_TEST_H

#include <tqwidget.h>
#include <tqimage.h>
#include <knuminput.h>

class KDesatWidget : public TQWidget
{
TQ_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