I've made a few menu systems before (when I say menu systems, I mean drop-down menus, like Windows), but they all could only have a menu per clicky-thing (you know what I mean). With this one you can have as many branches as you like.
Here is a screeny for y'all:
I will not release the source code uite yet, because there are still some things to be fixed, and features to be added.
One important feature (which is what lead me to make it in the first place) is
menu loading. I tried making something with BlueGUI to load menus, but the way you made them made it too difficult. My method is alot easier to handle.
Here is what a menu file might look like:
-File
--New
---Project
----Empty
----Template
----Download
---File
--Open
--Save
--SaveAs
--Exit
But, you can ofcourse just make them using the functions. BlueGUI I believe makes you create submenus everytime you wanna branch something, but with mine you dont. For example, here is what a simple File menu might look like:
file = CreateMenuItem( 0, "File" )
new = CreateMenuItem( file, "New" )
newproj = CreateMenuItem( new, "Project" )
newfile = CreateMenuItem( new, "File" )
open = CreateMenuItem( file, "Open" )
exit = CreateMenuItem( file, "Exit")
Where the first parameter is the parent (what it will branch from) - use 0 for it to be one of the top ones (w/e). The second being the caption, or, what text it will have.
It returns a handle to that item, and you will be able to check if you click it, i.e. "if MenuClick() = newproj", or use it to branch a submenu from.
I will try and release the source code by today or tomorrow, I'll see how things go.
"It's like floating a boat on a liquid that I don't know, but I'm quite happy to drink it if I'm thirsty enough" - Me being a good programmer but sucking at computers