Space Engineers
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Sandbox.Graphics.GUI.MyTreeView Class Reference

Public Member Functions

 MyTreeView (MyGuiControlTreeView control, Vector2 position, Vector2 size)
 
void Layout ()
 
bool HandleInput ()
 
MyTreeViewItem AddItem (StringBuilder text, string icon, Vector2 iconSize, string expandIcon, string collapseIcon, Vector2 expandIconSize)
 
void DeleteItem (MyTreeViewItem item)
 
void ClearItems ()
 
void Draw (float transitionAlpha)
 
bool Contains (Vector2 position, Vector2 size)
 
bool Contains (float x, float y)
 
void FocusItem (MyTreeViewItem item)
 
Vector2 GetPosition ()
 
Vector2 GetBodySize ()
 
Color GetColor (Vector4 color, float transitionAlpha)
 
bool WholeRowHighlight ()
 
MyTreeViewItem GetItem (int index)
 
MyTreeViewItem GetItem (StringBuilder name)
 
int GetItemCount ()
 
void SetPosition (Vector2 position)
 
void SetSize (Vector2 size)
 

Static Public Member Functions

static bool FilterTree (ITreeView treeView, Predicate< MyTreeViewItem > itemFilter)
 

Public Attributes

MyTreeViewItem FocusedItem
 
MyTreeViewItem HooveredItem
 

Detailed Description

Definition at line 8 of file MyTreeView.cs.

Constructor & Destructor Documentation

Sandbox.Graphics.GUI.MyTreeView.MyTreeView ( MyGuiControlTreeView  control,
Vector2  position,
Vector2  size 
)
inline

Definition at line 23 of file MyTreeView.cs.

Member Function Documentation

MyTreeViewItem Sandbox.Graphics.GUI.MyTreeView.AddItem ( StringBuilder  text,
string  icon,
Vector2  iconSize,
string  expandIcon,
string  collapseIcon,
Vector2  expandIconSize 
)
inline

Definition at line 221 of file MyTreeView.cs.

void Sandbox.Graphics.GUI.MyTreeView.ClearItems ( )
inline

Definition at line 248 of file MyTreeView.cs.

bool Sandbox.Graphics.GUI.MyTreeView.Contains ( Vector2  position,
Vector2  size 
)
inline

Definition at line 268 of file MyTreeView.cs.

bool Sandbox.Graphics.GUI.MyTreeView.Contains ( float  x,
float  y 
)
inline

Definition at line 273 of file MyTreeView.cs.

void Sandbox.Graphics.GUI.MyTreeView.DeleteItem ( MyTreeViewItem  item)
inline

Definition at line 226 of file MyTreeView.cs.

void Sandbox.Graphics.GUI.MyTreeView.Draw ( float  transitionAlpha)
inline

Definition at line 253 of file MyTreeView.cs.

static bool Sandbox.Graphics.GUI.MyTreeView.FilterTree ( ITreeView  treeView,
Predicate< MyTreeViewItem itemFilter 
)
inlinestatic

Definition at line 338 of file MyTreeView.cs.

void Sandbox.Graphics.GUI.MyTreeView.FocusItem ( MyTreeViewItem  item)
inline

Definition at line 278 of file MyTreeView.cs.

Vector2 Sandbox.Graphics.GUI.MyTreeView.GetBodySize ( )
inline

Definition at line 296 of file MyTreeView.cs.

Color Sandbox.Graphics.GUI.MyTreeView.GetColor ( Vector4  color,
float  transitionAlpha 
)
inline

Definition at line 301 of file MyTreeView.cs.

MyTreeViewItem Sandbox.Graphics.GUI.MyTreeView.GetItem ( int  index)
inline

Definition at line 311 of file MyTreeView.cs.

MyTreeViewItem Sandbox.Graphics.GUI.MyTreeView.GetItem ( StringBuilder  name)
inline

Definition at line 316 of file MyTreeView.cs.

int Sandbox.Graphics.GUI.MyTreeView.GetItemCount ( )
inline

Definition at line 321 of file MyTreeView.cs.

Vector2 Sandbox.Graphics.GUI.MyTreeView.GetPosition ( )
inline

Definition at line 291 of file MyTreeView.cs.

bool Sandbox.Graphics.GUI.MyTreeView.HandleInput ( )
inline

Definition at line 114 of file MyTreeView.cs.

void Sandbox.Graphics.GUI.MyTreeView.Layout ( )
inline

Definition at line 36 of file MyTreeView.cs.

void Sandbox.Graphics.GUI.MyTreeView.SetPosition ( Vector2  position)
inline

Definition at line 326 of file MyTreeView.cs.

void Sandbox.Graphics.GUI.MyTreeView.SetSize ( Vector2  size)
inline

Definition at line 332 of file MyTreeView.cs.

bool Sandbox.Graphics.GUI.MyTreeView.WholeRowHighlight ( )
inline

Definition at line 306 of file MyTreeView.cs.

Member Data Documentation

MyTreeViewItem Sandbox.Graphics.GUI.MyTreeView.FocusedItem

Definition at line 20 of file MyTreeView.cs.

MyTreeViewItem Sandbox.Graphics.GUI.MyTreeView.HooveredItem

Definition at line 21 of file MyTreeView.cs.


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