C# 클래스 OpenRA.Mods.Common.Widgets.ButtonWidget

상속: OpenRA.Widgets.Widget
파일 보기 프로젝트 열기: pchote/OpenRA 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Background string
BaseLine int
Contrast bool
ContrastColorDark Color
ContrastColorLight Color
Depressed bool
Disabled bool
Font string
GetColor Func
GetColorDisabled Func
GetContrastColorDark Func
GetContrastColorLight Func
GetKey Hotkey>.Func
GetText Func
GetTooltipText Func
Highlighted bool
IsDisabled Func
IsHighlighted Func
OnClick System.Action
OnDoubleClick System.Action
OnKeyPress Action
OnMouseDown Action
OnMouseUp Action
Shadow bool
TextColor Color
TextColorDisabled Color
TooltipContainer string
TooltipTemplate string
VisualHeight int

보호된 프로퍼티들

프로퍼티 타입 설명
ModRules Ruleset

공개 메소드들

메소드 설명
Clone ( ) : OpenRA.Widgets.Widget
Draw ( ) : void
DrawBackground ( Rectangle rect, bool disabled, bool pressed, bool hover, bool highlighted ) : void
DrawBackground ( string baseName, Rectangle rect, bool disabled, bool pressed, bool hover, bool highlighted ) : void
HandleKeyPress ( KeyInput e ) : bool
HandleMouseInput ( MouseInput mi ) : bool
MouseEntered ( ) : void
MouseExited ( ) : void
YieldMouseFocus ( MouseInput mi ) : bool

보호된 메소드들

메소드 설명
ButtonWidget ( ButtonWidget other ) : System

비공개 메소드들

메소드 설명
ButtonWidget ( ModData modData ) : System

메소드 상세

ButtonWidget() 보호된 메소드

protected ButtonWidget ( ButtonWidget other ) : System
other ButtonWidget
리턴 System

Clone() 공개 메소드

public Clone ( ) : OpenRA.Widgets.Widget
리턴 OpenRA.Widgets.Widget

Draw() 공개 메소드

public Draw ( ) : void
리턴 void

DrawBackground() 공개 메소드

public DrawBackground ( Rectangle rect, bool disabled, bool pressed, bool hover, bool highlighted ) : void
rect System.Drawing.Rectangle
disabled bool
pressed bool
hover bool
highlighted bool
리턴 void

DrawBackground() 공개 정적인 메소드

public static DrawBackground ( string baseName, Rectangle rect, bool disabled, bool pressed, bool hover, bool highlighted ) : void
baseName string
rect System.Drawing.Rectangle
disabled bool
pressed bool
hover bool
highlighted bool
리턴 void

HandleKeyPress() 공개 메소드

public HandleKeyPress ( KeyInput e ) : bool
e KeyInput
리턴 bool

HandleMouseInput() 공개 메소드

public HandleMouseInput ( MouseInput mi ) : bool
mi MouseInput
리턴 bool

MouseEntered() 공개 메소드

public MouseEntered ( ) : void
리턴 void

MouseExited() 공개 메소드

public MouseExited ( ) : void
리턴 void

YieldMouseFocus() 공개 메소드

public YieldMouseFocus ( MouseInput mi ) : bool
mi MouseInput
리턴 bool

프로퍼티 상세

Background 공개적으로 프로퍼티

public string Background
리턴 string

BaseLine 공개적으로 프로퍼티

public int BaseLine
리턴 int

Contrast 공개적으로 프로퍼티

public bool Contrast
리턴 bool

ContrastColorDark 공개적으로 프로퍼티

public Color ContrastColorDark
리턴 Color

ContrastColorLight 공개적으로 프로퍼티

public Color ContrastColorLight
리턴 Color

Depressed 공개적으로 프로퍼티

public bool Depressed
리턴 bool

Disabled 공개적으로 프로퍼티

public bool Disabled
리턴 bool

Font 공개적으로 프로퍼티

public string Font
리턴 string

GetColor 공개적으로 프로퍼티

public Func GetColor
리턴 Func

GetColorDisabled 공개적으로 프로퍼티

public Func GetColorDisabled
리턴 Func

GetContrastColorDark 공개적으로 프로퍼티

public Func GetContrastColorDark
리턴 Func

GetContrastColorLight 공개적으로 프로퍼티

public Func GetContrastColorLight
리턴 Func

GetKey 공개적으로 프로퍼티

public Func GetKey
리턴 Hotkey>.Func

GetText 공개적으로 프로퍼티

public Func GetText
리턴 Func

GetTooltipText 공개적으로 프로퍼티

public Func GetTooltipText
리턴 Func

Highlighted 공개적으로 프로퍼티

public bool Highlighted
리턴 bool

IsDisabled 공개적으로 프로퍼티

public Func IsDisabled
리턴 Func

IsHighlighted 공개적으로 프로퍼티

public Func IsHighlighted
리턴 Func

ModRules 보호되어 있는 프로퍼티

protected Ruleset ModRules
리턴 Ruleset

OnClick 공개적으로 프로퍼티

public Action,System OnClick
리턴 System.Action

OnDoubleClick 공개적으로 프로퍼티

public Action,System OnDoubleClick
리턴 System.Action

OnKeyPress 공개적으로 프로퍼티

public Action OnKeyPress
리턴 Action

OnMouseDown 공개적으로 프로퍼티

public Action OnMouseDown
리턴 Action

OnMouseUp 공개적으로 프로퍼티

public Action OnMouseUp
리턴 Action

Shadow 공개적으로 프로퍼티

public bool Shadow
리턴 bool

TextColor 공개적으로 프로퍼티

public Color TextColor
리턴 Color

TextColorDisabled 공개적으로 프로퍼티

public Color TextColorDisabled
리턴 Color

TooltipContainer 공개적으로 프로퍼티

public string TooltipContainer
리턴 string

TooltipTemplate 공개적으로 프로퍼티

public string TooltipTemplate
리턴 string

VisualHeight 공개적으로 프로퍼티

public int VisualHeight
리턴 int