X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fwidget_color.cpp;h=2e009b156268f3481b46b89fd98ec62b28378252;hb=1b2d22f4dd360e69d25d4cb8df830650b353e9fe;hp=6a68af39f32ea71263fe4a7d6f9e09c12cce8ad7;hpb=c34eaa5441242b3e9a7b7645e9ee4983d14eae85;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/widget_color.cpp b/synfig-studio/trunk/src/gtkmm/widget_color.cpp index 6a68af3..2e009b1 100644 --- a/synfig-studio/trunk/src/gtkmm/widget_color.cpp +++ b/synfig-studio/trunk/src/gtkmm/widget_color.cpp @@ -2,7 +2,7 @@ /*! \file widget_color.cpp ** \brief Template File ** -** $Id: widget_color.cpp,v 1.1.1.1 2005/01/07 03:34:37 darco Exp $ +** $Id$ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley @@ -34,6 +34,8 @@ #include "app.h" #include +#include "general.h" + #endif /* === U S I N G =========================================================== */ @@ -45,11 +47,6 @@ using namespace studio; /* === M A C R O S ========================================================= */ -#define use_colorspace_gamma() App::use_colorspace_gamma -#define colorspace_gamma() (2.2f) -#define gamma_in(x) ((x>0)?pow((float)x,1.0f/colorspace_gamma()):-pow((float)-x,1.0f/colorspace_gamma())) -#define gamma_out(x) ((x>0)?pow((float)x,colorspace_gamma()):-pow((float)-x,colorspace_gamma())) - /* === G L O B A L S ======================================================= */ /* === P R O C E D U R E S ================================================= */ @@ -185,7 +182,7 @@ Widget_Color::on_event(GdkEvent *event) } bool -Widget_Color::redraw(GdkEventExpose*bleh) +Widget_Color::redraw(GdkEventExpose */*bleh*/) { //Glib::RefPtr gc(Gdk::GC::create(get_window()));