[OpenEUO] menulib v1.0

If you make a Client-side script you can publish it here for other players to use
Locked
Penny
Legendary Scribe
Posts: 210
Joined: Thu Oct 01, 2009 12:05 pm

[OpenEUO] menulib v1.0

Post by Penny »

Some helpful code for making menus, a small example included. Not really any comments there, it's pretty simple.

Think of the menu stuff divided into containers (form, panel..) and controls (button, checkbox, label..). Controls can be added to containers, for example a button into a form by form_name:button(input_variables). Also containers can be added into containers. Form is the main window/container that you should start with and then add stuff into it.

Container structure:

myCont.ctrl is the actual Obj.Create() object
myCont.[id_you_used_when_creating] these are the buttons/panels/etc you've added into the container

Adding stuff into container:

myCont:button([input_variables])

If you add code, please send me a PM so I can add it to my script too :)
Attachments
menulib.lua
(5.54 KiB) Downloaded 265 times
Failure is not an option, it's a standard.
Locked