C# Class Canguro.Commands.View.ZoomStep

Makes zoom on active view when wheel mouse is rolled.
Inheritance: Canguro.Commands.ViewCommand
Exibir arquivo Open project: rforsbach/Treu-Structure

Public Properties

Property Type Description
Instance ZoomStep

Public Methods

Method Description
ButtonDown ( Canguro activeView, System e ) : void

Event Handler: Action to take when a button is pressed (For now, do nothing)

ButtonUp ( Canguro activeView, System e ) : void

Event Handler: Action to take when a button is released (For now, do nothing)

MouseMove ( Canguro activeView, System e ) : void

Event Handler: Action to take when mouse is moving

MouseWheel ( Canguro activeView, System e ) : void

EventHandler: Response to mouse wheel movement. When scrolling, react by xooming in/out the active view

Private Methods

Method Description
Zoom ( Canguro activeView, float step ) : void

Makes zoom based in an arcball property and a step value for unification with the rest of zoom commands

ZoomStep ( ) : System

Class constructor

Method Details

ButtonDown() public method

Event Handler: Action to take when a button is pressed (For now, do nothing)
public ButtonDown ( Canguro activeView, System e ) : void
activeView Canguro Active view in the scene panel
e System Mouse arguments
return void

ButtonUp() public method

Event Handler: Action to take when a button is released (For now, do nothing)
public ButtonUp ( Canguro activeView, System e ) : void
activeView Canguro Active view in scene panel
e System Mouse arguments
return void

MouseMove() public method

Event Handler: Action to take when mouse is moving
public MouseMove ( Canguro activeView, System e ) : void
activeView Canguro Active view in scene panel
e System Mouse Arguments
return void

MouseWheel() public method

EventHandler: Response to mouse wheel movement. When scrolling, react by xooming in/out the active view
public MouseWheel ( Canguro activeView, System e ) : void
activeView Canguro Active view in scene panel
e System Mouse Arguments
return void

Property Details

Instance public_oe static_oe property

Singleton for this command
public static ZoomStep,Canguro.Commands.View Instance
return ZoomStep