The class ROExample should also help you with the Roassal API. There are plenty of examples that involves clickable labels that get highlighted when the mouse is above.
Currently the easel is for the Mondrian dsl. I was wondering about extending the easel to be both for the Mondrian Dsl and the Roassal API.
Alexandre
Le 24 mai 2012 à 08:55, Alexandre Bergel alexandre.bergel@me.com a écrit :
By the way, you could maybe use ROLabelElement instead of ROElement in your situation until I fix this
Alexandre
Le 23 mai 2012 à 12:52, Usman Bhatti usman.bhatti@gmail.com a écrit :
Today, I worked a bit on creating some visu with Roassal. It really a nice tool.
I had a few problems though:
Non-dsl mode relies on the user to handle the drawing details. For example, the code below creates a box whose text exceeds the box boundaries. For mondrian-infested people like me, this should be automatically managed.
node := 'this is a long chain'. view := ROWhiteView new view title: 'TEST'. moduleNode := (ROElement spriteOn: node) + (ROLabel new color: Color red). view add: moduleNode. view open. <Screen shot 2012-05-23 at 5.42.17 PM.png>
I tried to switch to the DSL mode with ROMondrianViewBuilder in Glamour but I had MessageNotUnderstood: ROMondrianViewBuilder>>camera. Did someone have a similar problem?
tx Usman
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