one more thing (p n d in model worlds)

11 views
Skip to first unread message

r...@amalasoft.com

unread,
Nov 28, 2020, 3:29:34 PM11/28/20
to Eiffel Users Group
Just one more thing.
For those interested, you can get the current pointer (mouse) position of a drop event by querying the world's enclosing cell (EV_MODEL_WORLD_CELL) from your drop event handler.

    txy := world_cell.pointer_position

This opens up a bunch of possibilities for moving stuff (models) around a model world without using D&D.

R
Reply all
Reply to author
Forward
0 new messages