View Single Post
Depresie
Veteran Member
Join Date: Nov 2013
Old 12-22-2017 , 13:05   Re: [REQ] menu proprieties
Reply With Quote #22

We already have natives for strings that have less use than what i suggested
You just asked a stupid question, what about we also remove strlen since it can be easily done with a loop ? or charsmax ? or sizeof ?

Btw ocixcrom is right, adding proprieties for formatting would be more useful, for both item numbering and page numbering, ofc with the possibility of also removing them completely

An example

Code:
menu_setprop(iMenu, MENU_FORMATNUMBERING, "[ ^$ ]")
- >
[1] Item 1
[2] Item 2
[3] Item 3

menu_setprop(iMenu, MENU_FORMATNUMBERING, "^0")
->
Item 1
Item 2
Item 3

menu_setprop(iMenu, MENU_FORMATPAGES, "[ ^$ ]")
- >
Menu Title [ 1/2 ]

menu_setprop(iMenu, MENU_FORMATPAGES, "^0")
-> 
Menu Title
__________________

Last edited by Depresie; 12-22-2017 at 13:13.
Depresie is offline