public LauncherBooleanWidget( LauncherWindow window, Font font, int width, int height )
     : base(window)
 {
     BoxWidth = width; BoxHeight = height;
     Width = width; Height = height;
     this.font = font;
 }
예제 #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];
 }
예제 #3
0
 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();
 }
예제 #7
0
 public LauncherLabelWidget( LauncherWindow window, string text )
     : base(window)
 {
     Text = text;
 }
예제 #8
0
 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];
 }
예제 #10
0
 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;
 }