C# Class Hyena.Gui.Theming.Theme

Show file Open project: GNOME/hyena Class Usage Examples

Public Methods

Method Description
Clamp ( double min, double max, double value ) : double
DrawArrow ( Cairo cr, Gdk alloc, Hyena type ) : void
DrawArrow ( Cairo cr, Gdk alloc, double rotation ) : void
DrawFrame ( Cairo cr, Gdk alloc, Cairo color ) : void
DrawFrame ( Cairo cr, Gdk alloc, bool baseColor ) : void
DrawFrameBackground ( Cairo cr, Gdk alloc, Cairo color ) : void
DrawFrameBackground ( Cairo cr, Gdk alloc, Cairo color, Cairo pattern ) : void
DrawFrameBackground ( Cairo cr, Gdk alloc, bool baseColor ) : void
DrawFrameBorder ( Cairo cr, Gdk alloc ) : void
DrawHighlightFrame ( Cairo cr, int x, int y, int width, int height ) : void
DrawPie ( double fraction ) : void
DrawRowCursor ( Cairo cr, int x, int y, int width, int height ) : void
DrawRowCursor ( Cairo cr, int x, int y, int width, int height, Cairo color ) : void
DrawRowCursor ( Cairo cr, int x, int y, int width, int height, Cairo color, CairoCorners corners ) : void
PopContext ( ) : ThemeContext
PushContext ( ) : void
PushContext ( ThemeContext context ) : void
Theme ( Gtk.Widget widget ) : System

Protected Methods

Method Description
OnColorsRefreshed ( ) : void

Method Details

Clamp() public static method

public static Clamp ( double min, double max, double value ) : double
min double
max double
value double
return double

DrawArrow() public method

public DrawArrow ( Cairo cr, Gdk alloc, Hyena type ) : void
cr Cairo
alloc Gdk
type Hyena
return void

DrawArrow() public abstract method

public abstract DrawArrow ( Cairo cr, Gdk alloc, double rotation ) : void
cr Cairo
alloc Gdk
rotation double
return void

DrawFrame() public method

public DrawFrame ( Cairo cr, Gdk alloc, Cairo color ) : void
cr Cairo
alloc Gdk
color Cairo
return void

DrawFrame() public method

public DrawFrame ( Cairo cr, Gdk alloc, bool baseColor ) : void
cr Cairo
alloc Gdk
baseColor bool
return void

DrawFrameBackground() public method

public DrawFrameBackground ( Cairo cr, Gdk alloc, Cairo color ) : void
cr Cairo
alloc Gdk
color Cairo
return void

DrawFrameBackground() public abstract method

public abstract DrawFrameBackground ( Cairo cr, Gdk alloc, Cairo color, Cairo pattern ) : void
cr Cairo
alloc Gdk
color Cairo
pattern Cairo
return void

DrawFrameBackground() public method

public DrawFrameBackground ( Cairo cr, Gdk alloc, bool baseColor ) : void
cr Cairo
alloc Gdk
baseColor bool
return void

DrawFrameBorder() public abstract method

public abstract DrawFrameBorder ( Cairo cr, Gdk alloc ) : void
cr Cairo
alloc Gdk
return void

DrawHighlightFrame() public abstract method

public abstract DrawHighlightFrame ( Cairo cr, int x, int y, int width, int height ) : void
cr Cairo
x int
y int
width int
height int
return void

DrawPie() public abstract method

public abstract DrawPie ( double fraction ) : void
fraction double
return void

DrawRowCursor() public method

public DrawRowCursor ( Cairo cr, int x, int y, int width, int height ) : void
cr Cairo
x int
y int
width int
height int
return void

DrawRowCursor() public method

public DrawRowCursor ( Cairo cr, int x, int y, int width, int height, Cairo color ) : void
cr Cairo
x int
y int
width int
height int
color Cairo
return void

DrawRowCursor() public abstract method

public abstract DrawRowCursor ( Cairo cr, int x, int y, int width, int height, Cairo color, CairoCorners corners ) : void
cr Cairo
x int
y int
width int
height int
color Cairo
corners CairoCorners
return void

OnColorsRefreshed() protected method

protected OnColorsRefreshed ( ) : void
return void

PopContext() public method

public PopContext ( ) : ThemeContext
return ThemeContext

PushContext() public method

public PushContext ( ) : void
return void

PushContext() public method

public PushContext ( ThemeContext context ) : void
context ThemeContext
return void

Theme() public method

public Theme ( Gtk.Widget widget ) : System
widget Gtk.Widget
return System