Esempio n. 1
0
            internal static unsafe void Invoke(IntPtr obj, EUINavigationRule Rule, Name WidgetToFocus)
            {
                long *p = stackalloc long[] { 0L, 0L, 0L };
                byte *b = (byte *)p;

                *(b + 0)           = (byte)Rule;
                *((Name *)(b + 4)) = WidgetToFocus;
                Main.GetProcessEvent(obj, SetAllNavigationRules_ptr, new IntPtr(p));;
            }
        }
Esempio n. 2
0
 ///<summary>Sets the widget navigation rules for a specific direction.</summary>
 ///<remarks>
 ///This can only be called on widgets that are in a widget tree.
 ///@param Direction
 ///@param Rule The rule to use when navigation is taking place
 ///@param WidgetToFocus When using the Explicit rule, focus on this widget
 ///</remarks>
 public void SetNavigationRule(EUINavigation Direction, EUINavigationRule Rule, Name WidgetToFocus) =>
 Widget_methods.SetNavigationRule_method.Invoke(ObjPointer, Direction, Rule, WidgetToFocus);
Esempio n. 3
0
 ///<summary>Sets the widget navigation rules for all directions.</summary>
 ///<remarks>
 ///This can only be called on widgets that are in a widget tree.
 ///@param Rule The rule to use when navigation is taking place
 ///@param WidgetToFocus When using the Explicit rule, focus on this widget
 ///</remarks>
 public void SetAllNavigationRules(EUINavigationRule Rule, Name WidgetToFocus) =>
 Widget_methods.SetAllNavigationRules_method.Invoke(ObjPointer, Rule, WidgetToFocus);