ScummVM API documentation
M4::Dialog Struct Reference

Public Member Functions

void destroy ()
 
void refresh ()
 
void resize (int32 newW, int32 newH)
 
void configure (int32 defaultTag, int32 returnTag, int32 cancelTag)
 
void setDefault (int32 tag)
 
bool setPressed (int32 tag)
 
void show ()
 
bool addMessage (int32 x, int32 y, const char *prompt, int32 tag)
 
bool addPicture (int32 x, int32 y, Buffer *myBuff, int32 tag)
 
bool addButton (int32 x, int32 y, const char *prompt, M4CALLBACK cb, int32 tag)
 
bool addRepeatButton (int32 x, int32 y, const char *prompt, M4CALLBACK cb, int32 tag)
 
bool addList (int32 x1, int32 y1, int32 x2, int32 y2, M4CALLBACK cb, int32 tag)
 
ItemgetItem (int32 tag)
 
void changeItemPrompt (const char *newPrompt, Item *myItem, int32 tag)
 
bool removeItem (Item *myItem, int32 tag)
 
void refreshItem (Item *myItem, int32 tag)
 
bool addTextField (int32 x1, int32 y1, int32 x2, const char *defaultPrompt, M4CALLBACK cb, int32 tag, int32 fieldLength)
 
void registerTextField ()
 

Public Attributes

int32 w
 
int32 h
 
int32 num_items
 
ItemitemList
 
ItemlistBottom
 
Itemcancel_item
 
Itemreturn_item
 
Itemdefault_item
 
GrBuffdlgBuffer
 

The documentation for this struct was generated from the following file: