You are very very right. We indeed do not want to introduce all these classes.
Your email made me think about something: rewriting Roassal from scratch, but putting the
core notions brought by Athens at the center of Roassal.
May be you should a controlled experience to see but indeed this would be great.
I spend some time on getting the camera working in Roassal, but
Athens was not ready yet. More Roassal will use Athens, and more we are taking advantages
of the graphic card.
Also, do we have to wait for the text editor to include Athens in Pharo?
why do you need to edit large text in roassal? I do not think so. Athens supports string
rendering and all the rest.
The text editor is essentially to bootstrap and remove Morphic right?
But until then, Athens could be part of Pharo.
Athens is part of Pharo already. I do not understand your problem. You have a window in
which you can render object using Athens.
I am now using the Moose image, which is nicely packaged with proper
fonts and Athens.
But Moose does not do anything about the packaging of Athens, it is done in Pharo.
Since there are many users of Roassal on Morphic, it is hard for me
to move to 100% Athens.
Why this is just a different renderer.
Thanks again for your email
Alexandre
>
>
> Stef
>>
>> Alexandre
>>
>>
>> On Nov 17, 2013, at 8:45 AM, Stéphane Ducasse <stephane.ducasse(a)inria.fr>
wrote:
>>
>>> I see that you have a loooot of fun.
>>> Now I have the impression that in the future version you should not expose
ROSVGPath and others
>>> because there are at the importer level not Roassal. So why do you need to
wrap them.
>>> If there is something missing in SVGPath what is it?
>>>
>>> Stef
>>>
>>>> Hi!
>>>>
>>>> I had fun understanding how countries may be described using SVG.
>>>> Here is a first shoot:
>>>>
>>>> <Screen Shot 2013-11-16 at 5.36.21 PM.png>
>>>>
>>>> Moving the mouse above a country name highlight the country. You can now
rehearse your geography.
>>>>
>>>> The complete source code of this example is:
>>>>
>>>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>>> | view element nameComponent label |
>>>> view := ROView new.
>>>>
>>>> ROSVGPath countries do: [ :k |
>>>> element := (ROSVGPath path: (ROSVGPath perform: k)) elementOn: k.
>>>> view add: element.
>>>> ].
>>>>
>>>> nameComponent := ROElement new.
>>>> ROSVGPath countries do: [ :k |
>>>> label := ROLabel elementOn: k asString.
>>>> label @ ROLightlyHighlightable.
>>>> label on: ROMouseEnter do: [ :event | ROBlink highlight: (view
elementFromModel: event model asSymbol) ].
>>>> label on: ROMouseLeave do: [ :event | ROBlink unhighlight: (view
elementFromModel: event model asSymbol) ].
>>>> nameComponent add: label.
>>>> ].
>>>> ROGridLayout new
>>>> gapSize: -3;
>>>> lineItemsCount: 15;
>>>> on: nameComponent elements.
>>>>
>>>> view add: nameComponent.
>>>> nameComponent translateTo: 0 @ 400.
>>>>
>>>> view openInWindowSized: 1000 @ 700
>>>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>>>
>>>> Cheers,
>>>> Alexandre
>>>> --
>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>> Alexandre Bergel
http://www.bergel.eu
>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>
>>>>
>>>>
>>>
>>
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel
http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev(a)iam.unibe.ch
>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.