C# Class OOGL.GUI.Widgets.ScrollBar

Inheritance: BaseControl
显示文件 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_oe property

protected int buttonSize
return int

dragging protected_oe property

protected bool dragging
return bool

largeChange protected_oe property

protected int largeChange
return int

maxValue protected_oe property

protected int maxValue
return int

minValue protected_oe property

protected int minValue
return int

screenRectDecreaseValueButton protected_oe property

protected Rectangle screenRectDecreaseValueButton
return Rectangle

screenRectIncreaseValueButton protected_oe property

protected Rectangle screenRectIncreaseValueButton
return Rectangle

screenRectScrollRange protected_oe property

protected Rectangle screenRectScrollRange
return Rectangle

screenRectValueButton protected_oe property

protected Rectangle screenRectValueButton
return Rectangle

smallChange protected_oe property

protected int smallChange
return int

value protected_oe property

protected int value
return int