C# Class SadConsoleEditor.Controls.ColorPicker

Inheritance: SadConsole.Controls.ControlBase
ファイルを表示 Open project: Thraka/SadConsoleEditor Class Usage Examples

Private Properties

Property Type Description
ResetSelectedColor void
SetClosestIndex void

Public Methods

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

Protected Methods

Method Description
OnMouseIn ( SadConsole info ) : void

Private Methods

Method Description
ResetSelectedColor ( ) : void
SetClosestIndex ( Color color ) : void

Method Details

ColorPicker() public method

public ColorPicker ( int width, int height, Color hue ) : System
width int
height int
hue Color
return System

Compose() public method

public Compose ( ) : void
return void

DetermineAppearance() public method

public DetermineAppearance ( ) : void
return void

OnMouseIn() protected method

protected OnMouseIn ( SadConsole info ) : void
info SadConsole
return void

ProcessMouse() public method

public ProcessMouse ( SadConsole info ) : bool
info SadConsole
return bool