Jump to content
LaunchBox Community Forums
Hexxxer

How to create a New Menu?

Recommended Posts

How does one create a new menu in BigBox from the options screen? Has anyone released any project/code that could help me learn this? I have figured out how to make a new option item and have that item execute code but not how to load a sub menu from said item.

Share this post


Link to post
Share on other sites

I've not yet done anything like this. The plugin api lets you add a menu item to the System or Game text menu, but I do not see where it let's you add to the Options menu. Anyway, in the OnSelected method of ISystemMenuItemPlugin, for example, could you have it unhide a panel in the current view? -- the problem is that ISystemMenuItemPlugin is not associated with a particular view, so it would not have a reference to that panel, so that approach might not work.

I wrote a IGameMenuItemPlugin to display the PDF manual within BB. What it does is popup a window. Perhaps you could have your menu item do something similar -- pop up a window that would let the user interact with your control. It'd be nicer if it could integrate in BB more without having to popup a window, but I'm not sure how to do that.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...