C# Class OOGL.GUI.Widgets.ScrollBar

Inheritance: BaseControl
Show file Open project: tpb3d/TPB3D

Protected Properties

Property Type Description
buttonSize int
dragging bool
largeChange int
maxValue int
minValue int
screenRectDecreaseValueButton Rectangle
screenRectIncreaseValueButton Rectangle
screenRectScrollRange Rectangle
screenRectValueButton Rectangle
smallChange int
value int

Public Methods

Method Description
OnMouseDown ( object sender, MouseButtonEventArgs e ) : bool
ScrollBar ( BaseFrameMgr frameMgr, BaseControl parent ) : System

Protected Methods

Method Description
OnValueChanged ( ) : void

Method Details

OnMouseDown() public method

public OnMouseDown ( object sender, MouseButtonEventArgs e ) : bool
sender object
e OpenTK.Input.MouseButtonEventArgs
return bool

OnValueChanged() protected method

protected OnValueChanged ( ) : void
return void

ScrollBar() public method

public ScrollBar ( BaseFrameMgr frameMgr, BaseControl parent ) : System
frameMgr OOGL.GUI.Abstract.BaseFrameMgr
parent BaseControl
return System

Property Details

buttonSize protected property

protected int buttonSize
return int

dragging protected property

protected bool dragging
return bool

largeChange protected property

protected int largeChange
return int

maxValue protected property

protected int maxValue
return int

minValue protected property

protected int minValue
return int

screenRectDecreaseValueButton protected property

protected Rectangle screenRectDecreaseValueButton
return Rectangle

screenRectIncreaseValueButton protected property

protected Rectangle screenRectIncreaseValueButton
return Rectangle

screenRectScrollRange protected property

protected Rectangle screenRectScrollRange
return Rectangle

screenRectValueButton protected property

protected Rectangle screenRectValueButton
return Rectangle

smallChange protected property

protected int smallChange
return int

value protected property

protected int value
return int