mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-07-18 03:48:27 +00:00
TU24
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user