Download scripts/5_Mission/DayZ/GUI/NewUI/OptionSelectorSlider.c from FelonieZ/DayZ_Scripts: direct link, hf CLI and curl.
- Browser
- Download file 755 Bytes
-
https://huggingface.co/datasets/FelonieZ/DayZ_Scripts/resolve/main/scripts/5_Mission/DayZ/GUI/NewUI/OptionSelectorSlider.c
- Command line
-
hf download hf://datasets/FelonieZ/DayZ_Scripts/scripts/5_Mission/DayZ/GUI/NewUI/OptionSelectorSlider.c
-
curl -L -o OptionSelectorSlider.c https://huggingface.co/datasets/FelonieZ/DayZ_Scripts/resolve/main/scripts/5_Mission/DayZ/GUI/NewUI/OptionSelectorSlider.c
755 Bytes
| class OptionSelectorSlider extends OptionSelectorSliderSetup | |
| { | |
| void OptionSelectorSlider(Widget parent, float value, ScriptedWidgetEventHandler parent_menu, bool disabled, float min, float max) | |
| { | |
| m_Root = GetGame().GetWorkspace().CreateWidgets("gui/layouts/new_ui/option_slider.layout", parent); | |
| m_Parent = parent.GetParent().GetParent(); | |
| m_Parent = parent.GetParent(); | |
| m_SelectorType = 1; | |
| m_ParentClass = parent_menu; | |
| m_Slider = SliderWidget.Cast(m_Root.FindAnyWidget("option_value")); | |
| m_Slider.SetCurrent(value); | |
| m_MinValue = min; | |
| m_MaxValue = max; | |
| SetValue(value); | |
| Enable(); | |
| m_Parent.SetHandler(this); | |
| } | |
| } |