[Mondrian] Issue #319 solved

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

[Mondrian] Issue #319 solved

Alexandre Bergel
Name: Mondrian-Alexandre_Bergel.366
Author: Alexandre Bergel
Time: 18 February 2010, 1:44:56 am
UUID: 7a842f26-b887-4342-bb53-6e254dda0152
Ancestors: Mondrian-Alexandre_Bergel.365

Mondrian-Alexandre_Bergel.366

Before this version, form builder could not be embedded in a subview.
The reason is that asking what is the size of a form shape triggered a  
new recomputation of each bounds shape. Therefore, all the subnodes  
form shape appeared to be at the same location.
MOFormsShape>>widthFor: and heightFor: simply lookup in  
cacheShapeBounds instead of recomputing the whole thing.

Naturally, a test has been added to MOFormsBuilderTest .

This f**king beast entertained my long evening. But at least, I got  
rid of it.

In addition to this, I did some cleaning.

This version addresses the issue #319
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
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: [Mondrian] Issue #319 solved

Tudor Girba
Great work, Alex!

Doru


On 18 Feb 2010, at 06:04, Alexandre Bergel wrote:

> Name: Mondrian-Alexandre_Bergel.366
> Author: Alexandre Bergel
> Time: 18 February 2010, 1:44:56 am
> UUID: 7a842f26-b887-4342-bb53-6e254dda0152
> Ancestors: Mondrian-Alexandre_Bergel.365
>
> Mondrian-Alexandre_Bergel.366
>
> Before this version, form builder could not be embedded in a subview.
> The reason is that asking what is the size of a form shape triggered  
> a new recomputation of each bounds shape. Therefore, all the  
> subnodes form shape appeared to be at the same location.
> MOFormsShape>>widthFor: and heightFor: simply lookup in  
> cacheShapeBounds instead of recomputing the whole thing.
>
> Naturally, a test has been added to MOFormsBuilderTest .
>
> This f**king beast entertained my long evening. But at least, I got  
> rid of it.
>
> In addition to this, I did some cleaning.
>
> This version addresses the issue #319
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"Beauty is where we see it."



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