ORK Framework  2.24.0
API Documentation
ORKFramework.GUIHandler Class Reference

Public Member Functions

void Init ()
 
void MarkHUDUpdate ()
 
bool IsControlShown ()
 
void FocusNewestBox ()
 
GUIBox CreateInfoBox (string text, string name, int guiBoxID, float time, IPortrait portrait, GameObject atObject, Vector2 posOffset)
 
void AddNotification (List< GUIBox > notifications, GUIBox box, bool doQueue)
 
void ClearNotifications ()
 
void CloseNotifications (string key)
 
void AddNotification (string key, GUIBox box, bool doQueue)
 
void Tick ()
 
void MouseOverSelection ()
 
void ShowGUI ()
 
void AddBox (GUIBox box)
 
void RemoveBox (GUIBox box)
 
void AddTooltip (GUIBox box)
 
void RemoveTooltip (GUIBox box)
 
void UpdateCursorOver ()
 
bool CheckCursorOver (Vector2 point)
 
GUIBox GetCursorOverBox (Vector2 point)
 
bool CheckClick (Vector2 point, float releasedAfter, ref bool clickConsumed)
 
DragInfo GetDrag (Vector2 pos)
 
bool CheckDrop (DragInfo drag, out GUIBox box, ref GUIBoxAudioType playDropAudio)
 
void ClearCursor ()
 
void RecreateHUDs ()
 
void AddImage (int layer, int id, ImageFader fader)
 
ImageFader GetImage (int layer, int id)
 
void RemoveImage (int layer, int id)
 
GameObject GetLayerObject (int index)
 
GameObject GetLayerImageObject (int index)
 
void UpdateUICamera ()
 

Static Public Member Functions

static GUIHandler Instance ()
 

Properties

Notify UpdateHUD
 
MenuSettings Settings [get]
 
ScreenFader ScreenFader [get]
 
TooltipHandler Tooltip [get]
 
DragHandler Drag [get]
 
bool FocusBlocked [get, set]
 
GUIBox Focus [get, set]
 
bool PauseNotifications [get, set]
 
GUIBox DragBox [get, set]
 
bool IsCursorOver [get, set]
 
bool ForceCursorOver [get, set]
 
Transform CursorTransform [get]
 
IContentSimple CursorContent [get]
 
bool AnyHUD [get]
 
bool IsNewUI [get]
 
Canvas Canvas [get]
 
EventSystem EventSystem [get]
 
GameObject NotificationLayer [get]
 
NewUIPool NewUIPool [get]