impulseSlider
Like that Super Mario 64 secret!
Functions
impulseSlider:GetDecimals()
View source »Returns the number of decimals to round to.
Returns
-
int
Number of decimals to round to
impulseSlider:GetMax()
View source »Returns the maximum value of the slider.
Returns
-
int
Maximum value of the slider
impulseSlider:GetMin()
View source »Returns the minimum value of the slider.
Returns
-
int
Minimum value of the slider
impulseSlider:GetValue()
View source »Returns the value of the slider.
Returns
-
int
Value of the slider
impulseSlider:Init()
This is an internal function! You are able to use it, but you risk unintended side effects if used incorrectly.
Called when the panel is initialized.
impulseSlider:OnValueChanged(value)
View source »Called when the slider value is changed.
Parameters
-
value
int
New value of the slider
impulseSlider:Paint(w, h)
This is an internal function! You are able to use it, but you risk unintended side effects if used incorrectly.
Called every frame to draw the panel.
Parameters
-
w
int
Width of the panel
-
h
int
Height of the panel
impulseSlider:PaintBackground(w, h)
This is an internal function! You are able to use it, but you risk unintended side effects if used incorrectly.
Called every frame to draw the panel's background.
Parameters
-
w
int
Width of the panel
-
h
int
Height of the panel
impulseSlider:PaintSlider(w, h)
This is an internal function! You are able to use it, but you risk unintended side effects if used incorrectly.
Called every frame to draw the slider.
Parameters
-
w
int
Width of the panel
-
h
int
Height of the panel
impulseSlider:SetDecimals(v)
View source »Sets the number of decimals to round to.
Parameters
-
v
int
Number of decimals to round to
impulseSlider:SetMax(v)
View source »Sets the maximum value of the slider.
Parameters
-
v
int
New maximum value of the slider
impulseSlider:SetMin(v)
View source »Sets the minimum value of the slider.
Parameters
-
v
int
New minimum value of the slider
impulseSlider:SetValue(v)
View source »Sets the value of the slider.
Parameters
-
v
int
New value of the slider
impulseSlider:Think()
This is an internal function! You are able to use it, but you risk unintended side effects if used incorrectly.
Called every think time.