]> git.street.me.uk Git - andy/viking.git/blob - doc/dev/Clipboard
Use https DEM download site by default
[andy/viking.git] / doc / dev / Clipboard
1 new file -- clipboard.c
2
3 Copy layer -> layer address
4 on paste, layer_copy_func in Interface. returns new layer with new data, etc.
5
6 -- items --
7
8 if selected thing something to be copied call
9 layer_copy_item_func
10 then
11 layer_paste_item_func
12 If same layer is selected.
13
14 The only problem is determining if selected item can be copied.
15 No, wait, piece of cake. Hand back sublayer_type to the layer in a new interface func
16
17 gboolean layer_sublayer_is_copyable_func ( sublayer_type )
18
19 to determine if copyable
20