internal static void OnListMouseItemFocus(ListBox widget, ListBoxEventArg arg) { uint index = arg.index; widget.mHandleListMouseItemFocus(widget.Name, (index >= int.MaxValue) ? -1 : (int)index); }
internal static void OnListChangeScroll(ListBox widget, ListBoxEventArg arg) { uint index = arg.index; widget.mHandleListChangeScroll(widget.Name, (index >= int.MaxValue) ? -1 : (int)index); }
internal static void OnListSelectAccept(ListBox widget, ListBoxEventArg arg) { uint index = arg.index; widget.mHandleListSelectAccept(widget.Name, (index >= int.MaxValue) ? -1 : (int)index); }