C# Class SadConsoleEditor.Controls.ColorPicker

Inheritance: SadConsole.Controls.ControlBase
Afficher le fichier Open project: Thraka/SadConsoleEditor Class Usage Examples

Private Properties

Свойство Type Description
ResetSelectedColor void
SetClosestIndex void

Méthodes publiques

Méthode Description
ColorPicker ( int width, int height, Color hue ) : System
Compose ( ) : void
DetermineAppearance ( ) : void
ProcessMouse ( SadConsole info ) : bool

Méthodes protégées

Méthode Description
OnMouseIn ( SadConsole info ) : void

Private Methods

Méthode Description
ResetSelectedColor ( ) : void
SetClosestIndex ( Color color ) : void

Method Details

ColorPicker() public méthode

public ColorPicker ( int width, int height, Color hue ) : System
width int
height int
hue Color
Résultat System

Compose() public méthode

public Compose ( ) : void
Résultat void

DetermineAppearance() public méthode

public DetermineAppearance ( ) : void
Résultat void

OnMouseIn() protected méthode

protected OnMouseIn ( SadConsole info ) : void
info SadConsole
Résultat void

ProcessMouse() public méthode

public ProcessMouse ( SadConsole info ) : bool
info SadConsole
Résultat bool