public LauncherBooleanWidget( LauncherWindow window, Font font, int width, int height )
     : base(window)
 {
     BoxWidth = width; BoxHeight = height;
     Width = width; Height = height;
     this.font = font;
 }
Esempio n. 2
0
 public ClassiCubeScreen( LauncherWindow game )
     : base(game)
 {
     titleFont = new Font( "Arial", 15, FontStyle.Bold );
     inputFont = new Font( "Arial", 15, FontStyle.Regular );
     enterIndex = 4;
     widgets = new LauncherWidget[8];
 }
 public DirectConnectScreen( LauncherWindow game )
     : base(game)
 {
     titleFont = new Font( "Arial", 15, FontStyle.Bold );
     inputFont = new Font( "Arial", 14, FontStyle.Regular );
     enterIndex = 6;
     widgets = new LauncherWidget[9];
 }
Esempio n. 4
0
        public ResourcesScreen( LauncherWindow game )
            : base(game)
        {
            game.Window.Mouse.Move += MouseMove;
            game.Window.Mouse.ButtonDown += MouseButtonDown;

            textFont = new Font( "Arial", 16, FontStyle.Bold );
            infoFont = new Font( "Arial", 14, FontStyle.Regular );
            statusFont = new Font( "Arial", 13, FontStyle.Italic );
            widgets = new LauncherWidget[4];
        }
Esempio n. 5
0
        public UpdatesScreen( LauncherWindow game )
            : base(game)
        {
            game.Window.Mouse.Move += MouseMove;
            game.Window.Mouse.ButtonDown += MouseButtonDown;

            titleFont = new Font( "Arial", 16, FontStyle.Bold );
            infoFont = new Font( "Arial", 14, FontStyle.Regular );
            buttonFont = titleFont;
            widgets = new LauncherWidget[16];
        }
Esempio n. 6
0
 static void Main( string[] args )
 {
     ErrorHandler.InstallHandler( "launcher.log" );
     LauncherWindow window = new LauncherWindow();
     window.Run();
 }
 public LauncherLabelWidget( LauncherWindow window, string text )
     : base(window)
 {
     Text = text;
 }
 public LauncherScreen( LauncherWindow game )
 {
     this.game = game;
     drawer = game.Drawer;
 }
Esempio n. 9
0
 public MainScreen( LauncherWindow game )
     : base(game)
 {
     textFont = new Font( "Arial", 16, FontStyle.Bold );
     widgets = new LauncherWidget[4];
 }
 public LauncherInputWidget( LauncherWindow window )
     : base(window)
 {
 }
 public LauncherButtonWidget( LauncherWindow window )
     : base(window)
 {
 }
 public LauncherInputScreen( LauncherWindow game )
     : base(game)
 {
 }
Esempio n. 13
0
 public LauncherWidget( LauncherWindow window )
 {
     Window = window;
 }