Numeric class
Numeric class
I wanted to use "numeric_decrease" method for my sliders, but it seems the Numeric class is missing for some reason in current MUIRoyale plugin . Am I right?
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Numeric class
Yes but I don't think it's necessary to add this because it can easily be emulated by just getting the current level, applying the increase or decrease value, and set it again.
Re: Numeric class
Sure. You you're right.
Btw, the MUI docs say:
Btw, the MUI docs say:
Does it mean the MUIA_Slider_Level can become unsupported one day and the Hollywood's Slider.Level attribute can stop working then?MUIA_Numeric_Value
NOTES
This attribute replaces the MUIA_Slider_Level tag of
previous MUI releases. For compatibility reasons,
both have the same hex value. Nevertheless, always
use MUIA_Numeric_Value in new code.
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Numeric class
No, MUIA_Numeric_Value is just a synonym for MUIA_Slider_Level. MUI Royale will keep Slider.Level because it doesn't export Numeric class anyway.