summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/selected-style.h
diff options
context:
space:
mode:
authorJohn Smith <john.smith7545@yahoo.com>2012-10-23 05:43:40 +0000
committerJohn Smith <john.smith7545@yahoo.com>2012-10-23 05:43:40 +0000
commit3c8f6b5ed34852b06b38b1046d4d9042155c96a2 (patch)
tree663d7b067f769d925d01aa296b9848fcaf877a79 /src/ui/widget/selected-style.h
parentupdate cmake files & make function static. (diff)
downloadinkscape-3c8f6b5ed34852b06b38b1046d4d9042155c96a2.tar.gz
inkscape-3c8f6b5ed34852b06b38b1046d4d9042155c96a2.zip
Fix for 171890 : Mouse wheel on swatches
(bzr r11822)
Diffstat (limited to 'src/ui/widget/selected-style.h')
-rw-r--r--src/ui/widget/selected-style.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/widget/selected-style.h b/src/ui/widget/selected-style.h
index a9e9d7274..fac4f22e6 100644
--- a/src/ui/widget/selected-style.h
+++ b/src/ui/widget/selected-style.h
@@ -61,8 +61,10 @@ public:
~RotateableSwatch();
double color_adjust (float *hsl, double by, guint32 cc, guint state);
+
virtual void do_motion (double by, guint state);
virtual void do_release (double by, guint state);
+ virtual void do_scroll (double by, guint state);
private:
guint fillstroke;
@@ -87,6 +89,7 @@ public:
double value_adjust(double current, double by, guint modifier, bool final);
virtual void do_motion (double by, guint state);
virtual void do_release (double by, guint state);
+ virtual void do_scroll (double by, guint state);
private:
SelectedStyle *parent;