C# Class Fusion.Engine.Frames.MouseProcessor

Mostra file Open project: demiurghg/FusionEngine Class Usage Examples

Public Properties

Property Type Description
Game Game
ui FrameProcessor

Private Properties

Property Type Description
CallClick void
CallMouseDown void
CallMouseIn void
CallMouseOut void
CallMouseUp void
CallStatusChanged void
GetHoveredFrame Frame
InputDevice_KeyDown void
InputDevice_KeyUp void
InputDevice_MouseScroll void
IsPointWithinDoubleClickArea bool
PushFrame void
ReleaseFrame void
UpdateHoverRecursive void

Public Methods

Method Description
Initialize ( ) : void

MouseProcessor ( Game game, FrameProcessor ui ) : System

Update ( Frame root ) : void

Private Methods

Method Description
CallClick ( Frame frame, Keys key, bool doubleClick ) : void
CallMouseDown ( Frame frame, Keys key ) : void
CallMouseIn ( Frame frame ) : void
CallMouseOut ( Frame frame ) : void
CallMouseUp ( Frame frame, Keys key ) : void
CallStatusChanged ( Frame frame, FrameStatus status ) : void
GetHoveredFrame ( ) : Frame

InputDevice_KeyDown ( object sender, KeyEventArgs e ) : void

InputDevice_KeyUp ( object sender, KeyEventArgs e ) : void

InputDevice_MouseScroll ( object sender, MouseScrollEventArgs e ) : void
IsPointWithinDoubleClickArea ( System.Point a, System.Point b ) : bool
PushFrame ( Frame currentHovered, Keys key ) : void

Holds frame

ReleaseFrame ( Frame currentHovered, Keys key ) : void

Releases frame

UpdateHoverRecursive ( Frame frame, System.Point p, Frame &mouseHoverFrame ) : void

Updates current hovered frame

Method Details

Initialize() public method

public Initialize ( ) : void
return void

MouseProcessor() public method

public MouseProcessor ( Game game, FrameProcessor ui ) : System
game Game
ui FrameProcessor
return System

Update() public method

public Update ( Frame root ) : void
root Frame
return void

Property Details

Game public_oe property

public Game Game
return Game

ui public_oe property

public FrameProcessor,Fusion.Engine.Frames ui
return FrameProcessor