2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
Commit Graph

26 Commits

Author SHA1 Message Date
kai771
3293acd3a3 Implements page mode as a toggle 2012-11-09 00:58:40 +01:00
kai771
57ce4b201f separates configurable options from the code 2012-11-04 14:19:21 +01:00
Tigran Aivazian
aeb6248424 Merge pull request #515 from kai771/rtl_mode
implements rtl_mode
2012-11-03 12:46:58 -07:00
kai771
cb1b0cdfb0 enables rtl_mode for picviewer too 2012-11-02 19:40:03 +01:00
kai771
c83b8b3c88 changes shortcut Alt-R to U 2012-11-01 18:23:38 +01:00
kai771
424e29e7e4 changes shortcut R to Alt-R 2012-11-01 17:34:33 +01:00
Tigran Aivazian
83fb0cd69b Add simple memory usage indicator.
The function memUsage() parses the file "/proc/self/status" and extracts
the sizes (in KB) of RSS, Data, Stack, Lib and TotalVM.
These are displayed when Menu button is pressed inside readers.
2012-11-01 10:58:17 +00:00
kai771
a127ec2c47 implements rtl_mode 2012-10-31 21:45:23 +01:00
kai771
a4322e44b9 fixes :setDefaults for other readers 2012-10-27 23:56:11 +02:00
Tigran Aivazian
9bd6a4c63a Delete Alt-R command in picviewer and crereader 2012-10-20 13:56:41 +01:00
Tigran Aivazian
cd5324c141 Use Alt-H/J and Alt-K/L instead of Alt-fiveway
On Kindle (unlike the emulator) the Alt + fiveway keys don't work, so I
have substituted them with Alt-H/J and Alt-K/L.
2012-10-15 15:22:09 +01:00
Tigran Aivazian
9fd7e36b07 Minor cleanups to bookmarks cycle feature
1. Use local variable bm in the command handler
2. Delete the correct command group in picture viewer module
2012-10-15 14:29:35 +01:00
Dobrica Pavlinušić
9d9fdf3ce2 Merge pull request #444 from tigran123/toc-cycle
Add TOC entry cycle via Alt-Left/Alt-Right keys.
2012-10-15 06:22:06 -07:00
Tigran Aivazian
e63a6cb8fe Use MOD_ALT modifier when deleting a group 2012-10-15 11:54:38 +01:00
Tigran Aivazian
50d7594d7f Add TOC cycling via Alt-Left/Alt-Right
When pressing Alt-Left/Alt-Right keys the jump is made to the
previous/next TOC entry respectively.
The jump is NOT recorded in the jump history.
2012-10-15 11:45:30 +01:00
Qingping Hou
4634c8e165 remove bookmark jumping shortcut in picviewer 2012-10-14 14:42:52 +08:00
Dobrica Pavlinušić
333360af0b Merge pull request #434 from tigran123/settings-part2
Provide :setDefaults() for overriding defaults
2012-10-13 06:34:48 -07:00
Tigran Aivazian
59cfb63ea4 Disable 10-deg rotation and history commands
At the moment PICViewer does not support rotation by arbitrary angle
(only 90 degrees), so the commands Shift-J/Shift-K should be disabled.
Also, jump history (Back/Shift-Back) commands are disabled.
2012-10-13 14:20:34 +01:00
Tigran Aivazian
d2a350eca8 Delete commands which make no sense for PICViewer 2012-10-13 13:26:06 +01:00
Tigran Aivazian
5b2ffc7a53 Provide :setDefaults() for overriding defaults
Because we re-use the same instance of UniReader object (i.e. PDFReader,
DJVUReader, CREReader and PICViewer) we have to re-initialize the
defaults on closing the document. The clean way to do this which allows
to keep the default values in a single place is in a :setDefaults()
method which this commit provides, together with the example of usage in
DJVUReader and PICViewer.
2012-10-13 10:42:21 +01:00
Tigran Aivazian
081172a2ae Cleanup Menu info for images.
1. Don't show document cache as there is no such thing for PICViewer
2. Show the image size (in K) in brackets next to the resolution as that
is where it logically belongs.
2012-10-13 09:36:37 +01:00
Tigran Aivazian
f5ac464369 Override some of UniReader's defaults in PICViewer
For the picture viewer we want to disable showing grey boxes on page
overlaps and underlining of the links (because there aren't any).
2012-10-12 19:43:42 +01:00
Tigran Aivazian
669d84df18 Show the number of colour components via Menu. 2012-10-11 22:22:45 +01:00
Tigran Aivazian
ba84bb56d3 Use the local copy of the global G_width variable. 2012-10-10 13:55:38 +01:00
Tigran Aivazian
a68407a770 Add image info to the Menu status top bar. 2012-10-10 13:22:28 +01:00
Tigran Aivazian
30de5e0a23 Initial commit of picviewer. 2012-10-08 16:39:03 +01:00