Riwmorld
Verse.Dialog_MessageBox Class Reference
Inheritance diagram for Verse.Dialog_MessageBox:
Verse.Window

Public Member Functions

 Dialog_MessageBox (string text, string buttonAText=null, Action buttonAAction=null, string buttonBText=null, Action buttonBAction=null, string title=null, bool buttonADestructive=false)
 
override void DoWindowContents (Rect inRect)
 
- Public Member Functions inherited from Verse.Window
virtual bool CausesMessageBackground ()
 
virtual void Close (bool doCloseSound=true)
 
virtual void ExtraOnGUI ()
 
virtual void Notify_ResolutionChanged ()
 
virtual void PostClose ()
 
virtual void PostOpen ()
 
virtual void PreClose ()
 
virtual void PreOpen ()
 
virtual void WindowOnGUI ()
 
virtual void WindowUpdate ()
 

Static Public Member Functions

static Dialog_MessageBox CreateConfirmation (string text, Action confirmedAct, bool destructive=false, string title=null)
 

Public Attributes

string text
 
string title
 
string buttonAText
 
Action buttonAAction
 
bool buttonADestructive
 
string buttonBText
 
Action buttonBAction
 
float interactionDelay
 
- Public Attributes inherited from Verse.Window
WindowLayer layer = WindowLayer.Dialog
 
string optionalTitle
 
bool doCloseX
 
bool doCloseButton
 
bool closeOnEscapeKey = true
 
bool closeOnClickedOutside
 
bool forcePause
 
bool preventCameraMotion = true
 
bool preventDrawTutor
 
bool doWindowBackground = true
 
bool onlyOneOfTypeAllowed = true
 
bool absorbInputAroundWindow
 
bool resizeable
 
bool draggable
 
bool drawShadow = true
 
bool focusWhenOpened = true
 
float shadowAlpha = 1f
 
SoundDef soundAppear
 
SoundDef soundClose
 
SoundDef soundAmbient
 
bool silenceAmbientSound
 
bool wantsRenderedWorld
 
int ID
 
Rect windowRect
 

Properties

override Vector2 InitialSize [get]
 
- Properties inherited from Verse.Window
virtual Vector2 InitialSize [get]
 
virtual bool IsDebug [get]
 
virtual float Margin [get]
 

Additional Inherited Members

- Protected Member Functions inherited from Verse.Window
virtual void SetInitialSizeAndPosition ()
 
- Protected Attributes inherited from Verse.Window
const float StandardMargin = 18f
 
readonly Vector2 CloseButSize = new Vector2(120f, 40f)
 

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