}
}
-
action_group->add( Gtk::Action::create("play", Gtk::Stock::MEDIA_PLAY),
sigc::mem_fun(*this, &studio::CanvasView::play)
);
sigc::mem_fun(*work_area, &studio::WorkArea::zoom_norm)
);
-
{
Glib::RefPtr<Gtk::Action> action;
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);
if(low_res)
{
// We need to scale up
-
int div = 1 << workarea->get_lowrespixel();
pixbuf=pixbuf->scale_simple(
surface.get_w()*div,
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));
queue_render_preview();
}
-
-
-
namespace studio
{
class WorkAreaProgress : public synfig::ProgressCallback