diff options
Diffstat (limited to 'graphics/showimg/files/patch-showimg-showimg-osd.cpp')
-rw-r--r-- | graphics/showimg/files/patch-showimg-showimg-osd.cpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/graphics/showimg/files/patch-showimg-showimg-osd.cpp b/graphics/showimg/files/patch-showimg-showimg-osd.cpp deleted file mode 100644 index 47bae65b0fb7..000000000000 --- a/graphics/showimg/files/patch-showimg-showimg-osd.cpp +++ /dev/null @@ -1,36 +0,0 @@ ---- showimg/showimg/osd.cpp.orig Sun Jan 29 01:47:10 2006 -+++ showimg/showimg/osd.cpp Sun Jan 29 01:57:24 2006 -@@ -29,6 +29,16 @@ - // QImage makeShadow( const QPixmap &textPixmap, const QColor &bgColor ); - //} - -+class Grabber : public QWidget { -+public: -+ Grabber( const QRect &r, const QColor &color ) : QWidget( 0, 0 ) { -+ move( 0, 0 ); -+ screen = QPixmap::grabWindow( winId(), r.x(), r.y(), r.width(), r.height() ); -+ KPixmapEffect::fade( screen, 0.80, color ); -+ } -+ KPixmap screen; -+}; -+ - OSDWidget::OSDWidget( QWidget *parent, const char *name ) - : QWidget( parent, name, WType_TopLevel | WNoAutoErase | WStyle_Customize | WX11BypassWM | WStyle_StaysOnTop ) - , m_duration( 2000 ) -@@ -51,16 +61,6 @@ - void - OSDWidget::show() //virtual - { -- class Grabber : public QWidget { -- public: -- Grabber( const QRect &r, const QColor &color ) : QWidget( 0, 0 ) { -- move( 0, 0 ); -- screen = QPixmap::grabWindow( winId(), r.x(), r.y(), r.width(), r.height() ); -- KPixmapEffect::fade( screen, 0.80, color ); -- } -- KPixmap screen; -- }; -- - if ( !isEnabled() ) - return; - |