kiv: Add a button to switch scaling modes.

Two scaling modes (fit to the window, no scaling) were implemented
some time ago. One can switch them with not obvious shortcuts 'w' and
'=' (like in sxiv). This commit adds a button to the toolbar to do the
same.

Also, the window title now mentions the number of supported images in
the current directory, not the total number of files in it.

Align code to the kernel style guide.


git-svn-id: svn://kolibrios.org@7860 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Ivan Baravy 2020-05-04 00:27:28 +00:00
parent 78851ff66b
commit 5a520e0752
2 changed files with 342 additions and 323 deletions

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB