Show / Hide Table of Contents

Class MenuBase

Inheritance
System.Object
MenuBase
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FlatPMSDK.Menu
Assembly: FlatPMSDK.dll
Syntax
public class MenuBase

Fields

isOpen

Declaration
public bool isOpen
Field Value
Type Description
System.Boolean

position

Declaration
public Vector2 position
Field Value
Type Description
Vector2

ShownItemCount

Declaration
public int ShownItemCount
Field Value
Type Description
System.Int32

size

Declaration
public Size2 size
Field Value
Type Description
Size2

TBIndex

Declaration
public int TBIndex
Field Value
Type Description
System.Int32

Methods

AddFolderElement(ref Int32, String, String[])

Declaration
public MenuBase.MenuObject AddFolderElement(ref int lrindex, string text, string[] options)
Parameters
Type Name Description
System.Int32 lrindex
System.String text
System.String[] options
Returns
Type Description
MenuBase.MenuObject

AddTextElement(ref Int32, String, String[], MenuBase.MenuObject)

Declaration
public void AddTextElement(ref int lrindex, string text, string[] options, MenuBase.MenuObject folder = null)
Parameters
Type Name Description
System.Int32 lrindex
System.String text
System.String[] options
MenuBase.MenuObject folder

Attach(Graphics)

Declaration
public bool Attach(Graphics gfx)
Parameters
Type Name Description
Graphics gfx
Returns
Type Description
System.Boolean

Draw()

Declaration
public void Draw()

Update()

Declaration
public void Update()
Back to top Generated by DocFX