mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-26 19:48:01 +02:00
Extensive runtime refactor to reduce generated executable sizes
This commit is contained in:
parent
4e750a7e1a
commit
ddd9b1b218
74 changed files with 2514 additions and 717 deletions
|
@ -158,6 +158,20 @@ namespace IDE.ui
|
|||
}
|
||||
});
|
||||
});
|
||||
|
||||
anItem = menu.AddItem("Copy Info to Clipboard");
|
||||
anItem.mOnMenuItemSelected.Add(new (item) =>
|
||||
{
|
||||
String moduleInfo = scope .();
|
||||
listView.GetRoot().WithSelectedItems(scope (item) =>
|
||||
{
|
||||
if (!moduleInfo.IsEmpty)
|
||||
moduleInfo.Append("\n");
|
||||
gApp.mDebugger.GetModuleInfo(item.GetSubItem(1).Label, moduleInfo);
|
||||
});
|
||||
gApp.SetClipboardText(moduleInfo);
|
||||
});
|
||||
|
||||
MenuWidget menuWidget = ThemeFactory.mDefault.CreateMenuWidget(menu);
|
||||
menuWidget.Init(relWidget, x, y);
|
||||
}
|
||||
|
|
|
@ -797,6 +797,8 @@ namespace IDE.ui
|
|||
AddPropertiesItem(category, "No Omit Frame Pointers", "mNoOmitFramePointers");
|
||||
AddPropertiesItem(category, "Large Strings", "mLargeStrings");
|
||||
AddPropertiesItem(category, "Large Collections", "mLargeCollections");
|
||||
AddPropertiesItem(category, "Runtime", "mRuntimeKind");
|
||||
AddPropertiesItem(category, "Reflection", "mReflectKind");
|
||||
category.Open(true, true);
|
||||
|
||||
(category, propEntry) = AddPropertiesItem(root, "Debug");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue