Difference between revisions of "API navmenu template"

From Vendetta Lua
Jump to: navigation, search
(split)
 
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
<br>
 
<br>
 
'''Description:'''<br>
 
'''Description:'''<br>
replace variables like %target% in input with their corresponding value
+
Create a control with a navmenu description box and some control buttons
 
<br>
 
<br>
 
'''Arguments:'''<br>
 
'''Arguments:'''<br>
Line 13: Line 13:
 
'''Returns:'''<br>
 
'''Returns:'''<br>
 
''container'' [[navmenu_template]]<br>
 
''container'' [[navmenu_template]]<br>
''distancetext'' distance label<br>'
+
''distancetext'' distance label<br>
 
''jumpbutton'' jump button or nil<br>
 
''jumpbutton'' jump button or nil<br>
 
''zoombutton'' zoom button<br>
 
''zoombutton'' zoom button<br>
 
''undolastbutton'' undo button
 
''undolastbutton'' undo button
 
<br>
 
<br>

Latest revision as of 16:53, 23 May 2009

navmenu_template

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