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()

Internal

This is an internal function! You are able to use it, but you risk unintended side effects if used incorrectly.

View source »

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)

Internal

This is an internal function! You are able to use it, but you risk unintended side effects if used incorrectly.

View source »

Called every frame to draw the panel.

Parameters

  • w int

    Width of the panel

  • h int

    Height of the panel

impulseSlider:PaintBackground(w, h)

Internal

This is an internal function! You are able to use it, but you risk unintended side effects if used incorrectly.

View source »

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)

Internal

This is an internal function! You are able to use it, but you risk unintended side effects if used incorrectly.

View source »

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()

Internal

This is an internal function! You are able to use it, but you risk unintended side effects if used incorrectly.

View source »

Called every think time.