C# 클래스 OpenTkEngine.Core.Gui.Control

파일 보기 프로젝트 열기: jikoriko/OpentkEngine 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_backgroundColor Color4
_body Rectangle
_borderColor Color4
_borderRadius int
_borderThickness int
_parent Panel
_pressed bool
_state State
_texture Texture
_zDepth int

공개 메소드들

메소드 설명
Control ( int x, int y, int z, int width, int height, State state ) : System
Disable ( ) : void
Enable ( ) : void
GetBodyRect ( ) : Rectangle
GetContentRect ( ) : Rectangle
GetHeight ( ) : int
GetMargin ( ) : int
GetParent ( ) : Panel
GetRelativeX ( ) : int
GetRelativeY ( ) : int
GetWidth ( ) : int
IsDisabled ( ) : bool
IsTriggered ( ) : bool
OnRelease ( ) : void
OnTrigger ( ) : void
Render ( ) : void
RenderContent ( ) : void
Resize ( int width, int height ) : void
Selectable ( ) : bool
SetBackgroundColor ( Color4 color ) : void
SetBorderRadius ( int radius ) : void
SetParent ( Panel parent ) : void
Update ( ) : void

비공개 메소드들

메소드 설명
Bottom ( ) : int
Right ( ) : int

메소드 상세

Control() 공개 메소드

public Control ( int x, int y, int z, int width, int height, State state ) : System
x int
y int
z int
width int
height int
state State
리턴 System

Disable() 공개 메소드

public Disable ( ) : void
리턴 void

Enable() 공개 메소드

public Enable ( ) : void
리턴 void

GetBodyRect() 공개 메소드

public GetBodyRect ( ) : Rectangle
리턴 Rectangle

GetContentRect() 공개 메소드

public GetContentRect ( ) : Rectangle
리턴 Rectangle

GetHeight() 공개 메소드

public GetHeight ( ) : int
리턴 int

GetMargin() 공개 메소드

public GetMargin ( ) : int
리턴 int

GetParent() 공개 메소드

public GetParent ( ) : Panel
리턴 Panel

GetRelativeX() 공개 메소드

public GetRelativeX ( ) : int
리턴 int

GetRelativeY() 공개 메소드

public GetRelativeY ( ) : int
리턴 int

GetWidth() 공개 메소드

public GetWidth ( ) : int
리턴 int

IsDisabled() 공개 메소드

public IsDisabled ( ) : bool
리턴 bool

IsTriggered() 공개 메소드

public IsTriggered ( ) : bool
리턴 bool

OnRelease() 공개 메소드

public OnRelease ( ) : void
리턴 void

OnTrigger() 공개 메소드

public OnTrigger ( ) : void
리턴 void

Render() 공개 메소드

public Render ( ) : void
리턴 void

RenderContent() 공개 메소드

public RenderContent ( ) : void
리턴 void

Resize() 공개 메소드

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

Selectable() 공개 메소드

public Selectable ( ) : bool
리턴 bool

SetBackgroundColor() 공개 메소드

public SetBackgroundColor ( Color4 color ) : void
color Color4
리턴 void

SetBorderRadius() 공개 메소드

public SetBorderRadius ( int radius ) : void
radius int
리턴 void

SetParent() 공개 메소드

public SetParent ( Panel parent ) : void
parent Panel
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

_backgroundColor 보호되어 있는 프로퍼티

protected Color4 _backgroundColor
리턴 Color4

_body 보호되어 있는 프로퍼티

protected Rectangle _body
리턴 Rectangle

_borderColor 보호되어 있는 프로퍼티

protected Color4 _borderColor
리턴 Color4

_borderRadius 보호되어 있는 프로퍼티

protected int _borderRadius
리턴 int

_borderThickness 보호되어 있는 프로퍼티

protected int _borderThickness
리턴 int

_parent 보호되어 있는 프로퍼티

protected Panel,OpenTkEngine.Core.Gui _parent
리턴 Panel

_pressed 보호되어 있는 프로퍼티

protected bool _pressed
리턴 bool

_state 보호되어 있는 프로퍼티

protected State _state
리턴 State

_texture 보호되어 있는 프로퍼티

protected Texture _texture
리턴 Texture

_zDepth 보호되어 있는 프로퍼티

protected int _zDepth
리턴 int