Permalink
Browse files

updating demo

  • Loading branch information...
1 parent a23bd49 commit 9c51e4003d070f65f7f2d9b18a62274b61469913 @garu garu committed Sep 26, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples/menu.pl
View
@@ -11,12 +11,12 @@
eoq => 1,
);
-my $menu = SDLx::Widget::Menu->new( topleft => [ 0, 400 ] );
+my $menu = SDLx::Widget::Menu->new( topleft => [200, 330] );
$menu->items(
'New Game' => sub { },
'Load Game' => sub { },
'Options' => sub { },
- 'Quit' => sub { $menu->{exit} = 1; },
+ 'Quit' => sub { $menu->{exit} = 1; },
);
$app->add_event_handler(

0 comments on commit 9c51e40

Please sign in to comment.