PowerUI.BlockingDialogues Class Reference

Detailed Description

A dialogue that blocks the thread when it's opened. Alert and confirm use these.

Static Public Member Functions

static void Setup ()
 Sets up the blocking dialogues. Must occur ahead of time otherwise Resources.Load would fail on us. More...
 
static string GetTemplate (string type)
 Gets this dialogues template. More...
 
static void Ok (UIEvent e)
 Called when 'ok' is pressed in a blocking dialogue. More...
 
static void Cancel (UIEvent e)
 Called when 'cancel' is pressed in a blocking dialogue. More...
 
static BlockingDialogue Open (string type, Window window, object message)
 Opens a blocking dialogue in the given window. More...
 

Static Public Attributes

static Dictionary< string, string > Templates
 The prompt templates. More...
 

Member Function Documentation

static void PowerUI.BlockingDialogues.Cancel ( UIEvent  e)
inlinestatic

Called when 'cancel' is pressed in a blocking dialogue.

static string PowerUI.BlockingDialogues.GetTemplate ( string  type)
inlinestatic

Gets this dialogues template.

static void PowerUI.BlockingDialogues.Ok ( UIEvent  e)
inlinestatic

Called when 'ok' is pressed in a blocking dialogue.

static BlockingDialogue PowerUI.BlockingDialogues.Open ( string  type,
Window  window,
object  message 
)
inlinestatic

Opens a blocking dialogue in the given window.

static void PowerUI.BlockingDialogues.Setup ( )
inlinestatic

Sets up the blocking dialogues. Must occur ahead of time otherwise Resources.Load would fail on us.

Member Data Documentation

Dictionary<string,string> PowerUI.BlockingDialogues.Templates
static

The prompt templates.