C# Class OpenTkEngine.Core.Gui.VerticalScrollBar

Inheritance: Control
Exibir arquivo Open project: jikoriko/OpentkEngine Class Usage Examples

Protected Properties

Property Type Description
_grabbed bool
_scrollParent ScrollPanel
_scrollableAmount int
_slider Rectangle

Public Methods

Method Description
GetRelativeY ( ) : int
GetScrollAmount ( ) : int
GetSliderHeight ( ) : int
RenderContent ( ) : void
Resize ( int width, int height ) : void
SetScrollAmount ( int amount ) : void
Update ( ) : void
VerticalScrollBar ( ScrollPanel parent, int scrollAmount, State state ) : System

Private Methods

Method Description
IsScrollable ( ) : bool

Method Details

GetRelativeY() public method

public GetRelativeY ( ) : int
return int

GetScrollAmount() public method

public GetScrollAmount ( ) : int
return int

GetSliderHeight() public method

public GetSliderHeight ( ) : int
return int

RenderContent() public method

public RenderContent ( ) : void
return void

Resize() public method

public Resize ( int width, int height ) : void
width int
height int
return void

SetScrollAmount() public method

public SetScrollAmount ( int amount ) : void
amount int
return void

Update() public method

public Update ( ) : void
return void

VerticalScrollBar() public method

public VerticalScrollBar ( ScrollPanel parent, int scrollAmount, State state ) : System
parent ScrollPanel
scrollAmount int
state State
return System

Property Details

_grabbed protected_oe property

protected bool _grabbed
return bool

_scrollParent protected_oe property

protected ScrollPanel,OpenTkEngine.Core.Gui _scrollParent
return ScrollPanel

_scrollableAmount protected_oe property

protected int _scrollableAmount
return int

_slider protected_oe property

protected Rectangle _slider
return Rectangle