コード例 #1
0
ファイル: ListBox.cs プロジェクト: yuexiae/genesis-3d
        internal static void OnListMouseItemFocus(ListBox widget, ListBoxEventArg arg)
        {
            uint index = arg.index;

            widget.mHandleListMouseItemFocus(widget.Name, (index >= int.MaxValue) ? -1 : (int)index);
        }
コード例 #2
0
ファイル: ListBox.cs プロジェクト: yuexiae/genesis-3d
        internal static void OnListChangeScroll(ListBox widget, ListBoxEventArg arg)
        {
            uint index = arg.index;

            widget.mHandleListChangeScroll(widget.Name, (index >= int.MaxValue) ? -1 : (int)index);
        }
コード例 #3
0
ファイル: ListBox.cs プロジェクト: yuexiae/genesis-3d
        internal static void OnListSelectAccept(ListBox widget, ListBoxEventArg arg)
        {
            uint index = arg.index;

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