Esempio n. 1
0
        public static IGwenGui CreateFromGame(GameWindow window, GwenGuiSettings settings = default)
        {
            if (settings == null)
            {
                settings = GwenGuiSettings.Default;
            }

            return(new GwenGui(window, settings));
        }
 public static GwenGuiSettings From(this GwenGuiSettings settings, Action <GwenGuiSettings> settingsModifier)
 {
     settingsModifier?.Invoke(settings);
     return(settings);
 }
Esempio n. 3
0
 internal GwenGui(GameWindow parent, GwenGuiSettings settings)
 {
     Parent   = parent;
     Settings = settings;
 }