Class TColRowLayerSelectorTool

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TColRowLayerSelectorTool = class(TCustomCellSelectionTool)

Description

no description available, TCustomCellSelectionTool description follows

TCustomCellSelectionTool is an abstract base class. Its descendants are used for cases where the user selects a range of cells on which to perform some action.

See also
TSpacingGridTool
TSpacingGridTool is used to set the size of selected columns, rows, or layers in TPhastGrid.
TSubdivideGridTool
TSubdivideGridTool is used to subdivide elements in TPhastGrid into multiple columns, rows, and layers.
TColRowLayerSelectorTool

Hierarchy

Overview

Fields

Private FNewRow: integer;
Private FNewColumn: integer;
Private FNewLayer: integer;
Private FShouldDraw: boolean;

Methods

Private procedure DrawNewColRowLayerSelection(const Direction: TViewDirection; const BitMap: TBitmap32);
Private procedure DrawExistingColRowLayerSelection(const Direction: TViewDirection; const BitMap: TBitmap32);
Private procedure GetCellUnderMouse(X, Y: integer);
Private procedure SetNewSelection;
Private procedure DrawASelection(Col, Row, Lay: Integer; Color1, Color2: TColor; const BitMap: TBitmap32; const Direction: TViewDirection);
Protected procedure DrawOnBitMap32(Sender: TObject; Buffer: TBitmap32); override;
Protected function GetHint: string; override;
Public procedure MouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer); override;
Public procedure MouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override;
Public procedure Activate; override;

Properties

Public property NewColumn: integer read FNewColumn;
Public property NewRow: integer read FNewRow;
Public property NewLayer: integer read FNewLayer;

Description

Fields

Private FNewRow: integer;
 
Private FNewColumn: integer;
 
Private FNewLayer: integer;
 
Private FShouldDraw: boolean;
 

Methods

Private procedure DrawNewColRowLayerSelection(const Direction: TViewDirection; const BitMap: TBitmap32);
 
Private procedure DrawExistingColRowLayerSelection(const Direction: TViewDirection; const BitMap: TBitmap32);
 
Private procedure GetCellUnderMouse(X, Y: integer);
 
Private procedure SetNewSelection;
 
Private procedure DrawASelection(Col, Row, Lay: Integer; Color1, Color2: TColor; const BitMap: TBitmap32; const Direction: TViewDirection);
 
Protected procedure DrawOnBitMap32(Sender: TObject; Buffer: TBitmap32); override;
 
Protected function GetHint: string; override;
 
Public procedure MouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer); override;
 
Public procedure MouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override;
 
Public procedure Activate; override;
 

Properties

Public property NewColumn: integer read FNewColumn;
 
Public property NewRow: integer read FNewRow;
 
Public property NewLayer: integer read FNewLayer;
 

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