This commit is contained in:
GabsPuNs
2026-05-14 21:52:21 -04:00
parent 1b2f5c6fe8
commit f8a2d644f5
291 changed files with 7363 additions and 18368 deletions

View File

@@ -18,9 +18,6 @@ bool UIControl_Slider::setupControl(UIScene *scene, IggyValuePath *parent, const
//Slider specific initialisers
m_funcSetRelativeSliderPos = registerFastName(L"SetRelativeSliderPos");
m_funcGetRealWidth = registerFastName(L"GetRealWidth");
//TU25
m_funcChangeState = registerFastName(L"ChangeState");
m_funcSetSliderValue = registerFastName(L"SetSliderValue");
return success;
}
@@ -91,7 +88,7 @@ void UIControl_Slider::setFocus(bool hasFocus)
IggyDataValue value[1];
value[0].type = IGGY_DATATYPE_number;
value[0].number = hasFocus ? 0.0f : 1.0f;
IggyResult out = IggyPlayerCallMethodRS ( m_parentScene->getMovie() , &result, getIggyValuePath() , m_funcChangeState , 1 , value );
IggyResult out = IggyPlayerCallMethodRS ( m_parentScene->getMovie() , &result, getIggyValuePath() , m_funcSetGreyedOut , 1 , value );
}
}
@@ -144,7 +141,7 @@ void UIControl_Slider::SetSliderValue(int iValue)
IggyDataValue value[1];
value[0].type = IGGY_DATATYPE_number;
value[0].number = iValue;
IggyResult out = IggyPlayerCallMethodRS ( m_parentScene->getMovie() , &result, getIggyValuePath() , m_funcSetSliderValue , 1 , value );
IggyResult out = IggyPlayerCallMethodRS ( m_parentScene->getMovie() , &result, getIggyValuePath() , m_funcSetRelativeSliderPos , 1 , value );
}
void UIControl_Slider::MoveSliderValue(int delta)