API navmenu template

From Vendetta Lua
Jump to: navigation, search


Definition: navmenu_template(bool showjumpbutton, function close_cb, bool issubsub) -> userdata container, distancetext, jumpbutton, zoombutton, undolastbutton
Create a control with a navmenu description box and some control buttons
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
container navmenu_template
distancetext distance label
jumpbutton jump button or nil
zoombutton zoom button
undolastbutton undo button