Le 28/10/2014 13:52, Alexandre Bergel a écrit :
"have a fixed shape as a background of normal shapes” What do you mean exactly?
You'll have to wait for a demo of the screenshots I sent you :)
Thierry
Cheers, Alexandre
On Oct 28, 2014, at 9:38 AM, Thierry Goubier thierry.goubier@gmail.com wrote:
Le 28/10/2014 13:22, Alexandre Bergel a écrit :
Why did you create a subclass of RTView? What is missing in RTView that you need to subclass it?
I was trying to have a fixed shape as a background of normal shapes. So I tried to change the way fixed shapes were handled with a RTView subclass. Then I subclassed Canvas, Camera, TRMorph, and RTPopup, and...
and then I gave up... :(
Now, I have a better understanding of how Roassal works ;)
Thierry
Cheers, Alexandre
On Oct 24, 2014, at 12:21 PM, Thierry Goubier thierry.goubier@gmail.com wrote:
2014-10-24 16:51 GMT+02:00 Peter Uhnák i.uhnak@gmail.com:
My point is that I want to do a board with multiple views. I saw that in the Roassal example pane.
If you mean what I think that's not actually Roassal, that is just regular images. You can always investigate the source code of Roassal>ExampleBrowser package/RTExampleBrowser/RTAbstractExample.
I think it is a RTView with RTBimapShape(s) inside.
can you give an example? Does that mean all builders have a view: method (or is that renderIn:?). I'm interested because I'd like to mix builders.
The base class RTBuilder have both view: and renderIn:; if not specified the builder will create its own view. I don't know if this is the intended way, but that's how I use it and it seems to work. :) Look at RTComposerExample>>exampleClassAnalysis.
Cool. I made a subclass of RTView for my needs, and this means I can use any builder on it :)
Thierry
Peter
On Fri, Oct 24, 2014 at 4:38 PM, Thierry Goubier thierry.goubier@gmail.com wrote:
2014-10-24 16:14 GMT+02:00 Peter Uhnák i.uhnak@gmail.com: I don't believe you can add view to a view, however you can either use the same view in all methods (if you are using builders you can pass view to them, or use renderIn: aView method)
Hi Peter,
can you give an example? Does that mean all builders have a view: method (or is that renderIn:?). I'm interested because I'd like to mix builders.
Thierry
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev