Skip to content
Browse files

Added method doc headings

  • Loading branch information...
1 parent 91571a9 commit 3a0e0f05df043e0bbef0c418a8ba973ed919bd15 @jtpalmer jtpalmer committed Aug 12, 2012
Showing with 15 additions and 1 deletion.
  1. +9 −1 lib/SDLx/Widget/Menu.pm
  2. +6 −0 lib/SDLx/Widget/Textbox.pm
View
10 lib/SDLx/Widget/Menu.pm
@@ -219,6 +219,11 @@ sub _play {
# they need updating in each delta t.
sub update {}
+=pod
+
+=for Pod::Coverage update
+
+=cut
sub render {
my ($self, $screen) = @_;
@@ -360,6 +365,10 @@ mouse input is active.
=head2 items( 'Item 1' => \&sub1, 'Item 2' => \&sub2, ... )
+=head2 event_hook( $event )
+
+=head2 render( $surface )
+
Creates menu items, setting up callbacks for each item.
=head1 BUGS AND LIMITATIONS
@@ -378,7 +387,6 @@ Breno G. de Oliveira, C<< <garu at cpan.org> >>
Kartik thakore C<< <kthakore at cpan.org> >>
-
=head1 SEE ALSO
L<< SDL >>, L<< SDLx::App >>, L<< SDLx::Controller >>
View
6 lib/SDLx/Widget/Textbox.pm
@@ -343,6 +343,12 @@ Also know if it is focused right now.
warn 'Stop typing here!' if $textbox->focus;
+=head1 METHODS
+
+=head2 event_handler( $event )
+
+=head2 show( $surface )
+
=head1 SEE ALSO
L<< SDL >>, L<< SDLx::App >>, L<< SDLx::Controller >>

0 comments on commit 3a0e0f0

Please sign in to comment.
Something went wrong with that request. Please try again.