SDLx::GUI - Create GUI easily with SDL
version 0.002
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.
%options
You can find more information on this module at:
Search CPAN
http://search.cpan.org/dist/SDLx-GUI
See open / report bugs
http://rt.cpan.org/NoAuth/Bugs.html?Dist=SDLx-GUI
Git repository
http://github.com/jquelin/sdlx-gui
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/SDLx-GUI
CPAN Ratings
http://cpanratings.perl.org/d/SDLx-GUI
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.
To install SDLx::GUI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SDLx::GUI
CPAN shell
perl -MCPAN -e shell install SDLx::GUI
For more information on module installation, please visit the detailed CPAN module installation guide.