C# Class Oglr.Core.CustomUITypeEditors.XnaColorUiTypeEditor.ColorUiWrapper

Wrapper for the private ColorUI class nested within ColorEditor. It publishes its internals via reflection and adds a TrackBar to adjust the alpha value.
Mostra file Open project: SteveDunn/oglr

Public Methods

Method Description
ColorUiWrapper ( XnaColorUiTypeEditor colorEditor ) : System

Creates a new instance.

End ( ) : void
Start ( IWindowsFormsEditorService service, object value ) : void

Private Methods

Method Description
onControlSizeChanged ( object sender, EventArgs e ) : void
onTrackBarAlphaValueChanged ( object sender, EventArgs e ) : void

Method Details

ColorUiWrapper() public method

Creates a new instance.
public ColorUiWrapper ( XnaColorUiTypeEditor colorEditor ) : System
colorEditor XnaColorUiTypeEditor The editor this instance belongs to.
return System

End() public method

public End ( ) : void
return void

Start() public method

public Start ( IWindowsFormsEditorService service, object value ) : void
service IWindowsFormsEditorService
value object
return void