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.
25 lines
431 B
25 lines
431 B
//
|
|
// 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 QWidget
|
|
{
|
|
public:
|
|
KBlendWidget(TQWidget *parent=0, const char *name=0);
|
|
protected:
|
|
void paintEvent(TQPaintEvent *ev);
|
|
private:
|
|
TQImage image, original;
|
|
TQColor bgnd;
|
|
};
|
|
|
|
#endif
|