X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fstate_fill.cpp;h=e3371560cbcd9f3b69fa66fd4fc74db267a47d6a;hb=682c6a4ff59c08ef5f5e13e0a6f2d8d4f5a44227;hp=fead029b1a63fc3347d0c538baccab22dd694658;hpb=c34eaa5441242b3e9a7b7645e9ee4983d14eae85;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/state_fill.cpp b/synfig-studio/trunk/src/gtkmm/state_fill.cpp index fead029..e337156 100644 --- a/synfig-studio/trunk/src/gtkmm/state_fill.cpp +++ b/synfig-studio/trunk/src/gtkmm/state_fill.cpp @@ -2,7 +2,7 @@ /*! \file state_fill.cpp ** \brief Template File ** -** $Id: state_fill.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 @@ -40,6 +40,8 @@ #include "canvasview.h" #include +#include "general.h" + #endif /* === U S I N G =========================================================== */ @@ -102,7 +104,7 @@ StateFill_Context::StateFill_Context(CanvasView *canvas_view): canvas_view(canvas_view), is_working(*canvas_view) { - synfig::info("Enterted Fill State"); + synfig::info("Entered Fill State"); canvas_view->work_area->set_cursor(Gdk::CROSSHAIR); App::toolbox->refresh(); @@ -116,7 +118,7 @@ StateFill_Context::~StateFill_Context() } Smach::event_result -StateFill_Context::event_stop_handler(const Smach::event& x) +StateFill_Context::event_stop_handler(const Smach::event& /*x*/) { synfig::info("STATE FILL: Received Stop Event"); throw Smach::egress_exception(); @@ -125,7 +127,7 @@ StateFill_Context::event_stop_handler(const Smach::event& x) } Smach::event_result -StateFill_Context::event_refresh_handler(const Smach::event& x) +StateFill_Context::event_refresh_handler(const Smach::event& /*x*/) { synfig::info("STATE FILL: Received Refresh Event"); canvas_view->work_area->queue_render_preview(); @@ -145,7 +147,7 @@ StateFill_Context::event_workarea_layer_clicked_handler(const Smach::event& x) } - //synfigapp::Action::Handle action(synfigapp::Action::create("value_desc_set")); + //synfigapp::Action::Handle action(synfigapp::Action::create("ValueDescSet")); synfigapp::ValueDesc value_desc(event.layer,"color"); if(!get_canvas_interface()->change_value(value_desc,ValueBase(synfigapp::Main::get_foreground_color())))