summaryrefslogtreecommitdiffstats
path: root/src/ui/selected-color.h
diff options
context:
space:
mode:
authorTomasz Boczkowski <penginsbacon@gmail.com>2014-06-01 08:41:10 +0000
committerTomasz Boczkowski <penginsbacon@gmail.com>2014-06-01 08:41:10 +0000
commitade68e2b3601c0ef2912440b028e7b9e1f326bcc (patch)
tree59a6d915f278b569fa340bf16080dbc0934be5a3 /src/ui/selected-color.h
parentSPColorICC c++sification: using SelectedColor (diff)
downloadinkscape-ade68e2b3601c0ef2912440b028e7b9e1f326bcc.tar.gz
inkscape-ade68e2b3601c0ef2912440b028e7b9e1f326bcc.zip
inhibit SelectedColor::setColorAlpha in the callbacks of it's signals
(bzr r13341.6.43)
Diffstat (limited to 'src/ui/selected-color.h')
-rw-r--r--src/ui/selected-color.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/selected-color.h b/src/ui/selected-color.h
index 5d3d89672..9f86d4255 100644
--- a/src/ui/selected-color.h
+++ b/src/ui/selected-color.h
@@ -39,7 +39,7 @@ public:
void setAlpha(gfloat alpha);
gfloat alpha() const;
- void setColorAlpha(SPColor const &color, gfloat alpha, bool emit = false);
+ void setColorAlpha(SPColor const &color, gfloat alpha);
void colorAlpha(SPColor &color, gfloat &alpha) const;
void setHeld(bool held);
@@ -67,6 +67,8 @@ private:
*/
bool _virgin;
+ bool _updating;
+
static double const _EPSILON;
};