diff options
author | Jean Claveau <jean.claveau@c277.fr> | 2014-09-30 22:42:55 +0200 |
---|---|---|
committer | Jean Claveau <jean.claveau@c277.fr> | 2014-09-30 22:42:55 +0200 |
commit | a108ebc846282126337a65c651928b1fa8566d26 (patch) | |
tree | 51314798853c25fcaf28467506b9af862a4b7910 /src/widget/wpushbutton.h | |
parent | 38aa040cbecbd2d029ad27eb30a095c8c426fcf1 (diff) |
PixmapSource passed by value
Diffstat (limited to 'src/widget/wpushbutton.h')
-rw-r--r-- | src/widget/wpushbutton.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widget/wpushbutton.h b/src/widget/wpushbutton.h index b37f037e31..6937bf9d21 100644 --- a/src/widget/wpushbutton.h +++ b/src/widget/wpushbutton.h @@ -78,11 +78,11 @@ class WPushButton : public WWidget { private: // Associates a pixmap of a given state of the button with the widget - void setPixmap(int iState, bool bPressed, PixmapSource* source); + void setPixmap(int iState, bool bPressed, PixmapSource source); // Associates a background pixmap with the widget. This is only needed if // the button pixmaps contains alpha channel values. - void setPixmapBackground(PixmapSource* source, + void setPixmapBackground(PixmapSource source, Paintable::DrawMode mode); // True, if the button is currently pressed |