From: cilix42 Date: Mon, 18 Aug 2008 00:32:01 +0000 (+0000) Subject: cast for EnumParam X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=73fbc1b975ed5b227e9c4b9a88648ada6415662c;p=inkscape.git cast for EnumParam --- diff --git a/src/live_effects/parameter/enum.h b/src/live_effects/parameter/enum.h index aec256f11..05f3bdd57 100644 --- a/src/live_effects/parameter/enum.h +++ b/src/live_effects/parameter/enum.h @@ -71,6 +71,9 @@ public: return value; } + inline operator E() + { return value; }; + void param_set_default() { param_set_value(defvalue); }