TomGrobbe / MenuAPI

FiveM C# Menu API. Designed specifically as a replacement of NativeUI for vMenu. Full safezone scaling supported, both left and right aligned menus supported.
https://docs.vespura.com/mapi
61 stars 46 forks source link

Fix the need to make new ListItems for changing color / opacity #20

Closed manups4e closed 5 years ago

manups4e commented 5 years ago

Hi.. so this is to help you improove MenuAPI.. just set BeginScaleformMovieMethod(ColorPanelScaleform, "SET_IS_PC"); ScaleformMovieMethodAddParamBool(true); EndScaleformMovieMethod();

you can use it on OpacityPanel too

this way you can control the Scaleform directly without the need to make a new ListItem

this is the result https://i.imgur.com/qmxXfrH.png

Cheers

TomGrobbe commented 5 years ago

I don't see what's different about the current panel? it looks exactly the same on your screenshot?

manups4e commented 5 years ago

with this let's call it add on you add arrows on the side of the panel.. this way you can control it directly with mouse like in GTA Online

TomGrobbe commented 5 years ago

@manups4e Except there are no mouse controls available in MenuAPI. So that seems quite useless.

manups4e commented 5 years ago

🤔 well then it's useless for real.. sorry then ^^ i'll close the issue

TomGrobbe commented 5 years ago

@manups4e Np, I don’t mind suggestions like this ;)

manups4e commented 5 years ago

:) thanks 👍 i was experimenting with scaleforms to give NativeUI new life and i thought you might have wanted this suggestion too :)