},
libraries => [qw( SDL )],
},
+ WManagement => {
+ file => {
+ from => 'src/Core/WManagement.xs',
+ to => 'lib/SDL/WManagement.xs',
+ },
+ libraries => [qw( SDL )],
+ },
Video => {
file => {
from => 'src/Core/Video.xs',
--- /dev/null
+package SDL::WMangement;
+use strict;
+use warnings;
+require Exporter;
+require DynaLoader;
+our @ISA = qw(Exporter DynaLoader);
+bootstrap SDL::WMangement;
+1;
--- /dev/null
+#include "EXTERN.h"
+#include "perl.h"
+#include "XSUB.h"
+
+#ifndef aTHX_
+#define aTHX_
+#endif
+
+#include <SDL.h>
+#include <SDL/SDL_syswm.h>
+
+MODULE = SDL::WManagement PACKAGE = SDL::WManagement PREFIX = wmanage_
+
+=for documentation
+
+The Following are XS bindings to the Window Management category in the SDL API v2.1.13
+
+Described on the SDL API site.
+
+
+=cut
+
+
my @done =qw/ none /;
+use_ok( 'SDL::WManagement' );
SKIP:
{
-skip 'Not implemented', 2;
-use_ok( 'SDL::WM' );
-can_ok ('SDL:WM', @done);
+skip 'Not implemented', 1;
+can_ok ('SDL:WMangement', @done);
}
my @left = qw/
grab_input
/;
-my $why = '[Percentage Completion] '.int( 100 * $#done / ($#done + $#left) ) ."\% implementation. $#done / ".($#done+$#left);
+my $why = '[Percentage Completion] '.int( 100 * ($#done+1) / ($#done + $#left +2 ) ) ."\% implementation.". ($#done +1) .' / '.($#done+$#left +2);
TODO:
{