Skip to content
Alexandre Bergel edited this page Apr 4, 2019 · 23 revisions

Welcome to the Roassal3 wiki!

Differences between Roassal2 and Roassal3

Migrating from Roassal2 to Roassal3

  • Acronym namespace differs. In Roassal2, Roassal classes begins with RT, in Roassal3 classes begins with RS. In Roassal2, Trachel classes begins with TR, in Roassal3 they begins with TS.
  • RTBox new should be replaced with RSShapeBuilder box
  • RTLine edgeFrom: el1 to: el2 should be replaced with RSEdgeBuilder line from: el1; el2; edge.

For example, in Roassal2, if you wish to have some draggable boxes in a view, you could write:

"Example in Roassal2"
v := RTView new.
shape := RTBox new color: Color gray trans; size: #yourself.
elements := shape elementsOn: (30 to: 80 by: 10).
elements @ RTDraggable.
v add: elements.
RTGridLayout new gapSize: 10; on: elements.
elements @ (RTLabeled new color: Color blue).
v
Clone this wiki locally