API emailpromptdlgtemplate

From Vendetta Lua
Revision as of 22:11, 1 May 2010 by Chefkoch (Talk | contribs) (split)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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