Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ScrollBarComponent Class Reference
Inheritance diagram for SCR_ScrollBarComponent:
SCR_WLibComponentBase

Protected Member Functions

override void HandlerAttached (Widget w)
void DragHandler ()
void SetupScrollbarProperties ()
 Setup base position and size properties.
void SetupHandlerFill (float fillAmount)
 Set amount of handler fill in percent.
void SetupPosition (float fillAmount, float pos)
 Setup fill of top and boom fillers by handler fill amount and current scroll position.
void MoveHandlerPos (float pos)
float GetHandlerPosition ()

Protected Attributes

string WIDGET_BACKGROUND = "Background"
string WIDGET_HANDLER = "Handler"
string WIDGET_FILLER_TOP = "FillerTop"
string WIDGET_FILLER_BOTTOM = "FillerBottom"
Widget m_wBackground
Widget m_wHandler
Widget m_wFillerTop
Widget m_wFillerBottom
bool m_IsClicked = false
int mouseX
int mouseY = 0
float m_fRootPosY
float m_fRootSizeY
float m_fHandlerAmount = 1
float m_fHandlerPositon = 0
ref SCR_ScrollBarHandleComponent m_Handle
ref ScriptInvoker m_OnScroll = new ScriptInvoker

Detailed Description

Scripte WLib scroll bar Can be controlled indivualy and be used for multiple purporse

Definition at line 5 of file SCR_ScrollBarComponent.c.

Member Function Documentation

◆ DragHandler()

void SCR_ScrollBarComponent::DragHandler ( )
inlineprotected

Definition at line 64 of file SCR_ScrollBarComponent.c.

◆ GetHandlerPosition()

float SCR_ScrollBarComponent::GetHandlerPosition ( )
inlineprotected

Definition at line 206 of file SCR_ScrollBarComponent.c.

◆ HandlerAttached()

override void SCR_ScrollBarComponent::HandlerAttached ( Widget w)
inlineprotected

Definition at line 39 of file SCR_ScrollBarComponent.c.

◆ MoveHandlerPos()

void SCR_ScrollBarComponent::MoveHandlerPos ( float pos)
inlineprotected

Definition at line 199 of file SCR_ScrollBarComponent.c.

◆ SetupHandlerFill()

void SCR_ScrollBarComponent::SetupHandlerFill ( float fillAmount)
inlineprotected

Set amount of handler fill in percent.

Definition at line 110 of file SCR_ScrollBarComponent.c.

◆ SetupPosition()

void SCR_ScrollBarComponent::SetupPosition ( float fillAmount,
float pos )
inlineprotected

Setup fill of top and boom fillers by handler fill amount and current scroll position.

Definition at line 134 of file SCR_ScrollBarComponent.c.

◆ SetupScrollbarProperties()

void SCR_ScrollBarComponent::SetupScrollbarProperties ( )
inlineprotected

Setup base position and size properties.

Definition at line 96 of file SCR_ScrollBarComponent.c.

Member Data Documentation

◆ m_fHandlerAmount

float SCR_ScrollBarComponent::m_fHandlerAmount = 1
protected

Definition at line 27 of file SCR_ScrollBarComponent.c.

◆ m_fHandlerPositon

float SCR_ScrollBarComponent::m_fHandlerPositon = 0
protected

Definition at line 28 of file SCR_ScrollBarComponent.c.

◆ m_fRootPosY

float SCR_ScrollBarComponent::m_fRootPosY
protected

Definition at line 23 of file SCR_ScrollBarComponent.c.

◆ m_fRootSizeY

float SCR_ScrollBarComponent::m_fRootSizeY
protected

Definition at line 24 of file SCR_ScrollBarComponent.c.

◆ m_Handle

ref SCR_ScrollBarHandleComponent SCR_ScrollBarComponent::m_Handle
protected

Definition at line 30 of file SCR_ScrollBarComponent.c.

◆ m_IsClicked

bool SCR_ScrollBarComponent::m_IsClicked = false
protected

Definition at line 17 of file SCR_ScrollBarComponent.c.

◆ m_OnScroll

ref ScriptInvoker SCR_ScrollBarComponent::m_OnScroll = new ScriptInvoker
protected

Definition at line 32 of file SCR_ScrollBarComponent.c.

◆ m_wBackground

Widget SCR_ScrollBarComponent::m_wBackground
protected

Definition at line 12 of file SCR_ScrollBarComponent.c.

◆ m_wFillerBottom

Widget SCR_ScrollBarComponent::m_wFillerBottom
protected

Definition at line 15 of file SCR_ScrollBarComponent.c.

◆ m_wFillerTop

Widget SCR_ScrollBarComponent::m_wFillerTop
protected

Definition at line 14 of file SCR_ScrollBarComponent.c.

◆ m_wHandler

Widget SCR_ScrollBarComponent::m_wHandler
protected

Definition at line 13 of file SCR_ScrollBarComponent.c.

◆ mouseX

int SCR_ScrollBarComponent::mouseX
protected

Definition at line 18 of file SCR_ScrollBarComponent.c.

◆ mouseY

int SCR_ScrollBarComponent::mouseY = 0
protected

Definition at line 18 of file SCR_ScrollBarComponent.c.

◆ WIDGET_BACKGROUND

string SCR_ScrollBarComponent::WIDGET_BACKGROUND = "Background"
protected

Definition at line 7 of file SCR_ScrollBarComponent.c.

◆ WIDGET_FILLER_BOTTOM

string SCR_ScrollBarComponent::WIDGET_FILLER_BOTTOM = "FillerBottom"
protected

Definition at line 10 of file SCR_ScrollBarComponent.c.

◆ WIDGET_FILLER_TOP

string SCR_ScrollBarComponent::WIDGET_FILLER_TOP = "FillerTop"
protected

Definition at line 9 of file SCR_ScrollBarComponent.c.

◆ WIDGET_HANDLER

string SCR_ScrollBarComponent::WIDGET_HANDLER = "Handler"
protected

Definition at line 8 of file SCR_ScrollBarComponent.c.


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