You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
528 B
32 lines
528 B
15 years ago
|
//
|
||
|
// Simple little hack to show off blending effects.
|
||
|
//
|
||
|
// (C) KDE Artistic Cristian Tibirna <tibirna@kde.org>
|
||
|
//
|
||
|
|
||
|
#ifndef __KBLEND_TEST_H
|
||
|
#define __KBLEND_TEST_H
|
||
|
|
||
15 years ago
|
#include <tqwidget.h>
|
||
|
#include <tqimage.h>
|
||
15 years ago
|
#include <knuminput.h>
|
||
|
|
||
14 years ago
|
class KDesatWidget : public TQWidget
|
||
15 years ago
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
15 years ago
|
KDesatWidget(TQWidget *parent=0, const char *name=0);
|
||
15 years ago
|
|
||
|
public slots:
|
||
|
void change(double);
|
||
|
|
||
|
protected:
|
||
15 years ago
|
void paintEvent(TQPaintEvent *ev);
|
||
15 years ago
|
private:
|
||
|
float desat_value;
|
||
15 years ago
|
TQImage image;
|
||
15 years ago
|
KDoubleNumInput *slide;
|
||
|
};
|
||
|
|
||
|
#endif
|