C# Class XNAInterfaceComponents.ParentComponents.XNAMessageDialog

Inheritance: XNADialog
Show file Open project: Wotuu/RTS_XNA_v2

Private Properties

Property Type Description
XNAMessageDialog System

Public Methods

Method Description
CreateDialog ( String message, DialogType type ) : XNAMessageDialog

Creates a new message dialog. Note that you have to add your button listeners to this pane for it to do something.

DoLayout ( ) : void

Re-does the layout for this Message Dialog. Should be called when the user specifies a custom font rather than the the default font, or when the client window size changes.

Draw ( SpriteBatch sb ) : void

Private Methods

Method Description
XNAMessageDialog ( String message, DialogType type ) : System

Method Details

CreateDialog() public static method

Creates a new message dialog. Note that you have to add your button listeners to this pane for it to do something.
public static CreateDialog ( String message, DialogType type ) : XNAMessageDialog
message String The message of the pane.
type DialogType The type of the pane
return XNAMessageDialog

DoLayout() public method

Re-does the layout for this Message Dialog. Should be called when the user specifies a custom font rather than the the default font, or when the client window size changes.
public DoLayout ( ) : void
return void

Draw() public method

public Draw ( SpriteBatch sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
return void