Permalink
Browse files

Wrap TTF_Font with a few calls

  • Loading branch information...
1 parent fd90b84 commit b41abbd6015ec5d9bba526df08193b1deb14c2ec @acme acme committed Oct 17, 2009
Showing with 492 additions and 398 deletions.
  1. +7 −0 Build.PL
  2. +2 −0 MANIFEST
  3. +11 −0 lib/SDL/TTF_Font.pm
  4. +62 −397 src/SDL.xs
  5. +353 −0 src/TTF/TTF.xs
  6. +24 −0 src/TTF/objects/TTF_Font.xs
  7. 0 src/TTF/objects/TTF_font.xs
  8. +32 −0 t/core_ttf.t
  9. +1 −1 typemap
View
@@ -69,6 +69,13 @@ my %subsystems =
},
libraries => [qw( SDL SDL_image )],
},
+ TTF_Font => {
+ file => {
+ from => 'src/TTF/objects/TTF_Font.xs',
+ to => 'lib/SDL/TTF_Font.xs',
+ },
+ libraries => [qw( SDL SDL_ttf )],
+ },
OpenGL => {
file => {
from => 'src/OpenGL.xs',
View
@@ -27,6 +27,7 @@ lib/SDL/Surface.pm
lib/SDL/Timer.pm
lib/SDL/Tool/Font.pm
lib/SDL/Tool/Graphic.pm
+lib/SDL/TTF_Font.pm
lib/SDL/TTFont.pm
lib/SDL/Tutorial.pm
lib/SDL/Tutorial/Animation.pm
@@ -105,6 +106,7 @@ t/colorpm.t
t/constantspm.t
t/core_rect.t
t/core_surface.t
+t/core_ttf.t
t/cursorpm.t
t/eventpm.t
t/extendingrect.t
View
@@ -0,0 +1,11 @@
+package SDL::TTF_Font;
+use strict;
+use warnings;
+require Exporter;
+require DynaLoader;
+our @ISA = qw(Exporter DynaLoader);
+bootstrap SDL::TTF_Font;
+
+1;
+
+__END__
Oops, something went wrong.

0 comments on commit b41abbd

Please sign in to comment.