C# 클래스 BlisterUI.Widgets.RectButton

상속: RectWidget
파일 보기 프로젝트 열기: RegrowthStudios/VoxelRTS 1 사용 예제들

공개 메소드들

메소드 설명
Hook ( ) : void
OnMouseMotion ( Vector2 p, Vector2 d ) : void
OnMousePress ( Vector2 p, MouseButton b ) : void
RectButton ( WidgetRenderer r, ButtonHighlightOptions inactive, ButtonHighlightOptions active, Microsoft.Xna.Framework.Graphics.Texture2D t = null ) : System
RectButton ( WidgetRenderer r, int w, int h, Color cInactive, Color cActive, Microsoft.Xna.Framework.Graphics.Texture2D t = null ) : System
SetActive ( bool b, Vector2 m ) : void
Unhook ( ) : void

보호된 메소드들

메소드 설명
DisposeOther ( ) : void

메소드 상세

DisposeOther() 보호된 메소드

protected DisposeOther ( ) : void
리턴 void

Hook() 공개 메소드

public Hook ( ) : void
리턴 void

OnMouseMotion() 공개 메소드

public OnMouseMotion ( Vector2 p, Vector2 d ) : void
p Vector2
d Vector2
리턴 void

OnMousePress() 공개 메소드

public OnMousePress ( Vector2 p, MouseButton b ) : void
p Vector2
b MouseButton
리턴 void

RectButton() 공개 메소드

public RectButton ( WidgetRenderer r, ButtonHighlightOptions inactive, ButtonHighlightOptions active, Microsoft.Xna.Framework.Graphics.Texture2D t = null ) : System
r WidgetRenderer
inactive ButtonHighlightOptions
active ButtonHighlightOptions
t Microsoft.Xna.Framework.Graphics.Texture2D
리턴 System

RectButton() 공개 메소드

public RectButton ( WidgetRenderer r, int w, int h, Color cInactive, Color cActive, Microsoft.Xna.Framework.Graphics.Texture2D t = null ) : System
r WidgetRenderer
w int
h int
cInactive Color
cActive Color
t Microsoft.Xna.Framework.Graphics.Texture2D
리턴 System

SetActive() 공개 메소드

public SetActive ( bool b, Vector2 m ) : void
b bool
m Vector2
리턴 void

Unhook() 공개 메소드

public Unhook ( ) : void
리턴 void