X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fstate_eyedrop.cpp;h=711e166ddb1b9cc2eaefdd91bc5154250971fd25;hb=faa340a2a22d0b46fc21e2c9779bf7eff811bfbe;hp=e32f494ab9b5ad063b4498362f1a1694e365fadb;hpb=ce408de81ca266b1f334ee9bc6c8fb7ba1492ed4;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/state_eyedrop.cpp b/synfig-studio/trunk/src/gtkmm/state_eyedrop.cpp index e32f494..711e166 100644 --- a/synfig-studio/trunk/src/gtkmm/state_eyedrop.cpp +++ b/synfig-studio/trunk/src/gtkmm/state_eyedrop.cpp @@ -2,7 +2,7 @@ /*! \file state_eyedrop.cpp ** \brief Template File ** -** $Id: state_eyedrop.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 @@ -61,7 +61,7 @@ class studio::StateEyedrop_Context public: StateEyedrop_Context(CanvasView *canvas_view); ~StateEyedrop_Context(); - + Smach::event_result event_stop_handler(const Smach::event& x); Smach::event_result event_refresh_handler(const Smach::event& x); @@ -85,7 +85,7 @@ StateEyedrop::StateEyedrop(): insert(event_def(EVENT_STOP,&StateEyedrop_Context::event_stop_handler)); insert(event_def(EVENT_REFRESH,&StateEyedrop_Context::event_refresh_handler)); insert(event_def(EVENT_WORKAREA_MOUSE_BUTTON_DOWN,&StateEyedrop_Context::event_workarea_mouse_button_down_handler)); -} +} StateEyedrop::~StateEyedrop() { @@ -97,7 +97,7 @@ StateEyedrop_Context::StateEyedrop_Context(CanvasView *canvas_view): { synfig::info("Enterted Eyedrop State"); canvas_view->work_area->set_cursor(Gdk::Cursor(Gdk::CROSSHAIR)); - + App::toolbox->refresh(); } @@ -109,7 +109,7 @@ StateEyedrop_Context::~StateEyedrop_Context() } Smach::event_result -StateEyedrop_Context::event_stop_handler(const Smach::event& x) +StateEyedrop_Context::event_stop_handler(const Smach::event& /*x*/) { synfig::info("STATE EYEDROP: Received Stop Event"); throw Smach::egress_exception(); @@ -118,7 +118,7 @@ StateEyedrop_Context::event_stop_handler(const Smach::event& x) } Smach::event_result -StateEyedrop_Context::event_refresh_handler(const Smach::event& x) +StateEyedrop_Context::event_refresh_handler(const Smach::event& /*x*/) { synfig::info("STATE EYEDROP: Received Refresh Event"); canvas_view->work_area->queue_render_preview();