Bert Münnich
87a1ace8a1
(Un)mark single image through generic function
6年前
Bert Münnich
1892ed9fd7
Simplify cg_mark_range
6年前
Bert Münnich
a1165df878
Rename variable toggledidx to markidx
6年前
Bert Münnich
cc476be7cc
Remove unnecessary special cases in cg_mark_range
6年前
Daniel Lublin
6e696ba98c
Add mark range function
Sets the marked state of all images ranging from the latest marked/unmarked
image to the current image, to the state of that latest toggled image.
6年前
Bert Münnich
762420cdf1
Close image-info explicitly
7年前
phi
d5c5708110
Use argument to select between two drag methods
7年前
Bert Münnich
148026007c
One header file for type definitions and function declarations
7年前
Bert Münnich
8081cbebf3
Improve mouse support
None of the mouse mappings uses a keyboard modifier, making it possible to
access the most basic features by only using the mouse.
Next/previous image with left button depending on cursor position, middle
button for dragging, right button for switching to thumnail mode and wheel for
zooming.
Users can keep the old behaviour by simply not adapting the changes to the
buttons array in config.def.h to their config.h file.
7年前
Bert Münnich
ee908ca0a1
Simplify cursor reset in image mode
No need to give cursor name. reset_cursor() is now the only place to decide
what cursor to fall back to.
7年前
Bert Münnich
d81442f55d
Own win method for mouse cursor location
7年前
Bert Münnich
e310136e02
Mouse drag translates pointer position to image area
This makes mouse panning more direct and faster.
7年前
Bert Münnich
f75fa78eca
Make navigate_frame command respect a count prefix
9年前
Bert Münnich
d3a70a285d
Revised error handling
- Functions warn() and die() replaced by GNU-like error(3) function
- Register cleanup() with atexit(3)
- Functions called by cleanup() are marked with CLEANUP and are not allowed to
call exit(3)
9年前
Bert Münnich
e574a6d0dd
Removed feature test macro definitions from source files
9年前
Bert Münnich
5dc7993478
Simplified command arguments
10年前
Bert Münnich
47e6cd0669
Apply gamma value on thumbnails too; fixes issue #193
10年前
Bert Münnich
47af0dd7b5
Cache out of view thumbnails in the background
10年前
Bert Münnich
9b9294bae6
Use bit-field for boolean flags in fileinfo struct
10年前
Bert Münnich
0cb1d11305
Removed obsolete ss_delays array, fixes issue #191
10年前
Bert Münnich
ddd028eb3e
Unified file count variable for image & thumbnail mode
10年前
Bert Münnich
7b91e10f22
Added thumbnail zooming...
- Key mappings +/- are now general commands
- Use JPG as thumbnail cache file format instead of PNG
- Fixes issue #161
10年前
Bert Münnich
eaa269b6cb
Revised thumbnail loading...
- Only load the thumbnails that are currently visible in the window
- Unload thumbnails that are leaving the visible area
- Much less memory needed, but scrolling is now slower
- This also unintentionally fixes issue #86
10年前
Bert Münnich
2fbc21a205
Simplified img_frame_animate
10年前
Bert Münnich
95a7496edc
Fixed segfault in ci_toggle_animation, fixes issue #173
10年前
Bert Münnich
1094def183
Added command to remove all image marks, bound to Ctrl-m; fixes issue #163
10年前
Bert Münnich
e49d38d6f9
Fixed wrong thumbnail-to-file mappings caused by file deletions
10年前
Bert Münnich
e267dc7793
Pass marked files to external key handler in thumbnail mode; fixes issue #135
10年前
Bert Münnich
284be74927
Count number of marked files
10年前
Bert Münnich
5b01c15176
Unified file index variable for image & thumbnail mode
10年前
Bert Münnich
5e481912ec
Revised handling of GIF animations
- New option `-a`: Play animations at startup
- Ctrl-Space toggles animation for all GIF files
- Infinite loop for all animations
10年前
Bert Münnich
06164c29b7
Revised command structure and key and mouse button mappings
10年前
Bert Münnich
e685859a30
Use a checkerboard background for alpha layer; fixes issue #138
10年前
Bert Münnich
524d9de877
Removed fit-win-to-img command
11年前
Bert Münnich
eb82519a80
Preserve panning when switching images; fixes issue #131
11年前
Bert Münnich
e82397db15
Fixed handling of overloaded key mappings
Issue described here:
https://bbs.archlinux.org/viewtopic.php?pid=1117294#p1117294
11年前
Bert Münnich
6a0fa2507c
Slideshow mode is back, in a simplified version
11年前
Bert Münnich
f2e0c492bd
Moved external shell commands into exec/key-handler script
Gets called on all unset key mappings. Arguments are: key combo and
current file. Thanks to Francesco Orsenigo (xarvh) for the idea.
11年前
Bert Münnich
50f9ad14de
Refactored remote changes
11年前
Bastien Dejean
562197577b
Add command to reverse marked images
11年前
Bert Münnich
38bc23405d
Highlight edges of marked images in thumbnail mode
11年前
András Mohari
0353e6eea2
Add support for changing the gamma value
11年前
Peter Hofmann
b98a48576e
Warp pointer on first/last pixel
Previously, the pointer would get warped when it had left the window.
This doesn't work when sxiv is run in fullscreen mode (or similar -- see
dwm's monocle mode): The pointer can never leave the window in such
situations.
To fix this, warp the pointer when it's on the first/last pixel. To
avoid an endless warping loop, the new position must be at least one
pixel away from the next warp position.
11年前
Bert Münnich
26a624a543
Added options for anti-alias & alpha layer coloring to config.def.h
Also removed now obsolete -p command line option; fixes issue #98
11年前
Bert Münnich
fb6e4bdd98
Only print marked files when -o is given
Fallback to print all files, if no images are marked, was kind of
irritating.
11年前
Bert Münnich
7d878bd16d
Added file marks; fixes issue #94
- Command it_toggle_image_mark (bound to 'm') toggles mark of current
image
- Command it_navigate_marked (bound to 'N'/'P') can be used to go to
the next/previous marked image
- When option -o is given, all marked files get printed
11年前
Bert Münnich
56142bd3ba
Refactored merged rotation code
11年前
Bastien Dejean
7e51c35801
Handle 180 degrees image rotation
11年前
Bert Münnich
6f05e77728
New options: -[io], read/write files from/to stdin/out
Fixes issue #84
12年前
Bert Münnich
30802cec0f
Spawn info script & update bar contents only when needed
12年前