ScummVM API documentation
Sword2::MiniDialog Class Reference

#include <controls.h>

Inheritance diagram for Sword2::MiniDialog:
Sword2::Dialog Sword2::QuitDialog Sword2::RestartDialog Sword2::StartDialog

Public Member Functions

 MiniDialog (Sword2Engine *vm, uint32 headerTextId, uint32 okTextId=TEXT_OK, uint32 cancelTextId=TEXT_CANCEL)
 
void paint () override
 
void onAction (Widget *widget, int result=0) override
 
- Public Member Functions inherited from Sword2::Dialog
 Dialog (Sword2Engine *vm)
 
void registerWidget (Widget *widget)
 
virtual void setResult (int result)
 
virtual int runModal ()
 

Additional Inherited Members

- Public Attributes inherited from Sword2::Dialog
Sword2Engine_vm
 

Detailed Description

A "mini" dialog is usually a yes/no question, but also used for the restart/restore dialog at the beginning of the game.


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