public LauncherBooleanWidget( LauncherWindow window, Font font, int width, int height )
     : base(window)
 {
     BoxWidth = width; BoxHeight = height;
     Width = width; Height = height;
     this.font = font;
 }
 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];
 }
示例#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];
        }
示例#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];
        }
示例#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;
 }
示例#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)
 {
 }
示例#13
0
 public LauncherWidget( LauncherWindow window )
 {
     Window = window;
 }