C# Class Duality.Editor.Plugins.Base.PropertyEditors.ImagePreviewPropertyEditor

Inheritance: AdamsLair.WinForms.PropertyEditing.PropertyEditor
Datei anzeigen Open project: BraveSirAndrew/duality

Protected Properties

Property Type Description
rectHeader System.Drawing.Rectangle
rectHeaderContent System.Drawing.Rectangle
rectLabelName System.Drawing.Rectangle
rectPreview System.Drawing.Rectangle

Public Methods

Method Description
ImagePreviewPropertyEditor ( ) : System

Protected Methods

Method Description
AdjustPreviewHeight ( bool toggle ) : void
GeneratePreviewFrame ( int frameIndex ) : Bitmap
GetPreviewFrame ( int frameIndex ) : Bitmap
GetPreviewHash ( ) : int
OnGotFocus ( EventArgs e ) : void
OnKeyDown ( KeyEventArgs e ) : void
OnKeyPress ( KeyPressEventArgs e ) : void
OnKeyUp ( KeyEventArgs e ) : void
OnLostFocus ( EventArgs e ) : void
OnMouseDoubleClick ( System e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
ResetPreviewImage ( ) : void
UpdateGeometry ( ) : void

Private Methods

Method Description
subImageSelector_Edited ( object sender, EventArgs e ) : void
subImageSelector_Invalidate ( object sender, EventArgs e ) : void

Method Details

AdjustPreviewHeight() protected method

protected AdjustPreviewHeight ( bool toggle ) : void
toggle bool
return void

GeneratePreviewFrame() protected abstract method

protected abstract GeneratePreviewFrame ( int frameIndex ) : Bitmap
frameIndex int
return System.Drawing.Bitmap

GetPreviewFrame() protected method

protected GetPreviewFrame ( int frameIndex ) : Bitmap
frameIndex int
return System.Drawing.Bitmap

GetPreviewHash() protected abstract method

protected abstract GetPreviewHash ( ) : int
return int

ImagePreviewPropertyEditor() public method

public ImagePreviewPropertyEditor ( ) : System
return System

OnGotFocus() protected method

protected OnGotFocus ( EventArgs e ) : void
e System.EventArgs
return void

OnKeyDown() protected method

protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
return void

OnKeyPress() protected method

protected OnKeyPress ( KeyPressEventArgs e ) : void
e System.Windows.Forms.KeyPressEventArgs
return void

OnKeyUp() protected method

protected OnKeyUp ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
return void

OnLostFocus() protected method

protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs
return void

OnMouseDoubleClick() protected method

protected OnMouseDoubleClick ( System e ) : void
e System
return void

OnMouseDown() protected method

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseLeave() protected method

protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseUp() protected method

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

ResetPreviewImage() protected method

protected ResetPreviewImage ( ) : void
return void

UpdateGeometry() protected method

protected UpdateGeometry ( ) : void
return void

Property Details

rectHeader protected_oe property

protected Rectangle,System.Drawing rectHeader
return System.Drawing.Rectangle

rectHeaderContent protected_oe property

protected Rectangle,System.Drawing rectHeaderContent
return System.Drawing.Rectangle

rectLabelName protected_oe property

protected Rectangle,System.Drawing rectLabelName
return System.Drawing.Rectangle

rectPreview protected_oe property

protected Rectangle,System.Drawing rectPreview
return System.Drawing.Rectangle