Amulets & Armor  v1.02
Open Source Game
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Functions
Prompt

Prompt Status Bar UI. More...

Functions

T_void PromptControl (E_formObjectType objtype, T_word16 objstatus, T_word32 objID)
 
T_void PromptDisplayBulletin (T_byte8 *prompt)
 
E_Boolean PromptDisplayContinue (T_byte8 *prompt)
 
E_Boolean PromptDisplayDialogue (T_byte8 *prompt)
 
T_void PromptDisplayMessage (T_byte8 *prompt)
 
E_Boolean PromptForBoolean (T_byte8 *prompt, E_Boolean defaultvalue)
 
T_word16 PromptForInteger (T_byte8 *prompt, T_word16 defaultvalue, T_word16 min, T_word16 max)
 
E_Boolean PromptForString (T_byte8 *prompt, T_word16 maxlen, T_byte8 *data)
 
T_void PromptNotify (T_byte8 *prompt)
 
T_void PromptStatusBarClose (T_void)
 
T_void PromptStatusBarInit (T_byte8 *prompt, T_word16 baserange)
 
T_void PromptStatusBarUpdate (T_word16 current)
 

Detailed Description

Prompt Status Bar UI.

User Interface for handling simple yes/no prompts.

See Also
http://www.amuletsandarmor.com/AALicense.txt

Function Documentation

T_void PromptControl ( E_formObjectType  objtype,
T_word16  objstatus,
T_word32  objID 
)

PromptControl is a callback assigned to the FormCallBack, it's purpose is to control all prompt functions

T_void PromptDisplayBulletin ( T_byte8 prompt)
E_Boolean PromptDisplayContinue ( T_byte8 prompt)
E_Boolean PromptDisplayDialogue ( T_byte8 prompt)
T_void PromptDisplayMessage ( T_byte8 prompt)
E_Boolean PromptForBoolean ( T_byte8 prompt,
E_Boolean  defaultvalue 
)
T_word16 PromptForInteger ( T_byte8 prompt,
T_word16  defaultvalue,
T_word16  min,
T_word16  max 
)
E_Boolean PromptForString ( T_byte8 prompt,
T_word16  maxlen,
T_byte8 data 
)

Displays a prompt and requests a string of data. User has an accept/cancel option (returned in E_Boolean) Note that returned data pointer is only valid until a new form is loaded!!!!

T_void PromptNotify ( T_byte8 prompt)
T_void PromptStatusBarClose ( T_void  )
T_void PromptStatusBarInit ( T_byte8 prompt,
T_word16  baserange 
)
T_void PromptStatusBarUpdate ( T_word16  current)