Pathfinder  v3.0
The definitive Hacknet programmable modding system
Pathfinder.GUI.Scrollbar Class Reference
+ Inheritance diagram for Pathfinder.GUI.Scrollbar:

Public Member Functions

 Scrollbar (Rectangle shape, int contentSize, float scroll=0, bool vertical=true)
 
 Scrollbar (Point position, Point size, int contentSize, float scroll=0, bool vertical=true)
 
 Scrollbar (int x, int y, int width, int height, int contentSize, float scroll=0, bool vertical=true)
 
override void DoDraw ()
 
- Public Member Functions inherited from Pathfinder.GUI.BaseScrollbar
virtual float DrawScroll ()
 
- Public Member Functions inherited from Pathfinder.GUI.BaseInteractiveRectangle< int >
override bool HandleInteraction ()
 
virtual bool Draw ()
 

Properties

bool DrawUnderBar [get, set]
 
DynamicRectangle Draggable [get, set]
 
- Properties inherited from Pathfinder.GUI.BaseScrollbar
int ContentSize [get, set]
 
float CurrentScroll [get, set]
 
bool Vertical [get, set]
 
- Properties inherited from Pathfinder.GUI.BaseInteractiveRectangle< int >
Action< BaseInteractiveRectangle< T > > DrawFinish [get, set]
 

Additional Inherited Members

- Protected Member Functions inherited from Pathfinder.GUI.BaseScrollbar
 BaseScrollbar (int x, int y, int width, int height, int contentSize, float scroll, bool vertical)
 
- Protected Member Functions inherited from Pathfinder.GUI.BaseInteractiveRectangle< int >
 BaseInteractiveRectangle (T x, T y, T width, T height)
 

Constructor & Destructor Documentation

◆ Scrollbar() [1/3]

Pathfinder.GUI.Scrollbar.Scrollbar ( Rectangle  shape,
int  contentSize,
float  scroll = 0,
bool  vertical = true 
)

◆ Scrollbar() [2/3]

Pathfinder.GUI.Scrollbar.Scrollbar ( Point  position,
Point  size,
int  contentSize,
float  scroll = 0,
bool  vertical = true 
)

◆ Scrollbar() [3/3]

Pathfinder.GUI.Scrollbar.Scrollbar ( int  x,
int  y,
int  width,
int  height,
int  contentSize,
float  scroll = 0,
bool  vertical = true 
)

Member Function Documentation

◆ DoDraw()

override void Pathfinder.GUI.Scrollbar.DoDraw ( )
virtual

Property Documentation

◆ Draggable

DynamicRectangle Pathfinder.GUI.Scrollbar.Draggable
getsetprotected

◆ DrawUnderBar

bool Pathfinder.GUI.Scrollbar.DrawUnderBar
getset

The documentation for this class was generated from the following file: