From: Jan "Yenya" Kasprzak Date: Sun, 13 Feb 2011 21:20:08 +0000 (+0100) Subject: My own defaults in gui.pl X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=963843ecc79a4726b434867cbbe5885d7cdd9e19;p=slotcarman.git My own defaults in gui.pl --- 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);