Yet another Menu Related Issue / Request:
Current System unfortunately doesn't allow to structure the Menu.
I'd like to request being able to create SubMenus instead of being forced to have everything on the same level which makes it very huge, ugly and confusing. If there were to be a way we could actually structure the menu that would go a long way I think.
This should even be possible with the current Implementation by either adding a parent Parameter or by splitting on Backslashes to indicate a Structure.
So
Code:
CREATE_MENU(CHANNEL, 0, "Foo", "foo.png");
CREATE_MENU(CHANNEL, 1, "My Category", "cat1.png");
CREATE_MENU(CHANNEL, 2, "My Category\\Do something", "do1.png");
CREATE_MENU(CHANNEL, 3, "My Category\\Do nothing", "do2.png");
CREATE_MENU(CHANNEL, 4, "Bar", "bar.png");
// Shortened because too lazy to type all the long stuff ;)
would display like this
Code:
My Plugin Menu Name
Foo
My Category
Do something
Do nothing
Bar
instead of
Code:
My Plugin Menu Name
Foo
Do something
Do nothing
Bar
With the addition of above suggested Separators it would improve the look a lot