// $Revision: 1.5 $ // Copyright (C) 1995 Taligent, Inc. All rights reserved. #if 0 --------------------------------------------------------------------------- > Class: | TDragSelector > Taxonomy Category: | Documented Samples | GlobalSelectionTool > Interface Category: | API and SPI. > Inherits From: | TDragAndDropInteractor, MMouseEventHandler > Inherited By: | None. > Purpose: | Peforms drag and drop interactions. This interactor can be started on any mouse event, not just mouse down like TMouseDragAndDropInteractor. > Instantiation: | Allocate on the heap or the stack. > Deriving Classes: | None. > Concurrency: | _Not_ multithread safe. > Resource Use: | No special requirements. > Other Considerations: | None. --------------------------------------------------------------------------- #endif #if 0 --------------------------------------------------------------------------- > Member Function: TDragSelector::TDragSelector ; | TDragSelector (TDragAndDropItem * adoptedScrap, MGraphic * adoptedGraphic, const TViewHandle & coordinateView, TMouseMovedEvent & mouseMoved) > Interface Category: | API. > Purpose: | Constructs a new interactor. > Calling Context: | Called by TSelectionToolInteractor::MouseMoved. > Parameters: = TDragAndDropItem * adoptedScrap -The scrap item to drag. = MGraphic * adoptedGraphic -The cursor graphic. = const TViewHandle & coordinateView -The drag coordinate view. = TMouseMovedEvent & mouseMoved -An event from the device to track. > Return Value: | None. > Exceptions: | Throws no exceptions, passes all exceptions through. > Concurrency: | _Not_ multithread safe. > Other Considerations: | None. --------------------------------------------------------------------------- #endif #if 0 --------------------------------------------------------------------------- > Member Function: TDragSelector::~ TDragSelector ; | virtual ~ TDragSelector () > Interface Category: | API. > Purpose: | Destructor. > Calling Context: | Called to destroy an object. > Parameters: = Takes no parameters. > Return Value: | None. > Exceptions: | Throws no exceptions, passes all exceptions through. > Concurrency: | _Not_ multithread safe. > Other Considerations: | None. --------------------------------------------------------------------------- #endif #if 0 --------------------------------------------------------------------------- > Member Function: TDragSelector::MouseDown ; | virtual bool MouseDown (TMouseDownEvent & mouseDown) > Interface Category: | API. > Purpose: | Terminates interaction. > Calling Context: | Called by the Input system. > Parameters: = TMouseDownEvent & mouseDown -The event. > Return Value: | Returns false. > Exceptions: | Throws no exceptions, passes all exceptions through. > Concurrency: | _Not_ multithread safe. > Other Considerations: | None. --------------------------------------------------------------------------- #endif #if 0 --------------------------------------------------------------------------- > Member Function: TDragSelector::MouseUp ; | virtual bool MouseUp (TMouseUpEvent & mouseUp) > Interface Category: | API. > Purpose: | Performs drop and terminate interaction. > Calling Context: | Called by the Input system. > Parameters: = TMouseUpEvent & mouseUp -The event. > Return Value: | Returns true. > Exceptions: | Throws no exceptions, passes all exceptions through. > Concurrency: | _Not_ multithread safe. > Other Considerations: | None. --------------------------------------------------------------------------- #endif #if 0 --------------------------------------------------------------------------- > Member Function: TDragSelector::MouseMoved ; | virtual bool MouseMoved (TMouseMovedEvent & mouseMoved) > Interface Category: | API. > Purpose: | Starts or continues Drag. > Calling Context: | Called by the Input system. > Parameters: = TMouseMovedEvent & mouseMoved -The event. > Return Value: | Returns true. > Exceptions: | Throws no exceptions, passes all exceptions through. > Concurrency: | _Not_ multithread safe. > Other Considerations: | None. --------------------------------------------------------------------------- #endif