-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
(re-including the pd-dev list; i prefer if you reply to the list rather than me, unless it's personal).
On 2013-10-09 10:25, Pierre Guillot wrote:
Hi, Thank you for the tips, I'll try this. Do I have to give the file with the external ?I want to create a kind of template for the GUI externals that allows developers to manage complex behavior and to realize complex drawing. So I don't if it's a really good idea to have to put another file with an external until it's not in the Pd distribution. This template tries to answer the questions of GUI creation ( post in : http://puredata.info/Members/hans/new-editing-features-of-pd-extended-0-43-n....).
First, I want to create a good template that works with Tcl/Tk then I'll
adapt the code to Juce and if it works, i'll try the other platform.
that's the exact reason why i would recommend separating the gui "drawing" code from the Pd-fiels, preferably in separate *files*: you should be able to replace the GUI-implementation without having to touch the Pd-object implementation.
but yes, that means that you have to distribute multiple files. i don't see any problems with that. (any "libdir" conformant external will anyhow consist of multiple files bundled within a directory).
but then, it also means that you *can* ship multiple GUI-implementations with a single installer.
fgamsdr IOhannes