C# Class FileFind.Meshwork.GtkClient.GtkHelper

Show file Open project: codebutler/meshwork Class Usage Examples

Public Methods

Method Description
DarkenColor ( Gdk color, int darken_count ) : Gdk.Color
DarkenColor ( Gdk &color, int darken_count ) : void
GetDarkenedGC ( Gdk window, Gdk color, int darken_count ) : Gdk.GC

Private Methods

Method Description
gtk_hls_to_rgb ( double &h, double &l, double &s ) : void
gtk_rgb_to_hls ( double &r, double &g, double &b ) : void
gtk_style_shade ( Gdk &a, Gdk &b, double k ) : void

Method Details

DarkenColor() public static method

public static DarkenColor ( Gdk color, int darken_count ) : Gdk.Color
color Gdk
darken_count int
return Gdk.Color

DarkenColor() public static method

public static DarkenColor ( Gdk &color, int darken_count ) : void
color Gdk
darken_count int
return void

GetDarkenedGC() public static method

public static GetDarkenedGC ( Gdk window, Gdk color, int darken_count ) : Gdk.GC
window Gdk
color Gdk
darken_count int
return Gdk.GC