C# Class FC3Editor.UI.ButtonShader

显示文件 Open project: Azerothian/fc3editor Class Usage Examples

Public Properties

Property Type Description
checkShader ButtonShader
disableShader ButtonShader
hoverShader ButtonShader
normalShader ButtonShader
pushShader ButtonShader
shadersInit bool

Public Methods

Method Description
ButtonShader ( float hue, float saturation, float start, float start2, float end2, float end, float edge, int border ) : System
ComputeColors ( float hue, float saturation, float start, float start2, float end2, float end, float edge, int border ) : void
DrawButton ( Graphics g, Rectangle rect, Color backColor ) : void
DrawText ( Graphics g, Rectangle rect, string text, Font font, Color color ) : void
InitShaders ( ) : void

Method Details

ButtonShader() public method

public ButtonShader ( float hue, float saturation, float start, float start2, float end2, float end, float edge, int border ) : System
hue float
saturation float
start float
start2 float
end2 float
end float
edge float
border int
return System

ComputeColors() public method

public ComputeColors ( float hue, float saturation, float start, float start2, float end2, float end, float edge, int border ) : void
hue float
saturation float
start float
start2 float
end2 float
end float
edge float
border int
return void

DrawButton() public method

public DrawButton ( Graphics g, Rectangle rect, Color backColor ) : void
g System.Drawing.Graphics
rect System.Drawing.Rectangle
backColor Color
return void

DrawText() public method

public DrawText ( Graphics g, Rectangle rect, string text, Font font, Color color ) : void
g System.Drawing.Graphics
rect System.Drawing.Rectangle
text string
font System.Drawing.Font
color Color
return void

InitShaders() public static method

public static InitShaders ( ) : void
return void

Property Details

checkShader public_oe static_oe property

public static ButtonShader,FC3Editor.UI checkShader
return ButtonShader

disableShader public_oe static_oe property

public static ButtonShader,FC3Editor.UI disableShader
return ButtonShader

hoverShader public_oe static_oe property

public static ButtonShader,FC3Editor.UI hoverShader
return ButtonShader

normalShader public_oe static_oe property

public static ButtonShader,FC3Editor.UI normalShader
return ButtonShader

pushShader public_oe static_oe property

public static ButtonShader,FC3Editor.UI pushShader
return ButtonShader

shadersInit public_oe static_oe property

public static bool shadersInit
return bool