If you are planning on loading all the custom shapes you find before
constructing the sheets, is there any point to specifying them differently
inside the new sheet files? Also, do we want to allow objects to provide
their own pixmap icon, or shoud that be up to the sheet code.
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
On Sat, 6 Nov 1999, Cyrille Chepelov (home) wrote:
> On Sat, 6 Nov 1999, James Henstridge wrote:
>
> > Do you want to reference custom shapes by object name or file name? If
> > you do it by object name, how we know which shapes to load up? Other than
>
> Simple : I (want to) load just every .shape file I can find in the
> relevant subtrees. Afterwards, I forget the file names, and use only
> ObjectType names. [Currently, I let the older code find the index.sheet
> files and load the shapes, if I have time before this afternoon, I'll
> change that, write the remaining .sheet files and eliminate the old sheet
> registration mechanism]
>
> > that, your format looks good. Note that the custom shape code uses the
> > user_data field to pass the ShapeInfo structure to the custom_create()
> > function, and it will not work very well with just an integer.
>
> yup, I found that while coding (ahem...). Since I originally didn't want
> to expose user_data for shapes (there's no attribute intdata in <shape>),
> it wasn't a problem.
>
> -- Cyrille
>
> ------------------------------------------------------------------------------
> Grumpf.
>
>