C# Class FlatRedBall.SpecializedXnaControls.RegionSelection.RectangleSelector

ファイルを表示 Open project: vchelaru/FlatRedBall Class Usage Examples

Private Properties

Property Type Description
ClickActivity void
DragActivity void
GetMultipliersFromSideGrabbed void
KeyboardActivity void
MouseAndCursorActivity void
PushActivity void
RecordOldValues void
ResizeCircleActivity void
RoundIfNecessary float
SetWindowsCursor void
UpdateVisibility void

Public Methods

Method Description
Activity ( Cursor cursor, Keyboard keyboard, System container, SystemManagers managers ) : void
AddToManagers ( SystemManagers managers ) : void
GetSideOver ( float x, float y ) : ResizeSide
HasCursorOver ( Cursor cursor, SystemManagers managers ) : bool
RectangleSelector ( SystemManagers managers ) : System
RemoveFromManagers ( SystemManagers managers ) : void
UpdateHandles ( ) : void

Private Methods

Method Description
ClickActivity ( Cursor cursor ) : void
DragActivity ( Cursor cursor, SystemManagers managers ) : void
GetMultipliersFromSideGrabbed ( float &widthMultiplier, float &heightMultiplier, float &xMultiplier, float &yMultiplier ) : void
KeyboardActivity ( Keyboard keyBoard ) : void
MouseAndCursorActivity ( Cursor cursor, System container, SystemManagers managers ) : void
PushActivity ( ResizeSide sideOver, Cursor cursor ) : void
RecordOldValues ( ) : void
ResizeCircleActivity ( SystemManagers managers ) : void
RoundIfNecessary ( float value ) : float
SetWindowsCursor ( System container, ResizeSide sideGrabbed, ResizeSide sideOver, bool resetToArrow, bool flipHorizontal, bool flipVertical ) : void
UpdateVisibility ( ) : void

Method Details

Activity() public method

public Activity ( Cursor cursor, Keyboard keyboard, System container, SystemManagers managers ) : void
cursor Cursor
keyboard Keyboard
container System
managers RenderingLibrary.SystemManagers
return void

AddToManagers() public method

public AddToManagers ( SystemManagers managers ) : void
managers RenderingLibrary.SystemManagers
return void

GetSideOver() public method

public GetSideOver ( float x, float y ) : ResizeSide
x float
y float
return ResizeSide

HasCursorOver() public method

public HasCursorOver ( Cursor cursor, SystemManagers managers ) : bool
cursor Cursor
managers RenderingLibrary.SystemManagers
return bool

RectangleSelector() public method

public RectangleSelector ( SystemManagers managers ) : System
managers RenderingLibrary.SystemManagers
return System

RemoveFromManagers() public method

public RemoveFromManagers ( SystemManagers managers ) : void
managers RenderingLibrary.SystemManagers
return void

UpdateHandles() public method

public UpdateHandles ( ) : void
return void