示例#1
0
        internal static void OnListMouseItemFocus(ListBox widget, ListBoxEventArg arg)
        {
            uint index = arg.index;

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

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

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