projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
List the removed layers in the history dialog when removing layers.
[synfig.git]
/
synfig-core
/
trunk
/
src
/
synfig
/
layer.h
diff --git
a/synfig-core/trunk/src/synfig/layer.h
b/synfig-core/trunk/src/synfig/layer.h
index
a3ae3b7
..
3e332d9
100644
(file)
--- a/
synfig-core/trunk/src/synfig/layer.h
+++ b/
synfig-core/trunk/src/synfig/layer.h
@@
-77,11
+77,15
@@
#define EXPORT(x) EXPORT_AS(x,#x)
//! \writeme
#define EXPORT(x) EXPORT_AS(x,#x)
//! \writeme
-#define EXPORT_NAME() if(param=="Name" || param=="name" || param=="name__") { return name__; } if(param=="local_name__") { return
local_name__
; }
+#define EXPORT_NAME() if(param=="Name" || param=="name" || param=="name__") { return name__; } if(param=="local_name__") { return
dgettext("synfig",local_name__)
; }
//! \writeme
#define EXPORT_VERSION() if(param=="Version" || param=="version" || param=="version__") { return version__; }
//! \writeme
#define EXPORT_VERSION() if(param=="Version" || param=="version" || param=="version__") { return version__; }
+//! This is used as the category for layer book entries which represent aliases of layers.
+//! It prevents these layers showing up in the menu.
+#define CATEGORY_DO_NOT_USE "Do Not Use"
+
/* === 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 ======================================= */
@@
-418,8
+422,10
@@
public:
//! Duplicates the Layer
virtual Handle clone(const GUID& deriv_guid=GUID())const;
//! Duplicates the Layer
virtual Handle clone(const GUID& deriv_guid=GUID())const;
+#ifdef THIS_CODE_IS_NOT_USED
//! Duplicates the Layer without duplicating the value nodes
virtual Layer *simple_clone()const;
//! Duplicates the Layer without duplicating the value nodes
virtual Layer *simple_clone()const;
+#endif /* THIS_CODE_IS_NOT_USED */
protected:
protected: