From 963843ecc79a4726b434867cbbe5885d7cdd9e19 Mon Sep 17 00:00:00 2001 From: "Jan \"Yenya\" Kasprzak" Date: Sun, 13 Feb 2011 22:20:08 +0100 Subject: [PATCH] My own defaults in gui.pl --- gui.pl | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/gui.pl b/gui.pl index 7cfe608..0efe3f3 100755 --- a/gui.pl +++ b/gui.pl @@ -11,7 +11,7 @@ use SCX::Track; use SCX::Reader; use SCX::RaceParser; -my $gui = SCX::GUI->new({ img_height => 120 }); +my $gui = SCX::GUI->new({ img_height => 100 }); my $track = SCX::Track->new({ gui => $gui }); my $logfile = 'log'; @@ -40,14 +40,15 @@ if ($@) { $track->car(0)->set_model('F1 Ferrari'); $track->car(1)->set_model('F1 McLaren'); -$track->car(2)->set_model('F1 Williams'); -$track->car(3)->set_model('Citroen Xsara'); -$track->car(4)->set_model('Citroen C4'); -$track->car(5)->set_model('Ford Focus'); - -$track->car(0)->set_driver('Ivi'); -$track->car(1)->set_driver('Filípek'); -$track->car(2)->set_driver('Táta'); +#$track->car(2)->set_model('F1 Williams'); +$track->car(2)->set_model('Citroen Xsara'); +$track->car(3)->set_model('Chevrolet Corvette gelb'); +$track->car(4)->set_model('Ferrari 360 Red Bull'); +$track->car(5)->set_model('Ferrari 360 Cric Crac'); + +$track->car(0)->set_driver('Ferrari'); +$track->car(1)->set_driver('McLaren'); +$track->car(2)->set_driver('Xsara'); if ($reader) { Glib::IO->add_watch(fileno($reader->fh), 'in', \&scx_read, $reader); -- 2.43.5