Sam wrote:
>> Greg Ercolano wrote:
>> [example code snipped]

> Beautiful, thanks Greg. These little snippets of code would be great
> for the programming manual.

        Yes, I think the thing to do is flesh out our new 'examples'
        directory, and have the ref manual's widget docs refer to these
        by name.

        I did this with the new Fl_Table and Fl_Tree widgets in fltk 1.3.x..
        would be good if this were fleshed out a bit more.

        Optimally, many of my 'cheat sheet' examples should probably
        find their way into the fltk/examples directory as well for
        this purpose.

        Pasting code into the manual is probably a bad idea, because
        documented code can often go stale over time. Probably better
        to refer to files that we know build OK.

        devs: is there a doxygen tag that can pull example code
        straight from a directory into our docs e.g. as a \code block?
        I'm sure there's probably Makefile hacks to do this with sed(1),
        but I imagine doxygen might have something.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to