GTAVMenuBase icon indicating copy to clipboard operation
GTAVMenuBase copied to clipboard

Label and Listbox Options?

Open MysticWhiteDragon opened this issue 6 years ago • 2 comments

I tried to implement a "menu.label" option. However, I couldn't get it exactly right. I can get it so that the label is not selectable and the other options are. However, It messed up when it drew it. Could this possibly be added?

Also, another idea would be a "menu.listbox" option. And it could act like a listbox in HTML. This basically would act like the "menu.###Option" using an array, but display it as a new sub menu rather than having the selection as < #### >. This would make it similar to when you upgrade a car in Los Santos Customs.

listbox The star could represent the current selected option in case the user backs out. Los Santos Customs uses a car in a circle. The extra area where the car info is would of course not be there.

MysticWhiteDragon avatar Jul 27 '19 21:07 MysticWhiteDragon

Label - Could you give an example of how the game handles it natively?

Listbox - This could be done by generating multiple options, but would need an option with a custom sprite (basically duplicate and modify booloption).

I'm not very happy with how the menu is at the moment, but I also don't have time for a rewrite, so I don't know. When I touch the menu code again I'll consider this, though I have other things to solve first (make content stick during scrolling up)

ikt32 avatar Jul 29 '19 11:07 ikt32

Label - I haven't seen it in the game naively. I thought it might be useful for some menus. Basically it would be like the menu.option, but just not selectable.

I have to say, the menu you created is simple and pretty sweet! It's awesome!

MysticWhiteDragon avatar Jul 29 '19 12:07 MysticWhiteDragon