[INC] Menu stocks
This include allows you to pass a value (cell, float or string) to menu callback.
Just look at the example ;-) Download & GitHub. PHP Code:
PHP Code:
PHP Code:
|
Re: [INC] Menu stocks
Pretty smart, thx!
|
Re: [INC] Menu stocks
Vinnice made a 1.7 syntax version, I am gonna put that in GIT repository as another branch, but till then -> https://github.com/TryHardDood/Menu-stocks
|
Re: [INC] Menu stocks
|
Re: [INC] Menu stocks
Quote:
|
Re: [INC] Menu stocks
Quote:
|
Re: [INC] Menu stocks
It's not truly 1.7 syntax, as it's still using Handle and AddMenuItem, but I'm just being picky since combining the 2 different syntax' annoys me
|
Re: [INC] Menu stocks
If it compiles with
PHP Code:
|
Re: [INC] Menu stocks
What about something like this? (not tested, but it compiles. Also, not sure what result retagging a typdef yields, but again, it compiles)
Spoiler
EDIT: I went ahead and tested it and it seems to be working perfectly, so i decided to port all of the stocks.
Spoiler
It's used just like the Menu methodmap: Code:
https://github.com/farbrorgodis/smart-menu |
Re: [INC] Menu stocks
Quote:
Code:
Menu menu = new Menu(hndlr, MENU_ACTIONS_DEFAULT); Code:
menu.AddItem("item", "item"); |
All times are GMT -4. The time now is 01:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.