[layers] work on layer sharing (still stable)

git-svn-id: svn://pulkomandy.tk/GrafX2/branches/layers@1045 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2009-09-28 21:01:29 +00:00
parent 057d5e76e4
commit 2fd88b81bb
8 changed files with 30 additions and 16 deletions

View File

@@ -72,7 +72,10 @@ int Init_all_backup_lists(int width,int height);
void Set_number_of_backups(int nb_backups);
int Backup_with_new_dimensions(int upload,int width,int height);
int Backup_and_resize_the_spare(int width,int height);
/// Backup with a new copy for the working layer, and references for all others.
void Backup(void);
/// Backup with a new copy of some layers (the others are references).
void Backup_layers(byte layer_mask);
void Undo(void);
void Redo(void);
void Free_current_page(void); // 'Kill' button