From b10a7e1fa5b5e41debef35a38d084f4260247fee Mon Sep 17 00:00:00 2001 From: dooglus Date: Tue, 25 Sep 2007 08:33:54 +0000 Subject: [PATCH] Removed unused macros. git-svn-id: http://svn.voria.com/code@750 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/cellrenderer_value.cpp | 5 ----- synfig-studio/trunk/src/gtkmm/widget_color.cpp | 5 ----- 2 files changed, 10 deletions(-) diff --git a/synfig-studio/trunk/src/gtkmm/cellrenderer_value.cpp b/synfig-studio/trunk/src/gtkmm/cellrenderer_value.cpp index 7538607..459a595 100644 --- a/synfig-studio/trunk/src/gtkmm/cellrenderer_value.cpp +++ b/synfig-studio/trunk/src/gtkmm/cellrenderer_value.cpp @@ -65,11 +65,6 @@ using namespace studio; #define DIGITS 15 -#define use_colorspace_gamma() App::use_colorspace_gamma -#define colorspace_gamma() (2.2f) -#define gamma_in(x) pow((float)x,1.0f/colorspace_gamma()) -#define gamma_out(x) pow((float)x,colorspace_gamma()) - /* === G L O B A L S ======================================================= */ class studio::ValueBase_Entry : public Gtk::EventBox, public Gtk::CellEditable diff --git a/synfig-studio/trunk/src/gtkmm/widget_color.cpp b/synfig-studio/trunk/src/gtkmm/widget_color.cpp index d1b201f..6c72d48 100644 --- a/synfig-studio/trunk/src/gtkmm/widget_color.cpp +++ b/synfig-studio/trunk/src/gtkmm/widget_color.cpp @@ -45,11 +45,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 ================================================= */ -- 2.7.4