C# Class Flood.GUI.Controls.Property.Color

Color property.
Inheritance: Text
Mostra file Open project: FloodProject/flood

Protected Properties

Property Type Description
m_Button Flood.GUI.ControlInternal.ColorButton

Public Methods

Method Description
Color ( Controls parent ) : System

Initializes a new instance of the Color class.

SetValue ( string value, bool fireEvents = false ) : void

Sets the property value.

Protected Methods

Method Description
DoChanged ( ) : void
OnButtonPressed ( Controls control ) : void

Color-select button press handler.

OnColorChanged ( Controls control ) : void

Color changed handler.

Private Methods

Method Description
GetColorFromText ( ) : Flood.Color
SetTextFromColor ( Flood color ) : void

Method Details

Color() public method

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

DoChanged() protected method

protected DoChanged ( ) : void
return void

OnButtonPressed() protected method

Color-select button press handler.
protected OnButtonPressed ( Controls control ) : void
control Controls Event source.
return void

OnColorChanged() protected method

Color changed handler.
protected OnColorChanged ( Controls control ) : void
control Controls Event source.
return void

SetValue() public method

Sets the property value.
public SetValue ( string value, bool fireEvents = false ) : void
value string Value to set.
fireEvents bool Determines whether to fire "value changed" event.
return void

Property Details

m_Button protected_oe property

protected ColorButton,Flood.GUI.ControlInternal m_Button
return Flood.GUI.ControlInternal.ColorButton