C# Class OpenRA.Mods.Common.Widgets.ViewportControllerWidget

Inheritance: OpenRA.Widgets.Widget
Afficher le fichier Open project: OpenRA/OpenRA

Méthodes publiques

Свойство Type Description
EdgeCornerScrollThreshold int
EdgeScrollThreshold int
TooltipContainer string
TooltipTemplate string

Private Properties

Свойство Type Description
CheckForDirections ScrollDirection
IsZoomAllowed bool
JumpToBookmark WPos?
JumpToSavedBookmark void
SaveBookmark void
SaveCurrentPositionToBookmark void
ViewportControllerWidget System
Zoom void

Méthodes publiques

Méthode Description
Draw ( ) : void
GetCursor ( int2 pos ) : string
HandleKeyPress ( KeyInput e ) : bool
HandleMouseInput ( MouseInput mi ) : bool
MouseEntered ( ) : void
MouseExited ( ) : void
UpdateMouseover ( ) : void
YieldKeyboardFocus ( ) : bool

Private Methods

Méthode Description
CheckForDirections ( ) : ScrollDirection
IsZoomAllowed ( float zoom ) : bool
JumpToBookmark ( int index ) : WPos?
JumpToSavedBookmark ( int index ) : void
SaveBookmark ( int index, WPos position ) : void
SaveCurrentPositionToBookmark ( int index ) : void
ViewportControllerWidget ( World world, WorldRenderer worldRenderer ) : System
Zoom ( int direction ) : void

Method Details

Draw() public méthode

public Draw ( ) : void
Résultat void

GetCursor() public méthode

public GetCursor ( int2 pos ) : string
pos int2
Résultat string

HandleKeyPress() public méthode

public HandleKeyPress ( KeyInput e ) : bool
e KeyInput
Résultat bool

HandleMouseInput() public méthode

public HandleMouseInput ( MouseInput mi ) : bool
mi MouseInput
Résultat bool

MouseEntered() public méthode

public MouseEntered ( ) : void
Résultat void

MouseExited() public méthode

public MouseExited ( ) : void
Résultat void

UpdateMouseover() public méthode

public UpdateMouseover ( ) : void
Résultat void

YieldKeyboardFocus() public méthode

public YieldKeyboardFocus ( ) : bool
Résultat bool

Property Details

EdgeCornerScrollThreshold public_oe property

public int EdgeCornerScrollThreshold
Résultat int

EdgeScrollThreshold public_oe property

public int EdgeScrollThreshold
Résultat int

TooltipContainer public_oe property

public string TooltipContainer
Résultat string

TooltipTemplate public_oe property

public string TooltipTemplate
Résultat string