1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 08:05:18 +02:00

Add HTTP API to main menu (#9998)

This commit is contained in:
rubenwardy
2020-06-06 17:17:08 +01:00
committed by GitHub
parent 7ec0e3df35
commit 60bab8b2d7
9 changed files with 289 additions and 112 deletions

View File

@@ -101,6 +101,9 @@ dialog_create(name, cbf_formspec, cbf_button_handler, cbf_events)
^ cbf_events: function to handle events
function(dialog, event)
messagebox(name, message)
^ creates a message dialog
Class reference dialog:
methods:
@@ -113,13 +116,13 @@ methods:
^ hide dialog
- delete()
^ delete dialog from ui
members:
- data
^ variable data attached to this dialog
- parent
^ parent component to return to on exit
File: fst/buttonbar.lua
-----------------------