Commit Graph

5 Commits

Author SHA1 Message Date
Jason Felds 9d13036e08 Add @briefs to the Luna classes.
Yeah...there was a lot. */
2011-02-19 12:26:18 -05:00
AJ Kelly 17e557c396 [ScreenTextEntry] Added Load(TextEntrySettings) Lua binding. [freem]
TextEntrySettings is implemented similar to the Attributes in BitmapText.

example settings and explanation:
local teSettings = {
	SendOnPop = "",					-- ScreenMessage to send on pop (optional, "SM_None" if omitted)
	Question = "",					-- The question to display
	InitialAnswer = "",				-- Initial answer text
	MaxInputLength = 0,				-- Maximum amount of characters
	Password = false,				-- Mask character input (optional)
	Validate = nil,					-- Validation function; function(answer, errorOut), must return boolean, string.
	OnOK = nil,						-- On OK; function(answer)
	OnCancel = nil,					-- On Cancel; function()
	ValidateAppend = nil,			-- Validate appending a character; function(answer,append), must return boolean
	FormatAnswerForDisplay = nil,	-- Format answer for display; function(answer), must return string
};
2011-01-12 13:11:41 -06:00
AJ Kelly 4c8cec8489 [ScreenTextEntry] replace hardcoded underscore and double space with AnswerCaret and AnswerBlank strings 2010-07-03 21:15:25 -05:00
AJ Kelly 3e51544930 Initial commit. 2010-01-26 21:00:30 -06:00
Devin J. Pohly 80057f53cd smsvn -> ssc-hg glue: rearrange directory structure 2013-06-10 15:38:43 -04:00