Re: [Pharo-users] Roassal2 RTDraggable grid and synchronized movement

2014-08-19 Thread Peter Uhnák
I've finally found my way back to it; I added it to same repo as my multiline http://smalltalkhub.com/#!/~peteruhnak/RoassalPrototypes/ ; there's also an example in class side. However there are two main issues: * drawing of the grid is crude, I created an interaction but I haven't seen any way

Re: [Pharo-users] Roassal2 RTDraggable grid and synchronized movement

2014-08-11 Thread Peter Uhnák
Hi Alex, unfortunately I've been quite busy with other stuff however it's on my todo list so I'm planning to get back to it later this week. I'll keep you posted. Peter On Fri, Aug 8, 2014 at 11:57 PM, Alexandre Bergel alexandre.ber...@me.com wrote: Hi Peter, How things are going with

Re: [Pharo-users] Roassal2 RTDraggable grid and synchronized movement

2014-08-11 Thread Alexandre Bergel
Ok, excellent! Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. On Aug 11, 2014, at 4:37 AM, Peter Uhnák i.uh...@gmail.com wrote: Hi Alex, unfortunately I've been quite busy with other

Re: [Pharo-users] Roassal2 RTDraggable grid and synchronized movement

2014-08-08 Thread Alexandre Bergel
Hi Peter, How things are going with having a snapOnGrid behavior? Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. On Aug 1, 2014, at 2:36 PM, Peter Uhnák i.uh...@gmail.com wrote:

Re: [Pharo-users] Roassal2 RTDraggable grid and synchronized movement

2014-08-03 Thread Tudor Girba
I really love this discussion :) Doru On Fri, Aug 1, 2014 at 11:36 PM, Alexandre Bergel alexandre.ber...@me.com wrote: This is an excellent start. Do you need the grid? If yes, then I can add this to Roassal. It is easy to define an interaction that define a grid. I have added event to

Re: [Pharo-users] Roassal2 RTDraggable grid and synchronized movement

2014-08-01 Thread Alexandre Bergel
Hi Peter! While playing with RTMultiLine I thought that it would be nice to have option for RTDraggable elements to snap to a grid / move only by fixed increments - for example the position could only be divisible by 10 (grid size would be 10), so dragging from 20@10 to 26@4 would jump to

Re: [Pharo-users] Roassal2 RTDraggable grid and synchronized movement

2014-08-01 Thread Alexandre Bergel
The second question is: is it possible for element to subscribe for position updates of another element? (I.e. element A watches for movement of element B and moves accordingly). I know I could add both of them to a composite shape or RTGroup (RTDraggablegroupToDrag:), however I would

Re: [Pharo-users] Roassal2 RTDraggable grid and synchronized movement

2014-08-01 Thread Alexandre Bergel
Hi Peter, Events are emitted by Trachel directly. Roassal does not emit event itself. But it can define callbacks for these events. Being able to define multiline by clicking on a line is very valuable. go go go! And ask question if you are blocked. Alexandre --

Re: [Pharo-users] Roassal2 RTDraggable grid and synchronized movement

2014-08-01 Thread Peter Uhnák
Hi Alex, While the snap to grid might be complicated I thought of simpler solution that might be achievable purely at Roassal level without the need to change Trachel classes. You can look at Umlet, since I am trying to copy it's grid behavior here. Basically you don't move objects with mouse

Re: [Pharo-users] Roassal2 RTDraggable grid and synchronized movement

2014-08-01 Thread Alexandre Bergel
This is an excellent start. Do you need the grid? If yes, then I can add this to Roassal. It is easy to define an interaction that define a grid. I have added event to signal the beginning and ending of a dragging-and-dropping. Here is an example: -=-=-=-=-=-=-=-= | v e | v := RTView new. e

[Pharo-users] Roassal2 RTDraggable grid and synchronized movement

2014-07-31 Thread Peter Uhnák
While playing with RTMultiLine I thought that it would be nice to have option for RTDraggable elements to snap to a grid / move only by fixed increments - for example the position could only be divisible by 10 (grid size would be 10), so dragging from 20@10 to 26@4 would jump to 30@0. Is something