optionsGui merge

This commit is contained in:
MARKPRO44 2023-08-16 16:51:50 +03:00
parent 75e40c2c23
commit 42ea9cffbb
2 changed files with 8 additions and 3 deletions

View file

@ -26,7 +26,7 @@ public abstract class AbstractGui : IDrawableObject
public virtual void LoadContent()
{
Manager.LoadContent(AppManager.Instance.Content, "Font");
Manager.LoadContent(AppManager.Instance.Content, "Font2");
}
public virtual void Update(GameTime gameTime)

View file

@ -18,10 +18,15 @@ namespace DangerousD.GameCore.GUI
};
Label lblOptions = new Label(Manager, 0);
lblOptions.fontName = "font2";
lblOptions.fontName = "Font2";
lblOptions.text = "Options";
lblOptions.rectangle = new Rectangle(300, 20, 210, 50);
lblOptions.mainColor = Color.Transparent;
Label lblValue = new Label(Manager);
lblValue.fontName = "Font2";
lblValue.text = "Value";
lblValue.rectangle = new Rectangle(400, 150, 250, 40);
}
}
}