projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Automatically export the Index parameter of new Duplicate layers.
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
gtkmm
/
cellrenderer_value.cpp
diff --git
a/synfig-studio/trunk/src/gtkmm/cellrenderer_value.cpp
b/synfig-studio/trunk/src/gtkmm/cellrenderer_value.cpp
index
7538607
..
71738e3
100644
(file)
--- a/
synfig-studio/trunk/src/gtkmm/cellrenderer_value.cpp
+++ b/
synfig-studio/trunk/src/gtkmm/cellrenderer_value.cpp
@@
-54,6
+54,8
@@
#include "dialog_color.h"
#include <gtkmm/textview.h>
#include "dialog_color.h"
#include <gtkmm/textview.h>
+#include "general.h"
+
#endif
using namespace synfig;
#endif
using namespace synfig;
@@
-65,11
+67,6
@@
using namespace studio;
#define DIGITS 15
#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
/* === G L O B A L S ======================================================= */
class studio::ValueBase_Entry : public Gtk::EventBox, public Gtk::CellEditable
@@
-281,7
+278,7
@@
CellRenderer_ValueBase::CellRenderer_ValueBase():
property_attributes()=attr_list;
property_foreground()=Glib::ustring("#7f7f7f");
property_attributes()=attr_list;
property_foreground()=Glib::ustring("#7f7f7f");
- property_inconsist
a
nt()=false;
+ property_inconsist
e
nt()=false;
}
CellRenderer_ValueBase::~CellRenderer_ValueBase()
}
CellRenderer_ValueBase::~CellRenderer_ValueBase()
@@
-548,13
+545,11
@@
CellRenderer_ValueBase::start_editing_vfunc(
synfig::String string;
string=data.get(string);
if(get_paragraph(string))
synfig::String string;
string=data.get(string);
if(get_paragraph(string))
- {
signal_edited_(path,ValueBase(string));
signal_edited_(path,ValueBase(string));
- }
return NULL;
}
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());
default:
{
assert(get_canvas());