On 2005-04-03, 11:07, Simon Kagstrom wrote:
Hello Dia-developers! I implemented a patch for Dia yesterday against the Debian/Sarge dia package source (attached in the mail). This patch implements a command-line option to specify which layers to show on exports.
I updated the patch for the CVS version of Dia and attached it here. It implements --show-layers-range and works as outlined in the last mail. One thing which I didn't like is that with one more command-line argument, do_convert and a few other functions are starting to get may arguments. Maybe it's better to define a struct with all arguments and pass that to the functions that need the arguments instead? In the patch, I just added another argument. Anyway: hope you like it :-) // Simon
Attachment:
dia_export_layers-CVS.patch.txt
Description: Text document