C# Class OpenRA.Mods.Common.Widgets.ColorMixerWidget

Inheritance: OpenRA.Widgets.Widget
Exibir arquivo Open project: pchote/OpenRA Class Usage Examples

Public Properties

Property Type Description
STrim float
VTrim float

Public Methods

Method Description
ColorMixerWidget ( ) : System
ColorMixerWidget ( ColorMixerWidget other ) : System
Draw ( ) : void
GenerateBitmap ( ) : void
GenerateBitmapWorker ( ) : void
HandleMouseInput ( MouseInput mi ) : bool
Initialize ( WidgetArgs args ) : void
Set ( HSLColor color ) : void
Set ( float hue ) : void
SetPaletteRange ( float sMin, float sMax, float vMin, float vMax ) : void
SetValueFromPx ( int2 xy ) : void

Private Methods

Method Description
PxFromValue ( ) : int2

Method Details

ColorMixerWidget() public method

public ColorMixerWidget ( ) : System
return System

ColorMixerWidget() public method

public ColorMixerWidget ( ColorMixerWidget other ) : System
other ColorMixerWidget
return System

Draw() public method

public Draw ( ) : void
return void

GenerateBitmap() public method

public GenerateBitmap ( ) : void
return void

GenerateBitmapWorker() public method

public GenerateBitmapWorker ( ) : void
return void

HandleMouseInput() public method

public HandleMouseInput ( MouseInput mi ) : bool
mi MouseInput
return bool

Initialize() public method

public Initialize ( WidgetArgs args ) : void
args WidgetArgs
return void

Set() public method

public Set ( HSLColor color ) : void
color OpenRA.Graphics.HSLColor
return void

Set() public method

public Set ( float hue ) : void
hue float
return void

SetPaletteRange() public method

public SetPaletteRange ( float sMin, float sMax, float vMin, float vMax ) : void
sMin float
sMax float
vMin float
vMax float
return void

SetValueFromPx() public method

public SetValueFromPx ( int2 xy ) : void
xy int2
return void

Property Details

STrim public_oe property

public float STrim
return float

VTrim public_oe property

public float VTrim
return float