… | |
… | |
47 | |
47 | |
48 | if (@ARGV) { |
48 | if (@ARGV) { |
49 | $viewer->load_image ($ARGV[0]); |
49 | $viewer->load_image ($ARGV[0]); |
50 | |
50 | |
51 | if (@ARGV > 1) { |
51 | if (@ARGV > 1) { |
52 | $schnauzer->set_files (\@ARGV); |
52 | $schnauzer->set_paths (\@ARGV); |
53 | } |
53 | } |
54 | } |
54 | } |
55 | |
55 | |
56 | $viewer->show_all; |
56 | $viewer->show_all; |
57 | |
57 | |
58 | main Gtk2; |
58 | main Gtk2; |
59 | |
59 | |
|
|
60 | =head1 NAME |
60 | |
61 | |
|
|
62 | cv - a fast gtk+ image viewer modeled after xv |
|
|
63 | |
|
|
64 | =head1 SYNOPSIS |
|
|
65 | |
|
|
66 | cv [file...] |
|
|
67 | |
|
|
68 | =head1 DESCRIPTION |
|
|
69 | |
|
|
70 | None yet. |
|
|
71 | |
|
|
72 | =head2 THE IMAGE WINDOW |
|
|
73 | |
|
|
74 | You can use the following keys in the image window: |
|
|
75 | |
|
|
76 | q quit the program |
|
|
77 | < half the image size |
|
|
78 | > double the image size |
|
|
79 | , shrink the image by 10% |
|
|
80 | . enlarge the image by 10% |
|
|
81 | n reset to normal size |
|
|
82 | m maximize to screensize |
|
|
83 | M maxime to screensize, respecting image aspect |
|
|
84 | u uncrop |
|
|
85 | r set scaling mode to 'nearest' (fastest) |
|
|
86 | s set scaling mode to 'bilinear' (default) |
|
|
87 | S set scaling mode to 'hyper' (slowest) |
|
|
88 | t rotate clockwise 90° |
|
|
89 | T rotate counterclockwise° |
|
|
90 | ctrl-v open a new visual schnauzer window for the current dir |
|
|
91 | |
|
|
92 | The following keys are redirected to the default visual schnauzer window: |
|
|
93 | |
|
|
94 | space next image |
|
|
95 | backspace last image |
|
|
96 | |
|
|
97 | =head2 THE VISUAL SCHNAUZER |
|
|
98 | |
|
|
99 | You can use the following keys in the schnauzer window: |
|
|
100 | |
|
|
101 | space move to and display next image |
|
|
102 | backspace move to and display previous image |
|
|
103 | return display selected picture |
|
|
104 | |
|
|
105 | cursor keys move selection |
|
|
106 | page-up move one page up |
|
|
107 | page-down move one page down |
|
|
108 | home move to first file |
|
|
109 | end move to last file |
|
|
110 | |
|
|
111 | ctrl-g generate icons for the selected files |
|
|
112 | ctrl-d delete selected files WITHOUT ASKING AGAIN |
|
|
113 | |
|
|
114 | =head1 BUGS/TODO |
|
|
115 | |
|
|
116 | rotate on disk |
|
|
117 | print |
|
|
118 | lots of ui issues |
|
|
119 | save(?) |
|
|
120 | preferences |
|
|
121 | ctrl-u in schnauzer |
|
|
122 | shift-cursor in schnauzer |
|
|
123 | |
|
|
124 | =head1 AUTHOR |
|
|
125 | |
|
|
126 | Marc Lehmann <cv@plan9.de>. |
|
|
127 | |
|
|
128 | =cut |
|
|
129 | |