projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Catalan translation by Miguel Gea Milvaques (xerakko).
[synfig.git]
/
synfig-studio
/
tags
/
stable
/
src
/
gtkmm
/
asyncrenderer.h
diff --git
a/synfig-studio/tags/stable/src/gtkmm/asyncrenderer.h
b/synfig-studio/tags/stable/src/gtkmm/asyncrenderer.h
index
6bf291a
..
6678e4e
100644
(file)
--- a/
synfig-studio/tags/stable/src/gtkmm/asyncrenderer.h
+++ b/
synfig-studio/tags/stable/src/gtkmm/asyncrenderer.h
@@
-6,6
+6,7
@@
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
**
** \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
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
@@
-42,6
+43,12
@@
/* === M A C R O S ========================================================= */
/* === M A C R O S ========================================================= */
+// uncomment to use a single thread, and hopefully get more stability
+// #define SINGLE_THREADED
+#ifdef SINGLE_THREADED
+# define single_threaded() App::single_threaded
+#endif
+
/* === T Y P E D E F S ===================================================== */
/* === C L A S S E S & S T R U C T S ======================================= */
/* === T Y P E D E F S ===================================================== */
/* === C L A S S E S & S T R U C T S ======================================= */
@@
-83,6
+90,10
@@
public:
void stop();
void pause();
void resume();
void stop();
void pause();
void resume();
+#ifdef SINGLE_THREADED
+ void rendering_progress();
+ bool updating;
+#endif
bool has_error()const { return error; }
bool has_success()const { return success; }
bool has_error()const { return error; }
bool has_success()const { return success; }