Riwmorld
Verse.FloatMenu Class Reference
Inheritance diagram for Verse.FloatMenu:
Verse.Window Verse.FloatMenuMap Verse.FloatMenuWorld

Public Member Functions

 FloatMenu (List< FloatMenuOption > options)
 
 FloatMenu (List< FloatMenuOption > options, string title, bool needSelection=false)
 
void Cancel ()
 
override void DoWindowContents (Rect rect)
 
override void ExtraOnGUI ()
 
- Public Member Functions inherited from Verse.Window
virtual bool CausesMessageBackground ()
 
virtual void Close (bool doCloseSound=true)
 
virtual void Notify_ResolutionChanged ()
 
virtual void PostClose ()
 
virtual void PostOpen ()
 
virtual void PreClose ()
 
virtual void PreOpen ()
 
virtual void WindowOnGUI ()
 
virtual void WindowUpdate ()
 

Public Attributes

bool givesColonistOrders
 
bool vanishIfMouseDistant = true
 
- 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
 

Protected Member Functions

override void SetInitialSizeAndPosition ()
 

Protected Attributes

List< FloatMenuOptionoptions
 
- Protected Attributes inherited from Verse.Window
const float StandardMargin = 18f
 
readonly Vector2 CloseButSize = new Vector2(120f, 40f)
 

Properties

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

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