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.
Afficher le fichier Open project: SteveDunn/oglr

Méthodes publiques

Méthode Description
ColorUiWrapper ( XnaColorUiTypeEditor colorEditor ) : System

Creates a new instance.

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

Private Methods

Méthode Description
onControlSizeChanged ( object sender, EventArgs e ) : void
onTrackBarAlphaValueChanged ( object sender, EventArgs e ) : void

Method Details

ColorUiWrapper() public méthode

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

End() public méthode

public End ( ) : void
Résultat void

Start() public méthode

public Start ( IWindowsFormsEditorService service, object value ) : void
service IWindowsFormsEditorService
value object
Résultat void