C# Class CatEye.UI.Gtk.Widgets.ToneSelectorWidget

Inheritance: Gtk.DrawingArea
Mostrar archivo Open project: bigfatbrowncat/CatEye

Public Methods

Method Description
Dispose ( ) : void
ToneSelectorWidget ( ) : System
Tone_to_X ( Tone t ) : double
Tone_to_Y ( Tone t ) : double
XY_to_Tone ( double x, double y ) : Tone

Protected Methods

Method Description
OnButtonPressEvent ( Gdk ev ) : bool
OnButtonReleaseEvent ( Gdk evnt ) : bool
OnDarkToneSelected ( ) : void
OnExposeEvent ( Gdk ev ) : bool
OnLightToneSelected ( ) : void
OnMotionNotifyEvent ( Gdk evnt ) : bool
OnSelectedDarkToneChanged ( ) : void
OnSelectedLightToneChanged ( ) : void
OnSizeAllocated ( Gdk allocation ) : void
OnSizeRequested ( Requisition &requisition ) : void

Private Methods

Method Description
DrawPalette ( Gdk buf ) : void
SelectNewDarkTone ( double winX, double winY ) : void
SelectNewLightTone ( double winX, double winY ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

OnButtonPressEvent() protected method

protected OnButtonPressEvent ( Gdk ev ) : bool
ev Gdk
return bool

OnButtonReleaseEvent() protected method

protected OnButtonReleaseEvent ( Gdk evnt ) : bool
evnt Gdk
return bool

OnDarkToneSelected() protected method

protected OnDarkToneSelected ( ) : void
return void

OnExposeEvent() protected method

protected OnExposeEvent ( Gdk ev ) : bool
ev Gdk
return bool

OnLightToneSelected() protected method

protected OnLightToneSelected ( ) : void
return void

OnMotionNotifyEvent() protected method

protected OnMotionNotifyEvent ( Gdk evnt ) : bool
evnt Gdk
return bool

OnSelectedDarkToneChanged() protected method

protected OnSelectedDarkToneChanged ( ) : void
return void

OnSelectedLightToneChanged() protected method

protected OnSelectedLightToneChanged ( ) : void
return void

OnSizeAllocated() protected method

protected OnSizeAllocated ( Gdk allocation ) : void
allocation Gdk
return void

OnSizeRequested() protected method

protected OnSizeRequested ( Requisition &requisition ) : void
requisition Requisition
return void

ToneSelectorWidget() public method

public ToneSelectorWidget ( ) : System
return System

Tone_to_X() public method

public Tone_to_X ( Tone t ) : double
t CatEye.Core.Tone
return double

Tone_to_Y() public method

public Tone_to_Y ( Tone t ) : double
t CatEye.Core.Tone
return double

XY_to_Tone() public method

public XY_to_Tone ( double x, double y ) : Tone
x double /// X coord from 0 to 1 ///
y double
return CatEye.Core.Tone