Roassal TRConstraint deprecation

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

Roassal TRConstraint deprecation

Peter Uhnak
Hi Alex,

you've marked TRConstraint as obsolete, however not all behavior has been yet implemented in new RTConstraint.

Namely methods from "public - resizing", "public - camera", and "public - aligning".

Secondly I am not sure about the name of RTConstraint class>>child:parent: (Tudor also didn't like the name when he saw it. :))
I don't think the naming fits well into Roassal... maybe RTConstraint class>>on:backElement: ?

Thanks,
Peter

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal TRConstraint deprecation

abergel
> you've marked TRConstraint as obsolete, however not all behavior has been yet implemented in new RTConstraint.
>
> Namely methods from "public - resizing", "public - camera", and "public - aligning”.

You’re picky! Excellent!
I think we need particular classes such as RTAlignment and RTResizing.
We will work on this over the next two weeks.

> Secondly I am not sure about the name of RTConstraint class>>child:parent: (Tudor also didn't like the name when he saw it. :))
> I don't think the naming fits well into Roassal... maybe RTConstraint class>>on:backElement: ?

I have renamed it as on: aChildShape background: aParentShape

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal TRConstraint deprecation

Peter Uhnak


On Fri, Jul 24, 2015 at 3:46 PM, Alexandre Bergel <[hidden email]> wrote:
> you've marked TRConstraint as obsolete, however not all behavior has been yet implemented in new RTConstraint.
>
> Namely methods from "public - resizing", "public - camera", and "public - aligning”.

You’re picky! Excellent!
I think we need particular classes such as RTAlignment and RTResizing.
 
in that case there should be also RTMoving (or RTMovementConstraint) since RTConstraint can mean anything.

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal TRConstraint deprecation

abergel
In reply to this post by Peter Uhnak
I have created a class RTResize. It is much more flexible to resize elements.

Cheers,
Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On Jul 22, 2015, at 6:42 PM, Peter Uhnák <[hidden email]> wrote:

Hi Alex,

you've marked TRConstraint as obsolete, however not all behavior has been yet implemented in new RTConstraint.

Namely methods from "public - resizing", "public - camera", and "public - aligning".

Secondly I am not sure about the name of RTConstraint class>>child:parent: (Tudor also didn't like the name when he saw it. :))
I don't think the naming fits well into Roassal... maybe RTConstraint class>>on:backElement: ?

Thanks,
Peter
_______________________________________________
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