Please add text dimensions for manual align ability.
--- /usr/local/lib/perl/5.10.1/SDLx/Text.pm	2011-02-21 22:00:26.000000000 +0300
+++ lib/SDLx/Text.pm	2011-02-24 22:20:30.000000000 +0300
@@ -86,4 +86,12 @@
 	return;
 }
 
+sub w {
+    return $_[0]->{surface}->w;
+}
+    
+sub h {
+    return $_[0]->{surface}->h;
+}
+
 1;

Reply via email to