API emailpromptdlgtemplate

From Vendetta Lua
Jump to: navigation, search

emailpromptdlgtemplate

Definition:
emailpromptdlgtemplate(string b1title, function b1cb, string b2title, function b2cb) -> userdata dialog
Description:
Create a fullscreen dialog with two buttons and text fields for name, email and a message.
Arguments:
b1title title of button 1 (Default "Ok")
b1cb function to call when button 1 is pressed
b2title title of button 1 (Default "Cancel")
b2cb function to call when button 2 is pressed
Returns:
dialog emailpromptdlg