#include <controls.h>
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 |
A "mini" dialog is usually a yes/no question, but also used for the restart/restore dialog at the beginning of the game.