C# Class Nomad.ViewportControl

Inheritance: System.Windows.Forms.UserControl
Datei anzeigen Open project: Azerothian/fc3editor Class Usage Examples

Private Properties

Property Type Description
InitializeComponent void
ResetCameraState void
UpdateCameraMode void
UpdateCameraState void
UpdateCaptureMouse void
ViewportControl_MouseDown void
ViewportControl_MouseEnter void
ViewportControl_MouseLeave void
ViewportControl_MouseUp void
ViewportControl_MouseWheel void
ViewportControl_Paint void
ViewportControl_Resize void
Viewport_Leave void
Viewport_MouseMove void

Public Methods

Method Description
PreProcessMessage ( Message &msg ) : bool
UpdateFocus ( ) : void
UpdateSize ( ) : void
ViewportControl ( NomadForm mainForm, Game game ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void
IsInputKey ( Keys keyData ) : bool
ProcessKeyMessage ( Message &msg ) : bool
WndProc ( Message &m ) : void

Private Methods

Method Description
InitializeComponent ( ) : void
ResetCameraState ( ) : void
UpdateCameraMode ( ) : void
UpdateCameraState ( ) : void
UpdateCaptureMouse ( ) : void
ViewportControl_MouseDown ( object sender, MouseEventArgs e ) : void
ViewportControl_MouseEnter ( object sender, EventArgs e ) : void
ViewportControl_MouseLeave ( object sender, EventArgs e ) : void
ViewportControl_MouseUp ( object sender, MouseEventArgs e ) : void
ViewportControl_MouseWheel ( object sender, MouseEventArgs e ) : void
ViewportControl_Paint ( object sender, PaintEventArgs e ) : void
ViewportControl_Resize ( object sender, EventArgs e ) : void
Viewport_Leave ( object sender, EventArgs e ) : void
Viewport_MouseMove ( object sender, MouseEventArgs e ) : void

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

IsInputKey() protected method

protected IsInputKey ( Keys keyData ) : bool
keyData Keys
return bool

PreProcessMessage() public method

public PreProcessMessage ( Message &msg ) : bool
msg System.Windows.Forms.Message
return bool

ProcessKeyMessage() protected method

protected ProcessKeyMessage ( Message &msg ) : bool
msg System.Windows.Forms.Message
return bool

UpdateFocus() public method

public UpdateFocus ( ) : void
return void

UpdateSize() public method

public UpdateSize ( ) : void
return void

ViewportControl() public method

public ViewportControl ( NomadForm mainForm, Game game ) : System
mainForm NomadForm
game Game
return System

WndProc() protected method

protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message
return void