SDLx::GUI - Create GUI easily with SDL
version 0.001
use SDLx::App;
use SDLx::GUI;
my $app = SDLx::App->new( ... );
my $top = toplevel( app=>$app );
$top->Label( text=>"hello, world!" )->pack;
SDL is great to create nifty games, except it's cumbersome to write a usable GUI with it... Unfortunately, almost all games do have some part that needs buttons and checkboxes and stuff (think configuration screens).
This module eases the pain, by providing a Tk-like way of building a GUI.
my $top = toplevel( %options );
Return a new toplevel widget (a SDLx::GUI::Widget::Toplevel object).
Refer to this class for more information on accepted %options
.
You can find more information on this module at:
-
Search CPAN
-
See open / report bugs
-
Git repository
-
AnnoCPAN: Annotated CPAN documentation
-
CPAN Ratings
Jerome Quelin jquelin@gmail.com
This software is copyright (c) 2013 by Jerome Quelin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.