C# Class Pinta.ColorGradientWidget

Inheritance: Gtk.Bin
Datei anzeigen Open project: xxgreg/Pinta

Private Properties

Property Type Description
DrawGradient void
DrawTriangles void
FindValueIndex int
GetValueFromY int
GetYFromValue double
HandleButtonPressEvent void
HandleButtonReleaseEvent void
HandleExposeEvent void
HandleLeaveNotifyEvent void
HandleMotionNotifyEvent void
NormalizeY double

Public Methods

Method Description
ColorGradientWidget ( ) : System
GetValue ( int i ) : int
SetValue ( int i, int val ) : void

Protected Methods

Method Description
Build ( ) : void
OnValueChanged ( int index ) : void

Private Methods

Method Description
DrawGradient ( Context g ) : void
DrawTriangles ( Context g ) : void
FindValueIndex ( int y ) : int
GetValueFromY ( double py ) : int
GetYFromValue ( double val ) : double
HandleButtonPressEvent ( object o, Gtk args ) : void
HandleButtonReleaseEvent ( object o, Gtk args ) : void
HandleExposeEvent ( object o, Gtk args ) : void
HandleLeaveNotifyEvent ( object o, Gtk args ) : void
HandleMotionNotifyEvent ( object o, Gtk args ) : void
NormalizeY ( int index, double py ) : double

Method Details

Build() protected method

protected Build ( ) : void
return void

ColorGradientWidget() public method

public ColorGradientWidget ( ) : System
return System

GetValue() public method

public GetValue ( int i ) : int
i int
return int

OnValueChanged() protected method

protected OnValueChanged ( int index ) : void
index int
return void

SetValue() public method

public SetValue ( int i, int val ) : void
i int
val int
return void