// $Revision: 1.5 $ // Copyright (C) 1995 Taligent, Inc. All rights reserved. #if 0 --------------------------------------------------------------------------- > Class: | TRangeSelector > Taxonomy Category: | Documented Samples | GlobalSelectionTool > Interface Category: | Sample. > Inherits From: | TInteractor, MMouseEventHandler > Inherited By: | None. > Purpose: | Performs _rubberband_ selection. > 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: TRangeSelector::TRangeSelector ; | TRangeSelector (MToolHandler * handler) > Interface Category: | Sample. > Purpose: | Creates a TRangeSelector. > Calling Context: | Called by TSelectionToolInteractor. > Parameters: = MToolHandler * handler -The tool handler that will create targets. > Return Value: | None. > Exceptions: | Throws no exceptions, passes all exceptions through. > Concurrency: | _Not_ multithread safe. > Other Considerations: | None. --------------------------------------------------------------------------- #endif #if 0 --------------------------------------------------------------------------- > Member Function: TRangeSelector::~ TRangeSelector ; | virtual ~ TRangeSelector () > Interface Category: | Sample. > 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: TRangeSelector::MouseDown ; | virtual bool MouseDown (TMouseDownEvent & mouseDown) > Interface Category: | Sample. > Purpose: | Begins rubberband selection. > Calling Context: | Called by the Input system. > Parameters: = TMouseDownEvent & mouseDown -The event. > Return Value: | Returns true if selection is possible. > Exceptions: | Throws no exceptions, passes all exceptions through. > Concurrency: | _Not_ multithread safe. > Other Considerations: | None. --------------------------------------------------------------------------- #endif #if 0 --------------------------------------------------------------------------- > Member Function: TRangeSelector::MouseMoved ; | virtual bool MouseMoved (TMouseMovedEvent & mouseMoved) > Interface Category: | Sample. > Purpose: | Extends selection. > 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 #if 0 --------------------------------------------------------------------------- > Member Function: TRangeSelector::MouseUp ; | virtual bool MouseUp (TMouseUpEvent & mouseUp) > Interface Category: | Sample. > Purpose: | Sets the new current selection. > 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: TRangeSelector::SyncSelections ; | virtual void SyncSelections (const TGPoint & where) > Interface Category: | Sample. > Purpose: | Updates internal selections to match the new selected area. > Calling Context: | Called by MouseDown, MouseMoved, and MouseUp. > Parameters: = const TGPoint & where -The new mouse location. > Return Value: | None. > Exceptions: | Throws no exceptions, passes all exceptions through. > Concurrency: | _Not_ multithread safe. > Other Considerations: | None. --------------------------------------------------------------------------- #endif #if 0 --------------------------------------------------------------------------- > Member Function: TRangeSelector::SyncFeedback ; | virtual void SyncFeedback (const TGPoint & where) > Interface Category: | Sample. > Purpose: | Updates selection feedback to match the new selected area. > Calling Context: | Called by MouseDown, MouseMoved, and MouseUp. > Parameters: = const TGPoint & where -The new mouse location. > Return Value: | None. > Exceptions: | Throws no exceptions, passes all exceptions through. > Concurrency: | _Not_ multithread safe. > Other Considerations: | None. --------------------------------------------------------------------------- #endif