SDLx::GUI - Create GUI easily with SDL
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
You can find more information on this module at:
See open / report bugs
AnnoCPAN: Annotated CPAN documentation
Jerome Quelin <firstname.lastname@example.org>
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.