31.05.2013 Views

think-cell technical report TC2003/01 A GUI-based Interaction ...

think-cell technical report TC2003/01 A GUI-based Interaction ...

think-cell technical report TC2003/01 A GUI-based Interaction ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.3 Specifying the User Interface INTERACTION CONCEPT<br />

(a) Initial layout<br />

free drag<br />

(c) Further movement of the gridline affects<br />

all bound shapes.<br />

snap<br />

(b) Dragged gridlines snap, merging with<br />

the gridline at the drop location.<br />

Ctrl + drag<br />

(d) Hold down the ctrl key while dragging<br />

to split a gridline and insert a gap.<br />

Figure 32: A scenario of gridlines being dragged with different options (live screenshots<br />

with annotations)<br />

PowerPoint shapes. I use a new name and appearance, because in the context of<br />

the smart grid they exhibit an enhanced behavior. (cf. Sect. 4.1.2)<br />

With the solver in mind, moving anchorpoints does not primarily relate to resiz-<br />

ing any more, but to specifying alignment relations. Moving an anchorpoint means<br />

unbinding it from its gridline and binding it to another one. The user performs the<br />

move operation by drag-and-drop. On drop, an anchorpoint always identifies with<br />

a crossing of a vertical and a horizontal gridline and snaps to such crossings and<br />

to single gridlines while it is dragged. If the anchorpoint is not dropped within the<br />

gravity field of a crossing of gridlines, new gridlines are generated as required. After<br />

moving an anchorpoint, if a gridline is left with no smart element attached to it, it<br />

is removed from the smart grid.<br />

4.3.5 Higher-Order Constraints<br />

Although the grid-<strong>based</strong> constraints cover a great deal of layout specification, they<br />

are not sufficient to specify all inter-shape relations that appear in the context of<br />

66

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!