Dungeon Architect  17.0.0
DungeonArchitect.UI.Widgets.WidgetUtils Class Reference

Static Public Member Functions

static void GetWidgets (IWidget widget, ref List< IWidget > result)
 
static List< T > GetWidgetsOfType< T > (IWidget root)
 
static void HandleWidgetInput (UISystem uiSystem, Event e, Vector2 mousePosition, IWidget widget)
 
static bool BuildWidgetEvent (Vector2 mousePosition, IWidget root, IWidget widgetToFind, ref Vector2 widgetMousePosition)
 
static bool FindWidgetOnCursor (Event e, IWidget widget, out Event outEvent, out IWidget outWidget)
 
static void ProcessDragOperation (Event e, IWidget widget, UISystem uiSystem)
 
static bool ProcessInputFocus (Vector2 mousePosition, UISystem uiSystem, IWidget widget)
 
static void DrawWidgetFocusHighlight (UIRenderer renderer, Rect bounds, Color color)
 
static void DrawWidgetFocusHighlight (UIRenderer renderer, Rect bounds, Color color, float thickness)
 
static void DrawWidgetFocusHighlight (UIRenderer renderer, Rect bounds, Color color, float thickness, Texture2D texture)
 
static void DrawWidgetGroup (UISystem uiSystem, UIRenderer renderer, IWidget widget)
 
static bool IsDragEvent (Event e)
 

Static Public Attributes

static readonly Color FOCUS_HIGHLITE_COLOR = new Color(1, 0.5f, 0, 1)
 

Detailed Description

Definition at line 6 of file WidgetUtils.cs.


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