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

Add startup panel

This commit is contained in:
Fusioon 2023-06-04 13:41:44 +02:00
parent 891e4fd789
commit 64a23ceb9a
4 changed files with 353 additions and 0 deletions

View file

@ -449,6 +449,7 @@ namespace IDE
public float mScale = 100;
public InsertNewTabsKind mInsertNewTabs = .LeftOfExistingTabs;
public List<String> mTheme = new .() ~ DeleteContainerAndItems!(_);
public bool mShowStartupPanel = true;
public void SetDefaults()
{
@ -457,6 +458,7 @@ namespace IDE
mScale = 100;
mInsertNewTabs = .LeftOfExistingTabs;
ClearAndDeleteItems(mTheme);
mShowStartupPanel = true;
}
public void Apply()
@ -596,6 +598,7 @@ namespace IDE
sd.Add(str);
}
sd.Add("InsertNewTabs", mInsertNewTabs);
sd.Add("ShowStartupPanel", mShowStartupPanel);
}
public void Deserialize(StructuredData sd)
@ -609,6 +612,7 @@ namespace IDE
mTheme.Add(str);
}
sd.Get("InsertNewTabs", ref mInsertNewTabs);
sd.Get("ShowStartupPanel", ref mShowStartupPanel);
}
}