Difference between revisions of "API navmenu template"
From Vendetta Lua
(split) |
(split) |
||
Line 4: | Line 4: | ||
<br> | <br> | ||
'''Description:'''<br> | '''Description:'''<br> | ||
− | + | Create a control with a navmenu description box and some control buttons | |
− | + | ||
'''Arguments:'''<br> | '''Arguments:'''<br> | ||
''showjumpbutton'' show the jump button if true<br> | ''showjumpbutton'' show the jump button if true<br> |
Revision as of 04:23, 31 January 2009
Definition:
navmenu_template(bool showjumpbutton, function close_cb, bool issubsub) -> userdata container, distancetext, jumpbutton, zoombutton, undolastbutton
Description:
Create a control with a navmenu description box and some control buttons
Arguments:
showjumpbutton show the jump button if true
close_cb function to call after clicking the jump button while the player is able to jump
issubsub create a sub sub tab
Returns:
container navmenu_template
distancetext distance label
'
jumpbutton jump button or nil
zoombutton zoom button
undolastbutton undo button