more updates
[synfig.git] / synfig-studio / trunk / src / gtkmm / state_eyedrop.cpp
index f6f106a..bf56d1b 100644 (file)
@@ -1,4 +1,4 @@
-/* === S I N F G =========================================================== */
+/* === S Y N F I G ========================================================= */
 /*!    \file state_eyedrop.cpp
 **     \brief Template File
 **
 
 #include "state_eyedrop.h"
 #include "workarea.h"
-#include <sinfg/context.h>
+#include <synfig/context.h>
 #include "app.h"
 #include "dialog_color.h"
 #include "event_mouse.h"
 #include "event_layerclick.h"
 #include "toolbox.h"
 #include "canvasview.h"
-#include <sinfgapp/main.h>
+#include <synfigapp/main.h>
 
 #endif
 
@@ -45,7 +45,7 @@
 
 using namespace std;
 using namespace etl;
-using namespace sinfg;
+using namespace synfig;
 using namespace studio;
 
 /* === M A C R O S ========================================================= */
@@ -94,7 +94,7 @@ StateEyedrop_Context::StateEyedrop_Context(CanvasView *canvas_view):
        canvas_view(canvas_view),
        is_working(*canvas_view)
 {
-       sinfg::info("Enterted Eyedrop State");
+       synfig::info("Enterted Eyedrop State");
        canvas_view->work_area->set_cursor(Gdk::Cursor(Gdk::CROSSHAIR));
        
        App::toolbox->refresh();
@@ -102,7 +102,7 @@ StateEyedrop_Context::StateEyedrop_Context(CanvasView *canvas_view):
 
 StateEyedrop_Context::~StateEyedrop_Context()
 {
-       sinfg::info("Left Eyedrop State");
+       synfig::info("Left Eyedrop State");
        canvas_view->work_area->reset_cursor();
        App::toolbox->refresh();
 }
@@ -110,7 +110,7 @@ StateEyedrop_Context::~StateEyedrop_Context()
 Smach::event_result
 StateEyedrop_Context::event_stop_handler(const Smach::event& x)
 {
-       sinfg::info("STATE EYEDROP: Received Stop Event");
+       synfig::info("STATE EYEDROP: Received Stop Event");
        throw Smach::egress_exception();
 //     canvas_view->get_smach().pop_state();
 //     return Smach::RESULT_ACCEPT;
@@ -119,7 +119,7 @@ StateEyedrop_Context::event_stop_handler(const Smach::event& x)
 Smach::event_result
 StateEyedrop_Context::event_refresh_handler(const Smach::event& x)
 {
-       sinfg::info("STATE EYEDROP: Received Refresh Event");
+       synfig::info("STATE EYEDROP: Received Refresh Event");
        canvas_view->work_area->queue_render_preview();
        return Smach::RESULT_ACCEPT;
 }
@@ -127,12 +127,12 @@ StateEyedrop_Context::event_refresh_handler(const Smach::event& x)
 Smach::event_result
 StateEyedrop_Context::event_workarea_mouse_button_down_handler(const Smach::event& x)
 {
-       sinfg::info("STATE EYEDROP: Received mouse button down Event");
+       synfig::info("STATE EYEDROP: Received mouse button down Event");
        const EventMouse& event(*reinterpret_cast<const EventMouse*>(&x));
        if(event.button==BUTTON_LEFT)
        {
                Color color(canvas_view->get_canvas()->get_context().get_color(event.pos));
-               sinfgapp::Main::set_foreground_color(color);
+               synfigapp::Main::set_foreground_color(color);
                studio::App::dialog_color->set_color(color);
                return Smach::RESULT_ACCEPT;
        }