No, actually I do have the latest version and the bug is still present, but it does concern ROEdges, not ROElements. See the following script where I want to add a highlighter to an edge.
Hi Dennis,
I have the impression that you do not use the last version of Roassal.
In Pharo 1.4 and 2.0, with the last version of Roassal I have the script that does let the second circle changes its color.
Alexandre
--------------------
el1 := (ROElement on: 1) height: 50; width:50.
el1 + (ROCircle color: Color lightGreen).
el2 := (ROElement on: 1) height: 50; width:50.
el2 + (ROCircle color: Color lightGreen) @ ROLightlyHighlightable.
rawView := ROView new @ RODraggable.
rawView add: el1.
rawView add: el2.
ROHorizontalLineLayout on: rawView elements.
rawView open.
--------------------
On Sep 26, 2012, at 7:43 AM, Dennis Schenk <d.schenk@students.unibe.ch> wrote:
> Hi,
>
> The code does not work for me, because attributes for the ROElement ist always nil, thus it can't set the original color.
>
> (Or did I miss ome thing? I updated Roassal to the newest version).
>
> I added
> - attributes := Dictionary new. to the init method of ROAbstractElement
> - The method attributes to ROAbstractElement to make it accessible.
>
> Else the code of ROLightlyHighlightable leads to an error.
>
> See the filed out ROAbstractElement here:
>
> http://cl.ly/code/2J0T3x3y1F0y
>
> Cheers,
> Dennis
>
> On Mon, Sep 24, 2012 at 8:01 PM, <moose-technology@googlecode.com> wrote:
>
> Comment #2 on issue 843 by google....@ben.coman.com.au: ROLightlyHighlightable drains element colour
> http://code.google.com/p/moose-technology/issues/detail?id=843
>
> Works for me. Thanks Alex.
>
>
> _______________________________________________
> 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
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev