Sequine - Scripting API
Calcatz.CookieCutter.GenericMenuPopup Class Reference
Inheritance diagram for Calcatz.CookieCutter.GenericMenuPopup:

Public Member Functions

 GenericMenuPopup (GenericMenu p_menu, string p_title, List< string > p_starredPaths)
 
override Vector2 GetWindowSize ()
 
void Show (float p_x, float p_y)
 
void Show (Vector2 p_position)
 
override void OnGUI (Rect p_rect)
 
override void OnOpen ()
 
override void OnClose ()
 

Static Public Member Functions

static GenericMenuPopup Get (GenericMenu p_menu, string p_title)
 
static GenericMenuPopup Show (GenericMenu p_menu, string p_title, Vector2 p_position, List< string > starredPaths, string _searchTerm="", System.Action< string > _onSearchTermChanged=null)
 

Public Attributes

System.Action< string > onSearchTermChanged
 
int width = 215
 
int height = 250
 
int maxHeight = 360
 
bool resizeToContent = false
 
bool showOnStatus = true
 
bool showSearch = true
 
bool showTooltip = false
 
bool showTitle = false
 

Properties

static GUIStyle BackStyle [get]
 
static GUIStyle PlusStyle [get]
 

Constructor & Destructor Documentation

◆ GenericMenuPopup()

Calcatz.CookieCutter.GenericMenuPopup.GenericMenuPopup ( GenericMenu  p_menu,
string  p_title,
List< string >  p_starredPaths 
)

Member Function Documentation

◆ Get()

static GenericMenuPopup Calcatz.CookieCutter.GenericMenuPopup.Get ( GenericMenu  p_menu,
string  p_title 
)
static

◆ GetWindowSize()

override Vector2 Calcatz.CookieCutter.GenericMenuPopup.GetWindowSize ( )

◆ OnClose()

override void Calcatz.CookieCutter.GenericMenuPopup.OnClose ( )

◆ OnGUI()

override void Calcatz.CookieCutter.GenericMenuPopup.OnGUI ( Rect  p_rect)

◆ OnOpen()

override void Calcatz.CookieCutter.GenericMenuPopup.OnOpen ( )

◆ Show() [1/3]

void Calcatz.CookieCutter.GenericMenuPopup.Show ( float  p_x,
float  p_y 
)

◆ Show() [2/3]

static GenericMenuPopup Calcatz.CookieCutter.GenericMenuPopup.Show ( GenericMenu  p_menu,
string  p_title,
Vector2  p_position,
List< string >  starredPaths,
string  _searchTerm = "",
System.Action< string >  _onSearchTermChanged = null 
)
static

◆ Show() [3/3]

void Calcatz.CookieCutter.GenericMenuPopup.Show ( Vector2  p_position)

Member Data Documentation

◆ height

int Calcatz.CookieCutter.GenericMenuPopup.height = 250

◆ maxHeight

int Calcatz.CookieCutter.GenericMenuPopup.maxHeight = 360

◆ onSearchTermChanged

System.Action<string> Calcatz.CookieCutter.GenericMenuPopup.onSearchTermChanged

◆ resizeToContent

bool Calcatz.CookieCutter.GenericMenuPopup.resizeToContent = false

◆ showOnStatus

bool Calcatz.CookieCutter.GenericMenuPopup.showOnStatus = true

◆ showSearch

bool Calcatz.CookieCutter.GenericMenuPopup.showSearch = true

◆ showTitle

bool Calcatz.CookieCutter.GenericMenuPopup.showTitle = false

◆ showTooltip

bool Calcatz.CookieCutter.GenericMenuPopup.showTooltip = false

◆ width

int Calcatz.CookieCutter.GenericMenuPopup.width = 215

Property Documentation

◆ BackStyle

GUIStyle Calcatz.CookieCutter.GenericMenuPopup.BackStyle
staticget

◆ PlusStyle

GUIStyle Calcatz.CookieCutter.GenericMenuPopup.PlusStyle
staticget