1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-11 04:52:21 +02:00

Start of package management

This commit is contained in:
Brian Fiete 2021-02-25 08:10:21 -08:00
parent e517a9745a
commit e6c4a95ccd
25 changed files with 4316 additions and 692 deletions

View file

@ -84,7 +84,13 @@ namespace IDE.ui
if (project != null)
{
hasChanged = project.mHasChanged;
if (project.mLocked)
if (project.mDeferState != .None)
{
//g.Draw(DarkTheme.sDarkTheme.GetImage(.LockIcon), g.mFont.GetWidth(mLabel) + mLabelOffset + LabelX + GS!(-3), 0);
g.DrawString(scope String()..Append('.', 1 + (mUpdateCnt / 20) % 3), g.mFont.GetWidth(mLabel) + mLabelOffset + LabelX + GS!(3), 0);
changeX += GS!(12);
}
else if (project.mLocked)
{
g.Draw(DarkTheme.sDarkTheme.GetImage(.LockIcon), g.mFont.GetWidth(mLabel) + mLabelOffset + LabelX + GS!(-3), 0);
changeX += GS!(12);
@ -1986,7 +1992,7 @@ namespace IDE.ui
}
}
public Project ImportProject(String filePath, VerSpecRecord verSpec = null)
public Project ImportProject(String filePath, VerSpec verSpec = .None)
{
if (!File.Exists(filePath))
{