/[VRac]/Screen.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /Screen.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 143 by dpavlin, Sun Aug 5 01:34:40 2007 UTC revision 145 by dpavlin, Sun Aug 5 13:27:27 2007 UTC
# Line 49  sub open_screen { Line 49  sub open_screen {
49          );          );
50          #$app->grab_input( SDL_GRAB_QUERY );          #$app->grab_input( SDL_GRAB_QUERY );
51          $app->grab_input( SDL_GRAB_OFF );          $app->grab_input( SDL_GRAB_OFF );
52            $app->title( ref($self) . ' ' . $self::VERSION );
53    
54          $self->app( $app );          $self->app( $app );
55    
# Line 262  sub key_pressed { Line 263  sub key_pressed {
263                  undef $pending_key;                  undef $pending_key;
264          }          }
265    
266          warn "key_pressed = $pending_key\n" if $pending_key;          if ( $pending_key ) {
267                    warn "key_pressed = $pending_key\n";
268                    $self->record_session('key_pressed', $pending_key);
269            }
270    
271          return $pending_key;          return $pending_key;
272  }  }

Legend:
Removed from v.143  
changed lines
  Added in v.145

  ViewVC Help
Powered by ViewVC 1.1.26