Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

Dragging Atomics
[Tutorial 2 - User Interaction]

Our next goal is to be able to drag the selected atomic about the screen. This will require some modifications to the code we have written in the Idle() function. The code we write will enter a pick-and-translate mode when the left mouse button is pressed. As the mouse moves we will update the position of the selected atomic. When the mouse is released, we will drop the atomic.

Next...
Criterion Software © 1993-2004 Criterion Software Limited. All rights reserved. Built Thu Feb 12 13:46:58 2004. Send Feedback