X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fwidget_color.h;h=5763bc0f1d6b59597645f1925f2a9ff7838ad4ad;hb=2b1b781089c580f9a17d35fe40d9a848c5a06f6c;hp=f3e8d420539f77e7c3e711dfb56c4e7dda54be7f;hpb=02252941b29de64037116f4d37991a38d9ff0d94;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/widget_color.h b/synfig-studio/trunk/src/gtkmm/widget_color.h index f3e8d42..5763bc0 100644 --- a/synfig-studio/trunk/src/gtkmm/widget_color.h +++ b/synfig-studio/trunk/src/gtkmm/widget_color.h @@ -2,19 +2,20 @@ /*! \file widget_color.h ** \brief Template Header ** -** $Id: widget_color.h,v 1.1.1.1 2005/01/07 03:34:37 darco Exp $ +** $Id$ ** ** \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 */ /* ========================================================================= */ @@ -43,13 +44,13 @@ namespace studio { Gdk::Color colorconv_synfig2gdk(const synfig::Color &c); - + void render_color_to_window(const Glib::RefPtr& window,const Gdk::Rectangle& ca,const synfig::Color &color); class Widget_Color : public Gtk::DrawingArea { synfig::Color color; - + sigc::signal signal_activate_; sigc::signal signal_secondary_; @@ -59,7 +60,7 @@ public: sigc::signal& signal_activate() { return signal_activate_; } sigc::signal& signal_clicked() { return signal_activate_; } sigc::signal& signal_secondary() { return signal_secondary_; } - + void set_value(const synfig::Color &data); const synfig::Color &get_value(); Widget_Color(); @@ -69,7 +70,7 @@ private: bool on_event(GdkEvent *event); }; // END of class Widget_Color - + }; // END of namespace studio /* === E N D =============================================================== */