Class TScreenObjectTool

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TScreenObjectTool = class(TCustomEditScreenObjectTool)

Description

no description available, TCustomEditScreenObjectTool description follows
no description available, TCustomStoreVerticesTool description follows
no description available, TCustomInteractiveTool description follows

TCustomInteractiveTool is an abstract base class. Its descendants (mainly in InteractiveTools) handle on-screen interaction between the user and the grid or TScreenObjects.

The main procedures in which the interaction is handled are MouseDown, MouseMove and MouseUp. These are called in TframeView.ZoomBoxImage32MouseDown, TframeView.ZoomBoxImage32MouseMove, and TframeView.ZoomBoxImage32MouseUp.

The hints in TfrmGoPhast.frameTopView, TfrmGoPhast.frameFrontView, and TfrmGoPhast.frameSideView are set by the current tool via GetHint, Activate, and Deactivate.

See also
CurrentTool
CurrentTool is the TCustomInteractiveTool that is currently being used to handle the user interaction with TframeView.ZoomBox.

Hierarchy

Overview

Fields

Private FSelectLine: TLine;

Methods

Private function SelectScreenObjectsInGui(const ToggleSelection: boolean): boolean;
Protected function ScreenObjectInside(AScreenObject: TScreenObject): boolean; virtual;
Public destructor Destroy; override;

Description

Fields

Private FSelectLine: TLine;

FSelectLine is used to select TScreenObjects by enclosing them in a polygon. FSelectLine is the TLine used to select the TScreenObjects by enclosing them in a polygon.

Methods

Private function SelectScreenObjectsInGui(const ToggleSelection: boolean): boolean;
 
Protected function ScreenObjectInside(AScreenObject: TScreenObject): boolean; virtual;
 
Public destructor Destroy; override;

Destroy destroys the current instance of TScreenObjectTool. Do not call Destroy directly. Call Free instead.


Generated by PasDoc 0.12.1 on 2013-05-13 15:41:43