/*! \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
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);
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()
{
{
synfig::info("Enterted Eyedrop State");
canvas_view->work_area->set_cursor(Gdk::Cursor(Gdk::CROSSHAIR));
-
+
App::toolbox->refresh();
}
}
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();
}
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();