C# Class Flood.GUI.Controls.ColorPicker

RGBA color picker.
Inheritance: Control, IColorPicker
Mostra file Open project: FloodProject/flood Class Usage Examples

Public Methods

Method Description
ColorPicker ( Control parent ) : System

Initializes a new instance of the ColorPicker class.

Protected Methods

Method Description
Layout ( Skins skin ) : void

Lays out the control's interior according to alignment, padding, dock etc.

Private Methods

Method Description
CreateColorControl ( String name, int y ) : void
CreateControls ( ) : void
GetColorByName ( String colorName ) : int
GetColorFromName ( String name ) : String
NumericTyped ( Control control ) : void
SetColorByName ( String colorName, byte colorValue ) : void
SlidersMoved ( Control control ) : void
UpdateColorControls ( String name, Color col, int sliderVal ) : void
UpdateControls ( ) : void

Method Details

ColorPicker() public method

Initializes a new instance of the ColorPicker class.
public ColorPicker ( Control parent ) : System
parent Control Parent control.
return System

Layout() protected method

Lays out the control's interior according to alignment, padding, dock etc.
protected Layout ( Skins skin ) : void
skin Skins Skin to use.
return void