5 m_Root =
GetGame().GetWorkspace().CreateWidgets(
"gui/layouts/new_ui/option_slider.layout", parent);
6 #ifdef PLATFORM_CONSOLE
7 m_Parent = parent.GetParent().GetParent();
9 #ifdef PLATFORM_WINDOWS
15 m_ParentClass = parent_menu;
16 m_Slider = SliderWidget.Cast(
m_Root.FindAnyWidget(
"option_value"));
17 m_Slider.SetCurrent(value);