ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/CV/bin/cv
(Generate patch)

Comparing CV/bin/cv (file contents):
Revision 1.62 by root, Tue Oct 4 04:55:47 2005 UTC vs.
Revision 1.63 by root, Tue Oct 4 05:06:39 2005 UTC

70 } else { 70 } else {
71 &std_keys 71 &std_keys
72 or $schnauzer->signal_emit (key_press_event => $_[1]) 72 or $schnauzer->signal_emit (key_press_event => $_[1])
73 } 73 }
74 }); 74 });
75 $self->signal_connect (delete_event => sub { $_[0]->destroy; 0 });
75 $self->signal_connect (destroy => sub { 76 $self->signal_connect (destroy => sub {
76 $viewer = undef if $viewer == $_[0]; 77 $viewer = undef if $viewer == $_[0];
77 78
78 main_quit Gtk2 unless --$viewer_count; 79 main_quit Gtk2 unless --$viewer_count;
80
81 0
79 }); 82 });
80 83
81 $self->signal_connect (button3_press_event => sub { 84 $self->signal_connect (button3_press_event => sub {
82 $mainwin->visible 85 $mainwin->visible
83 ? $mainwin->hide 86 ? $mainwin->hide
84 : $mainwin->show_all; 87 : $mainwin->show_all;
88
85 1 89 1
86 }); 90 });
87 91
88 Gtk2::CV::Plugin->call (new_imagewindow => $self); 92 Gtk2::CV::Plugin->call (new_imagewindow => $self);
89 93
293 s set scaling mode to 'bilinear' (default) 297 s set scaling mode to 'bilinear' (default)
294 shift-s set scaling mode to 'hyper' (slowest) 298 shift-s set scaling mode to 'hyper' (slowest)
295 t rotate clockwise 90° 299 t rotate clockwise 90°
296 T rotate counterclockwise° 300 T rotate counterclockwise°
297 ctrl-v open a new visual schnauzer window for the current dir 301 ctrl-v open a new visual schnauzer window for the current dir
302 ctrl-c clone the current image window
298 ctrl-e run an editor ($CV_EDITOR or "gimp") on the current image 303 ctrl-e run an editor ($CV_EDITOR or "gimp") on the current image
299 ctrl-p fire up the print dialog 304 ctrl-p fire up the print dialog
300 escape cancel a crop action 305 escape cancel a crop action
301 306
302And when playing movies, these additional keys are active: 307And when playing movies, these additional keys are active:
319Left-clicking into the image window will let you crop the image (usually 324Left-clicking into the image window will let you crop the image (usually
320to zoom into large images that CV scales down). 325to zoom into large images that CV scales down).
321 326
322=head2 THE VISUAL SCHNAUZER 327=head2 THE VISUAL SCHNAUZER
323 328
329Any image-loading action in a schnauzer window acts on the
330"last-recently-activated" imagewindow, which currently is simply the last
331image window that received a keypress.
332
324You can use the following keys in the schnauzer window: 333You can use the following keys in the schnauzer window:
325 334
326 ctrl-space, 335 ctrl-space,
327 space move to and display next image 336 space move to and display next image
328 ctrl-backspace, 337 ctrl-backspace,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines