about getting all the brush and their interface

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

about getting all the brush and their interface

stephane ducasse
Hi all

I would like to write a small table showing all the brush (and the  
messages used to create them) and their
api.

How can I find that?
I looked at WARenderCanvas and superclasses
Subclasses of WATagBrush and their public api.

Could someone help me if I come up with the table to make sure I do  
not say something idiot?

Stef

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: about getting all the brush and their interface

Philippe Marschall
2007/3/8, stephane ducasse <[hidden email]>:

> Hi all
>
> I would like to write a small table showing all the brush (and the
> messages used to create them) and their
> api.
>
> How can I find that?
> I looked at WARenderCanvas and superclasses
> Subclasses of WATagBrush and their public api.
>
> Could someone help me if I come up with the table to make sure I do
> not say something idiot?

Sure. In general look at all the senders of #brush: and what instances
they create (plus #text:). For each such selector there is an second
one that takes one argument, a renderable object (something that
implements #renderOn:, a block, a component, a string, ...). For the
brush classes you need to exclude certain selectors like #tag and
#initialize.

Philippe
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: about getting all the brush and their interface

stephane ducasse
I'm doing something like that.
I hope to have something for comments in the future... this is tedious.
And you will be able to comment :)

> Sure. In general look at all the senders of #brush: and what instances
> they create (plus #text:). For each such selector there is an second
> one that takes one argument, a renderable object (something that
> implements #renderOn:, a block, a component, a string, ...). For the
> brush classes you need to exclude certain selectors like #tag and
> #initialize.
>
> Philippe
> _______________________________________________
> Seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside