C# 클래스 Beyond_Beyaan.BBStretchButton

파일 보기 프로젝트 열기: Beyonders/Beyond-Beyaan 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_alignment ButtonTextAlignment
_backgroundImage BBStretchableImage
_direction bool
_doubleClicked bool
_foregroundImage BBStretchableImage
_height int
_label BBLabel
_pressed bool
_pulse float
_timeSinceClick float
_width int
_xPos int
_yPos int

공개 메소드들

메소드 설명
Draw ( ) : void
DrawToolTip ( ) : void
Initialize ( string buttonText, ButtonTextAlignment alignment, StretchableImageType background, StretchableImageType foreground, int xPos, int yPos, int width, int height, Random r, string &reason ) : bool
MouseDown ( int x, int y ) : bool
MouseHover ( int x, int y, float frameDeltaTime ) : bool
MouseUp ( int x, int y ) : bool
MoveTo ( int x, int y ) : void
Reset ( ) : void
ResizeButton ( int width, int height ) : void
SetText ( string text ) : void
SetTextColor ( Color color, Color outline ) : void
SetToolTip ( string name, string text, int screenWidth, int screenHeight, Random r, string &reason ) : bool
SetToolTipText ( string text ) : void

메소드 상세

Draw() 공개 메소드

public Draw ( ) : void
리턴 void

DrawToolTip() 공개 메소드

public DrawToolTip ( ) : void
리턴 void

Initialize() 공개 메소드

public Initialize ( string buttonText, ButtonTextAlignment alignment, StretchableImageType background, StretchableImageType foreground, int xPos, int yPos, int width, int height, Random r, string &reason ) : bool
buttonText string
alignment ButtonTextAlignment
background StretchableImageType
foreground StretchableImageType
xPos int
yPos int
width int
height int
r System.Random
reason string
리턴 bool

MouseDown() 공개 메소드

public MouseDown ( int x, int y ) : bool
x int
y int
리턴 bool

MouseHover() 공개 메소드

public MouseHover ( int x, int y, float frameDeltaTime ) : bool
x int
y int
frameDeltaTime float
리턴 bool

MouseUp() 공개 메소드

public MouseUp ( int x, int y ) : bool
x int
y int
리턴 bool

MoveTo() 공개 메소드

public MoveTo ( int x, int y ) : void
x int
y int
리턴 void

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

ResizeButton() 공개 메소드

public ResizeButton ( int width, int height ) : void
width int
height int
리턴 void

SetText() 공개 메소드

public SetText ( string text ) : void
text string
리턴 void

SetTextColor() 공개 메소드

public SetTextColor ( Color color, Color outline ) : void
color Color
outline Color
리턴 void

SetToolTip() 공개 메소드

public SetToolTip ( string name, string text, int screenWidth, int screenHeight, Random r, string &reason ) : bool
name string
text string
screenWidth int
screenHeight int
r System.Random
reason string
리턴 bool

SetToolTipText() 공개 메소드

public SetToolTipText ( string text ) : void
text string
리턴 void

프로퍼티 상세

_alignment 보호되어 있는 프로퍼티

protected ButtonTextAlignment _alignment
리턴 ButtonTextAlignment

_backgroundImage 보호되어 있는 프로퍼티

protected BBStretchableImage,Beyond_Beyaan _backgroundImage
리턴 BBStretchableImage

_direction 보호되어 있는 프로퍼티

protected bool _direction
리턴 bool

_doubleClicked 보호되어 있는 프로퍼티

protected bool _doubleClicked
리턴 bool

_foregroundImage 보호되어 있는 프로퍼티

protected BBStretchableImage,Beyond_Beyaan _foregroundImage
리턴 BBStretchableImage

_height 보호되어 있는 프로퍼티

protected int _height
리턴 int

_label 보호되어 있는 프로퍼티

protected BBLabel,Beyond_Beyaan _label
리턴 BBLabel

_pressed 보호되어 있는 프로퍼티

protected bool _pressed
리턴 bool

_pulse 보호되어 있는 프로퍼티

protected float _pulse
리턴 float

_timeSinceClick 보호되어 있는 프로퍼티

protected float _timeSinceClick
리턴 float

_width 보호되어 있는 프로퍼티

protected int _width
리턴 int

_xPos 보호되어 있는 프로퍼티

protected int _xPos
리턴 int

_yPos 보호되어 있는 프로퍼티

protected int _yPos
리턴 int