/*! \file workarea.h
** \brief Template Header
**
-** $Id: workarea.h,v 1.1.1.1 2005/01/07 03:34:37 darco Exp $
+** $Id$
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+** Copyright (c) 2007 Chris Moore
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
friend class WorkAreaTarget_Full;
friend class DirtyTrap;
friend class WorkAreaRenderer;
+ friend class WorkAreaProgress;
/*
-- ** -- P U B L I C T Y P E S ---------------------------------------------
bool canceled_;
int quality;
+ int low_res_pixel_size;
bool dirty_trap_enabled;
etl::loose_handle<synfig::ValueNode> selected_value_node_;
+ bool allow_duck_clicks;
+ bool allow_layer_clicks;
+ bool cancel;
+ bool curr_guide_is_x;
+ bool dirty;
+ bool queued;
+ bool rendering;
/*
-- ** -- P U B L I C D A T A -----------------------------------------------
bool get_canceled()const { return canceled_; }
bool get_queued()const { return queued; }
bool get_rendering()const { return rendering; }
+ bool get_updating()const;
+ void stop_updating(bool cancel = false);
bool get_full_frame()const { return full_frame; }
//int get_w()const { return w; }
//int get_h()const { return h; }
int get_tile_w()const { return tile_w; }
int get_tile_h()const { return tile_h; }
+ bool get_allow_layer_clicks() { return allow_layer_clicks; }
+ void set_allow_layer_clicks(bool value) { allow_layer_clicks=value; }
+
+ bool get_allow_duck_clicks() { return allow_duck_clicks; }
+ void set_allow_duck_clicks(bool value) { allow_duck_clicks=value; }
+
+ // used in renderer_ducks.cpp
bool solid_lines;
- bool rendering;
- bool dirty;
- bool queued;
- bool cancel;
- bool allow_layer_clicks;
- bool allow_duck_clicks;
+ // used in renderer_guides.cpp
GuideList::iterator curr_guide;
- bool curr_guide_is_x;
+
+ // used in renderer_timecode.cpp
+ int timecode_width, timecode_height;
/*
-- ** -- P R I V A T E M E T H O D S ---------------------------------------
void popup_menu();
int get_quality()const { return quality; }
+ int get_low_res_pixel_size()const { return low_res_pixel_size; }
void set_quality(int x);
+ void set_low_res_pixel_size(int x);
int get_w()const { return w; }