/*! \file cellrenderer_value.cpp
** \brief Template File
**
-** $Id: cellrenderer_value.cpp,v 1.1.1.1 2005/01/07 03:34:36 darco Exp $
+** $Id$
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
#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
if(parent)parent->grab_focus();
Gtk::CellEditable::on_remove_widget();
}
- void start_editing_vfunc(GdkEvent *event)
+ void start_editing_vfunc(GdkEvent */*event*/)
{
valuewidget->signal_activate().connect(sigc::mem_fun(*this, &studio::ValueBase_Entry::editing_done));
show();
property_attributes()=attr_list;
property_foreground()=Glib::ustring("#7f7f7f");
- property_inconsistant()=false;
+ property_inconsistent()=false;
}
CellRenderer_ValueBase::~CellRenderer_ValueBase()
synfig::String string;
string=data.get(string);
if(get_paragraph(string))
- {
signal_edited_(path,ValueBase(string));
- }
return NULL;
}
- if(get_param_desc().get_hint()!="filename")
- return CellRendererText::start_editing_vfunc(event,widget,path,background_area,cell_area,flags);
+ // if(get_param_desc().get_hint()!="filename")
+ // return CellRendererText::start_editing_vfunc(event,widget,path,background_area,cell_area,flags);
default:
{
assert(get_canvas());