From d9847f018f900d8ca0d7c63ff9d37eaa034d6af0 Mon Sep 17 00:00:00 2001 From: pabs Date: Sun, 11 Mar 2007 07:15:57 +0000 Subject: [PATCH] Partially fix 1678141: add an int to ColorAccumulator converter, same as the Color one git-svn-id: http://svn.voria.com/code@289 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/synfig/color.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/synfig-core/trunk/src/synfig/color.h b/synfig-core/trunk/src/synfig/color.h index 2df724f..dcd7629 100644 --- a/synfig-core/trunk/src/synfig/color.h +++ b/synfig-core/trunk/src/synfig/color.h @@ -632,6 +632,9 @@ public: g_(c.g_), b_(c.b_) { } + //! Converter + ColorAccumulator(int c): a_(c),r_(c), g_(c), b_(c) { } + //! Returns the RED component const value_type& get_r()const { return r_; } -- 2.7.4