internal static void addRow(IntPtr thisPtr, [MarshalAs(UnmanagedType.LPWStr)] string label, [MarshalAs(UnmanagedType.LPWStr)] string callback, int icon, int yPad, bool useHighlightIcon, bool enabled) { if (_addRowFunc == null) { _addRowFunc = (_addRow)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_GuiGameListMenuCtrl_addRow"), typeof(_addRow)); } _addRowFunc(thisPtr, label, callback, icon, yPad, useHighlightIcon, enabled); }
internal static int addRow(IntPtr thisPtr, int id, [MarshalAs(UnmanagedType.LPWStr)]string text, int index) { if (_addRowFunc == null) { _addRowFunc = (_addRow)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_GuiTextListCtrl_addRow"), typeof(_addRow)); } return _addRowFunc(thisPtr, id, text, index); }
internal static void addRow(IntPtr thisPtr) { if (_addRowFunc == null) { _addRowFunc = (_addRow)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_GuiFrameSetCtrl_addRow"), typeof(_addRow)); } _addRowFunc(thisPtr); }