internal static _Sort Sort() {
     if (_SortFunc == null) {
         _SortFunc =
             (_Sort)Marshal.GetDelegateForFunctionPointer(
                 Torque3D.DllLoadUtils.GetProcAddress(
                     Torque3D.Torque3DLibHandle,
                     "fnGuiPopUpMenuCtrl_sort"), typeof(_Sort));
     }
     
     return _SortFunc;
 }
Beispiel #2
0
            internal static _Sort Sort()
            {
                if (_SortFunc == null)
                {
                    _SortFunc =
                        (_Sort)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiPopUpMenuCtrl_sort"), typeof(_Sort));
                }

                return(_SortFunc);
            }
Beispiel #3
0
    // update the sorting method of this container, effective immedietly //

    public void set_sort(_Sort _sort_function)
    {
        sort = _sort_function;
        _update_items();
    }