C# Class PGMEBackend.GLControls.GLBlockChooser

Show file Open project: Diegoisawesome/AwesomeMapEditor-old

Public Properties

Property Type Description
editorSelectHeight int
editorSelectWidth int
endMouseX int
endMouseY int
height int
mouseX int
mouseY int
rectDefaultColor Color
rectPaintColor Color
rectSelectColor Color
selectArray short[]
selectHeight int
selectWidth int
selectX int
selectY int
tool MapEditorTools
width int

Public Methods

Method Description
GLBlockChooser ( int w, int h ) : System
MouseDown ( MapEditorTools Tool ) : void
MouseLeave ( ) : void
MouseMove ( int x, int y ) : void
MouseUp ( MapEditorTools Tool ) : void
Paint ( int w, int h ) : void
SelectBlock ( int blockNum ) : void

Private Methods

Method Description
Render ( ) : void
SetupViewport ( ) : void

Method Details

GLBlockChooser() public method

public GLBlockChooser ( int w, int h ) : System
w int
h int
return System

MouseDown() public method

public MouseDown ( MapEditorTools Tool ) : void
Tool MapEditorTools
return void

MouseLeave() public method

public MouseLeave ( ) : void
return void

MouseMove() public method

public MouseMove ( int x, int y ) : void
x int
y int
return void

MouseUp() public method

public MouseUp ( MapEditorTools Tool ) : void
Tool MapEditorTools
return void

Paint() public method

public Paint ( int w, int h ) : void
w int
h int
return void

SelectBlock() public method

public SelectBlock ( int blockNum ) : void
blockNum int
return void

Property Details

editorSelectHeight public property

public int editorSelectHeight
return int

editorSelectWidth public property

public int editorSelectWidth
return int

endMouseX public property

public int endMouseX
return int

endMouseY public property

public int endMouseY
return int

height public property

public int height
return int

mouseX public property

public int mouseX
return int

mouseY public property

public int mouseY
return int

rectDefaultColor public property

public Color rectDefaultColor
return Color

rectPaintColor public property

public Color rectPaintColor
return Color

rectSelectColor public property

public Color rectSelectColor
return Color

selectArray public property

public short[] selectArray
return short[]

selectHeight public property

public int selectHeight
return int

selectWidth public property

public int selectWidth
return int

selectX public property

public int selectX
return int

selectY public property

public int selectY
return int

tool public property

public MapEditorTools tool
return MapEditorTools

width public property

public int width
return int