Hi,

Can you check the method ROMondrianViewBuilder>>linearFillColor:within: in your image, please?

The last line should say something like:

shape color: [ :v | Color gray256: 256 - ((block roValue: v model) max: max in: (1 to: 256)) ]

Thanks,
Vanessa.

On 11/20/2012 06:10 AM, roberto.minelli@usi.ch wrote:
Hi Fabrizio,

By the way I think the problem is not only on LOC… I tried with my own piece of code and it does not work either.

The point is that the receiver of the message is a ROElement(Object) and not the Object itself.

Why is this the case?

Cheers,
Roberto

On Nov 20, 2012, at 9:55 AM, Fabrizio Perin <fabrizio.perin@gmail.com>
 wrote:

Hi roberto,
do you have access to the code from the image? LoC are computed
directly on the source code if I remember correctly so It might be
that one the problem.

Cheers,
fabrizio

2012/11/20 roberto.minelli@usi.ch <roberto.minelli@usi.ch>:
Hi Alexandre,

You are actually right… The error raised is a messageNotUnderstood on #linesOfCode. The question is.. Why?

However thanks for suggesting me where to look!

Cheers,
Roberto

On Nov 19, 2012, at 6:40 PM, Alexandre Bergel <alexandre.bergel@me.com> wrote:

Hi Roberto,

I'm trying out Roassal to draw the entire revision graph of a Git repository.
Looks interesting!

Looking at the examples, the #tutorial>>step5LinearFillColor is broken (i.e., I got big red rectangle with a yellow diagonals).
Strange, this example works in my image (I am using the last Moose).

Do anyone of you know a solution?
I guess the following script will be as broken as step5:
-=-=-=-=-=-=-=-=-=-=-=-=
| v |
v := ROMondrianViewBuilder new.
ROMondrianExample new step5LinearFillColorOn: v.
v open
-=-=-=-=-=-=-=-=-=-=-=-=

If the script above fails, then probably one subclass of Collection does not answer correctly to #linesOfCode
You can verify this with:
-=-=-=-=-=-=-=-=-=-=-=-=
| v |
v := ROMondrianViewBuilder new.
ROMondrianExample new step5LinearFillColorOn: v.
v raw bitmap
-=-=-=-=-=-=-=-=-=-=-=-=

What is the error raised with this last script

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



_______________________________________________
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