C# 클래스 Gruppe22.Client.Grid

상속: UIElement
파일 보기 프로젝트 열기: propra13-orga/gruppe22

보호된 프로퍼티들

프로퍼티 타입 설명
_arrows Microsoft.Xna.Framework.Graphics.Texture2D
_background Microsoft.Xna.Framework.Graphics.Texture2D
_cols int
_font Microsoft.Xna.Framework.Graphics.SpriteFont
_height int
_icons List
_page int
_rows int
_selected int
_totalPages int
_width int

공개 메소드들

메소드 설명
DisplayToolTip ( int icon, int x, int y ) : void

Append a new line of text to the status box; word wrap if necessary

Draw ( GameTime gameTime ) : void

Grid ( Backend parent, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Content.ContentManager content, Rectangle displayRect ) : System

OnMouseDown ( int button ) : bool
Pos2Tile ( int x, int y ) : int

비공개 메소드들

메소드 설명
_CalcPages ( ) : void

메소드 상세

DisplayToolTip() 공개 메소드

Append a new line of text to the status box; word wrap if necessary
public DisplayToolTip ( int icon, int x, int y ) : void
icon int
x int
y int
리턴 void

Draw() 공개 메소드

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

Grid() 공개 메소드

public Grid ( Backend parent, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Content.ContentManager content, Rectangle displayRect ) : System
parent Backend
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
content Microsoft.Xna.Framework.Content.ContentManager
displayRect Microsoft.Xna.Framework.Rectangle
리턴 System

OnMouseDown() 공개 메소드

public OnMouseDown ( int button ) : bool
button int
리턴 bool

Pos2Tile() 공개 메소드

public Pos2Tile ( int x, int y ) : int
x int
y int
리턴 int

프로퍼티 상세

_arrows 보호되어 있는 프로퍼티

protected Texture2D,Microsoft.Xna.Framework.Graphics _arrows
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

_background 보호되어 있는 프로퍼티

protected Texture2D,Microsoft.Xna.Framework.Graphics _background
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

_cols 보호되어 있는 프로퍼티

protected int _cols
리턴 int

_font 보호되어 있는 프로퍼티

protected SpriteFont,Microsoft.Xna.Framework.Graphics _font
리턴 Microsoft.Xna.Framework.Graphics.SpriteFont

_height 보호되어 있는 프로퍼티

protected int _height
리턴 int

_icons 보호되어 있는 프로퍼티

protected List _icons
리턴 List

_page 보호되어 있는 프로퍼티

protected int _page
리턴 int

_rows 보호되어 있는 프로퍼티

protected int _rows
리턴 int

_selected 보호되어 있는 프로퍼티

protected int _selected
리턴 int

_totalPages 보호되어 있는 프로퍼티

protected int _totalPages
리턴 int

_width 보호되어 있는 프로퍼티

protected int _width
리턴 int