C# Class Flood.GUI.Controls.TabButton

Tab header.
Inheritance: Button
Mostra file Open project: FloodProject/flood Class Usage Examples

Public Methods

Method Description
DragAndDrop_EndDragging ( bool success, int x, int y ) : void
DragAndDrop_ShouldStartDrag ( ) : bool
DragAndDrop_StartDragging ( DragDrop package, int x, int y ) : void
TabButton ( Control parent ) : Flood.GUI.Input

Initializes a new instance of the TabButton class.

UpdateColors ( ) : void

Updates control colors.

Protected Methods

Method Description
OnKeyDown ( bool down ) : bool

Handler for Down Arrow keyboard event.

OnKeyLeft ( bool down ) : bool

Handler for Left Arrow keyboard event.

OnKeyRight ( bool down ) : bool

Handler for Right Arrow keyboard event.

OnKeyUp ( bool down ) : bool

Handler for Up Arrow keyboard event.

Render ( Skins skin ) : void

Renders the control using specified skin.

Method Details

DragAndDrop_EndDragging() public method

public DragAndDrop_EndDragging ( bool success, int x, int y ) : void
success bool
x int
y int
return void

DragAndDrop_ShouldStartDrag() public method

public DragAndDrop_ShouldStartDrag ( ) : bool
return bool

DragAndDrop_StartDragging() public method

public DragAndDrop_StartDragging ( DragDrop package, int x, int y ) : void
package DragDrop
x int
y int
return void

OnKeyDown() protected method

Handler for Down Arrow keyboard event.
protected OnKeyDown ( bool down ) : bool
down bool Indicates whether the key was pressed or released.
return bool

OnKeyLeft() protected method

Handler for Left Arrow keyboard event.
protected OnKeyLeft ( bool down ) : bool
down bool Indicates whether the key was pressed or released.
return bool

OnKeyRight() protected method

Handler for Right Arrow keyboard event.
protected OnKeyRight ( bool down ) : bool
down bool Indicates whether the key was pressed or released.
return bool

OnKeyUp() protected method

Handler for Up Arrow keyboard event.
protected OnKeyUp ( bool down ) : bool
down bool Indicates whether the key was pressed or released.
return bool

Render() protected method

Renders the control using specified skin.
protected Render ( Skins skin ) : void
skin Skins Skin to use.
return void

TabButton() public method

Initializes a new instance of the TabButton class.
public TabButton ( Control parent ) : Flood.GUI.Input
parent Control Parent control.
return Flood.GUI.Input

UpdateColors() public method

Updates control colors.
public UpdateColors ( ) : void
return void