internal GuiDrawScreenEventArgs(GuiScreen screen, GameTime gameTime) { Screen = screen; GameTime = gameTime; }
public void RemoveScreen(GuiScreen screen) { Screens.Remove(screen); }
public bool HasScreen(GuiScreen screen) { return(Screens.Contains(screen)); }
public void AddScreen(GuiScreen screen) { screen.Init(GuiRenderer); screen.UpdateSize(ScaledResolution.ScaledWidth, ScaledResolution.ScaledHeight); Screens.Add(screen); }