projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use Color::is_straight(). Also, re-enable the optimization for straight blending...
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
gtkmm
/
state_smoothmove.cpp
diff --git
a/synfig-studio/trunk/src/gtkmm/state_smoothmove.cpp
b/synfig-studio/trunk/src/gtkmm/state_smoothmove.cpp
index
4ea8de6
..
85587cd
100644
(file)
--- a/
synfig-studio/trunk/src/gtkmm/state_smoothmove.cpp
+++ b/
synfig-studio/trunk/src/gtkmm/state_smoothmove.cpp
@@
-50,6
+50,8
@@
#include "onemoment.h"
#include <synfigapp/main.h>
#include "onemoment.h"
#include <synfigapp/main.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#endif
/* === U S I N G =========================================================== */
@@
-183,7
+185,7
@@
StateSmoothMove_Context::StateSmoothMove_Context(CanvasView* canvas_view):
//App::dialog_tool_options->set_widget(options_table);
App::dialog_tool_options->present();
//App::dialog_tool_options->set_widget(options_table);
App::dialog_tool_options->present();
- get_work_area()->
allow_layer_clicks=true
;
+ get_work_area()->
set_allow_layer_clicks(true)
;
get_work_area()->set_duck_dragger(duck_dragger_);
App::toolbox->refresh();
get_work_area()->set_duck_dragger(duck_dragger_);
App::toolbox->refresh();
@@
-204,7
+206,7
@@
StateSmoothMove_Context::refresh_tool_options()
}
Smach::event_result
}
Smach::event_result
-StateSmoothMove_Context::event_refresh_tool_options(const Smach::event&
x
)
+StateSmoothMove_Context::event_refresh_tool_options(const Smach::event&
/*x*/
)
{
refresh_tool_options();
return Smach::RESULT_ACCEPT;
{
refresh_tool_options();
return Smach::RESULT_ACCEPT;