Login  Register

Re: Roassal real-time

Posted by Thierry Goubier on Oct 28, 2014; 12:36pm
URL: https://forum.world.st/Roassal-real-time-tp4786412p4787161.html

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 <[hidden email]> wrote:
>>
>>
>>
>> 2014-10-24 16:51 GMT+02:00 Peter Uhnák <[hidden email]>:
>>> 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 <[hidden email]> wrote:
>>
>>
>> 2014-10-24 16:14 GMT+02:00 Peter Uhnák <[hidden email]>:
>> 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
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev