Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > updates > by-pkgid > fff948ba35a5ae9f9dfbad3da9c22cf6 > files > 17

viking-1.1-1.fc14.x86_64.rpm

Merge down -> check if another TRWLayer below (HOW)
Actual merge operation:
Take one layer, go thru each waypoint/track of another.
Take old name and value pointers, add to new layer, steal from old layer.
Name conflict:

 ______________________________________________________
|_____n_a_m_e_____________c_o_n_f_l_i_c_t______________|
|                                                      |
| The track 'x' exists in both the top layer ('l1')    |
| and the bottom layer ('l2'). What do you want to do? |
|                                                      |
| Delete From  :                   top layer ('l1')    |
| Rename to                                            |
| [        ] in:                                       |
| Autorename                                           |
| Delete All                       bottom layer ('l2') |
| Autorename all                                       |
+------------------------------------------------------+

TODO
* check if another TRWLayer below (HOW)
* Better/less confusing UI

UI (name conflict) suggestions would be appreciated!