X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fwidget_coloredit.cpp;h=ded67eb7194d4f6a25d3a3f3fffa24559631b055;hb=7dd8043ef6511adc0eadcd9f011da4cdfdb7536b;hp=61dcec20af8657fdd6edec7d9cc90c15cc89d640;hpb=3a3c4bca3a17137bec5d7960560934b91ef4146e;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/widget_coloredit.cpp b/synfig-studio/trunk/src/gtkmm/widget_coloredit.cpp index 61dcec2..ded67eb 100644 --- a/synfig-studio/trunk/src/gtkmm/widget_coloredit.cpp +++ b/synfig-studio/trunk/src/gtkmm/widget_coloredit.cpp @@ -1,20 +1,21 @@ -/* === S I N F G =========================================================== */ +/* === S Y N F I G ========================================================= */ /*! \file widget_coloredit.cpp ** \brief Template File ** ** $Id: widget_coloredit.cpp,v 1.1.1.1 2005/01/07 03:34:37 darco Exp $ ** ** \legal -** Copyright (c) 2002 Robert B. Quattlebaum Jr. +** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley ** -** This software and associated documentation -** are CONFIDENTIAL and PROPRIETARY property of -** the above-mentioned copyright holder. +** This package is free software; you can redistribute it and/or +** modify it under the terms of the GNU General Public License as +** published by the Free Software Foundation; either version 2 of +** the License, or (at your option) any later version. ** -** You may not copy, print, publish, or in any -** other way distribute this software without -** a prior written agreement with -** the copyright holder. +** This package is distributed in the hope that it will be useful, +** but WITHOUT ANY WARRANTY; without even the implied warranty of +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +** General Public License for more details. ** \endlegal */ /* ========================================================================= */ @@ -44,7 +45,7 @@ using namespace std; using namespace etl; -using namespace sinfg; +using namespace synfig; using namespace studio; /* === M A C R O S ========================================================= */ @@ -456,7 +457,7 @@ Widget_ColorEdit::set_digits(int x) } void -Widget_ColorEdit::set_value(const sinfg::Color &data) +Widget_ColorEdit::set_value(const synfig::Color &data) { assert(data.is_valid()); hold_signals=true; @@ -492,7 +493,7 @@ Widget_ColorEdit::set_value(const sinfg::Color &data) hold_signals=false; } -sinfg::Color +synfig::Color Widget_ColorEdit::get_value_raw() { Color color; @@ -516,7 +517,7 @@ Widget_ColorEdit::get_value_raw() return color; } -const sinfg::Color & +const synfig::Color & Widget_ColorEdit::get_value() { if(use_colorspace_gamma())