Esempio n. 1
0
        internal static void OnListMouseItemFocus(ListBox widget, ListBoxEventArg arg)
        {
            uint index = arg.index;

            widget.mHandleListMouseItemFocus(widget.Name, (index >= int.MaxValue) ? -1 : (int)index);
        }
Esempio n. 2
0
        internal static void OnListChangeScroll(ListBox widget, ListBoxEventArg arg)
        {
            uint index = arg.index;

            widget.mHandleListChangeScroll(widget.Name, (index >= int.MaxValue) ? -1 : (int)index);
        }
Esempio n. 3
0
        internal static void OnListSelectAccept(ListBox widget, ListBoxEventArg arg)
        {
            uint index = arg.index;

            widget.mHandleListSelectAccept(widget.Name, (index >= int.MaxValue) ? -1 : (int)index);
        }