On Oct 28, 2014, at 9:38 AM, Thierry Goubier
<thierry.goubier(a)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(a)gmail.com> wrote:
2014-10-24 16:51 GMT+02:00 Peter Uhnák <i.uhnak(a)gmail.com>om>:
> 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(a)gmail.com> wrote:
2014-10-24 16:14 GMT+02:00 Peter Uhnák <i.uhnak(a)gmail.com>om>:
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(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev