1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-22 01:37:59 +02:00

Wasm improvements

This commit is contained in:
Brian Fiete 2022-02-08 17:02:35 -05:00
parent 2ab072ee20
commit 0e579d07b9
6 changed files with 169 additions and 66 deletions

View file

@ -507,6 +507,7 @@ namespace IDE.ui
{
case .Windows: mCurPropertiesTargets[0] = mProject.mWindowsOptions;
case .Linux: mCurPropertiesTargets[0] = mProject.mLinuxOptions;
case .Wasm: mCurPropertiesTargets[0] = mProject.mWasmOptions;
default:
}
}
@ -594,6 +595,7 @@ namespace IDE.ui
{
case .Windows: PopulateWindowsOptions();
case .Linux: PopulateLinuxOptions();
case .Wasm: PopulateWasmOptions();
default:
}
}
@ -661,6 +663,17 @@ namespace IDE.ui
category.Open(true, true);
}
void PopulateWasmOptions()
{
var root = (DarkListViewItem)mPropPage.mPropertiesListView.GetRoot();
var (category, ?) = AddPropertiesItem(root, "General");
category.mIsBold = true;
category.mTextColor = Color.Mult(DarkTheme.COLOR_TEXT, 0xFFE8E8E8);
AddPropertiesItem(category, "Enable Threads", "mEnableThreads");
//parent.MakeParent();
category.Open(true, true);
}
void PopulateBuildOptions()
{
var root = (DarkListViewItem)mPropPage.mPropertiesListView.GetRoot();