Tidying.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 31 Jan 2008 14:12:35 +0000 (14:12 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 31 Jan 2008 14:12:35 +0000 (14:12 +0000)
git-svn-id: http://svn.voria.com/code@1532 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/canvasview.cpp
synfig-studio/trunk/src/gtkmm/renderer_canvas.cpp
synfig-studio/trunk/src/gtkmm/workarea.cpp

index fd9a212..e9fe579 100644 (file)
@@ -1311,7 +1311,6 @@ CanvasView::init_menus()
                }
        }
 
-
        action_group->add( Gtk::Action::create("play", Gtk::Stock::MEDIA_PLAY),
                sigc::mem_fun(*this, &studio::CanvasView::play)
        );
@@ -1351,7 +1350,6 @@ CanvasView::init_menus()
                sigc::mem_fun(*work_area, &studio::WorkArea::zoom_norm)
        );
 
-
        {
                Glib::RefPtr<Gtk::Action> action;
 
index 1a137fb..81d922d 100644 (file)
@@ -152,7 +152,6 @@ Renderer_Canvas::render_vfunc(
                }
                else
                {
-
                        int div = 1 << get_work_area()->get_lowrespixel();
                        const int width_in_tiles(w/tile_w+(((get_work_area()->get_low_resolution_flag())?((w/div)%(tile_w/div)):(w%tile_w))?1:0));
                        const int height_in_tiles(h/tile_h+(h%tile_h?1:0));
index 1815fa1..f436f91 100644 (file)
@@ -171,7 +171,6 @@ public:
                set_clipping(true);
                if(low_res)
                {
-
                        int div = 1 << workarea->get_lowrespixel();
                        set_tile_w(workarea->tile_w/div);
                        set_tile_h(workarea->tile_h/div);
@@ -352,7 +351,6 @@ public:
                if(low_res)
                {
                        // We need to scale up
-
                        int div = 1 << workarea->get_lowrespixel();
                        pixbuf=pixbuf->scale_simple(
                                surface.get_w()*div,
@@ -1996,7 +1994,6 @@ WorkArea::next_unrendered_tile(int refreshes)const
                x(focus_point[0]/pw+drawing_area->get_width()/2-w/2),
                y(focus_point[1]/ph+drawing_area->get_height()/2-h/2);
 
-
        int div = 1 << lowrespixel;
        const int width_in_tiles(w/tile_w+((low_resolution?((w/div)%(tile_w/div)):(w%tile_w))?1:0));
        const int height_in_tiles(h/tile_h+(h%tile_h?1:0));
@@ -2173,9 +2170,6 @@ WorkArea::set_lowrespixel(int x)
        queue_render_preview();
 }
 
-
-
-
 namespace studio
 {
 class WorkAreaProgress : public synfig::ProgressCallback