[Clam-devel] Commit 11535: embeded SVG diagrams

Natanael Olaiz nolaiz at gmail.com
Wed Jun 25 19:05:13 PDT 2008


 * RunTimeLibraryLoader additions:
        - private GetPaths: returns all related paths
        - protected CompletePathFor(std::string subpathAndName): search 
for subpathAndName on related paths. If exists, return the complete path.
 * RunTimeFaustLibraryLoader:
        - search for SVG diagram on related paths using 
CompletePathFor("examples/"+pluginName+".dsp-svg/process.svg"). If 
exists, add path as "svg_attribute", if not use generic "faustlogo.svg" 
instead.
        - added "/usr/share/doc/faust" and "/usr/local/share/doc/faust" 
as standardPaths
 * ProcessingBoxEmbededWidgets: if exists attribute "svg_diagram" and 
there is no predefined embeded widget, show diagram as it


BTW: Pau, I copied your debugging tag  "SVGWIDGET" from MainWindow and 
pasted it on ProcessingBoxEmbededWidgets to enable/disable the SVG 
embeded diagrams:

#define SVGWIDGET //this macro is for debugging
#ifdef SVGWIDGET
    #include <QtSvg/QSvgWidget>
    #include <QSvgRenderer>
#endif





More information about the clam-devel mailing list