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

27 Commits

Author SHA1 Message Date
NuPogodi
00c1f2ec9c New InfoMessage Concept
Part I (still no unireader, crereader, filesearcher & fileinfo)
2012-10-03 00:45:45 +02:00
Tigran Aivazian
819efb55aa Tidy up Screen:fb2bmp() function
1. Remove unused assert() around io.open of the input device. The failure
to open input device is already guarded by the "if inputf" code.
2. Remove unneeded assert() around io.open of the output device. This is
unneeded because we should not crash the whole application just because
we cannot write screen dump (e.g. because filesystem is full, etc) ---
rather we should exit gracefully.
2012-09-26 14:08:33 +01:00
Tigran Aivazian
67efe2d4ca Use util.isEmulated for screenshot. 2012-09-25 15:01:35 +01:00
Tigran Aivazian
9e3ebe9496 Show the real time, not the cpu usage spent on making screenshot. 2012-09-25 14:51:43 +01:00
Tigran Aivazian
385f74222a Create static directories at build, not runtime.
Instead of calling lfs.mkdir() to create "./history" and "./screenshots"
at runtime it is easier to create them at package build time.
I hesitated whether to add "./clipboard" to this list but decided
against it as we can perhaps change current directory and then
all the code manipulating clipboard would break, so I left it as is.
2012-09-25 13:00:34 +01:00
Tigran Aivazian
c9c89ef56d Use the proper way to detect emulation. 2012-09-18 10:07:30 +01:00
Qingping Hou
5be38246f5 fix comment in screen.lua
set default to no pack on bmp image
2012-08-26 03:19:59 +08:00
NuPogodi
c06605e86c Update master 2012-08-26 00:02:35 +08:00
NuPogodi
333537dfd6 to save screenshots as bmp (4bpp, 166dpi > fast) or pgm (8bpp, slow) 2012-08-26 00:01:57 +08:00
NuPogodi
17585c2bf4 Update master for comment on image size 2012-08-26 00:00:49 +08:00
NuPogodi
2e975fa18d Update master 2012-08-26 00:00:13 +08:00
NuPogodi
ead3355a2b Update master 2012-08-25 23:57:36 +08:00
NuPogodi
13ac163c51 save screenshots to bmp (or pgm) 2012-08-25 23:55:31 +08:00
NuPogodi
e580a7c278 Update master: fixes for BMP method 2012-08-25 23:40:35 +08:00
NuPogodi
f996a69568 add BMP and PGM methods. Use BMP in screenshot method
Update master
Conflicts:
	screen.lua
2012-08-25 23:21:03 +08:00
HW
0d12ff70cd rename debug() to Debug() to stop clashing with the debug submodule from Lua 2012-06-04 00:49:23 +02:00
NuPogodi
944a3b5b05 NuPogodi code drop from 2012-05-27
- zip files don't require double extensions any more
- filechooser has 'H' shortcut to display keys
- new function for files and folders (^ == shift)
	^N - new folder
	Del - delete document/folder
	^C - copy file into clipboard
	^X - cut (move) file to clipboard
	^V - paste files from clipboard
	^R - rename file
- configurable keyboard for input box
2012-05-28 19:19:21 +02:00
Dobrica Pavlinusic
a08c35a52c added Screen:screenshot() 2012-05-19 23:04:40 +02:00
Qingping Hou
6e72569ce2 fix: check nil argument in blitFullFrom method 2012-04-18 19:30:29 +08:00
HW
e52b4808b1 fix typo 2012-04-14 19:28:59 +02:00
Qingping Hou
ecd56a3745 mod: prefix global variables width and height with G_ 2012-04-09 15:42:19 +08:00
Qingping Hou
709e7853e4 mod: move slider event handling to global command module
Since this event must be handled in all UIs, it is
better to register it on command object construction.
2012-04-08 12:46:33 +08:00
Qingping Hou
c41e3e75a3 add: demo for fixing #85, #86 2012-04-06 13:51:37 +08:00
Qingping Hou
f95231d789 add: status bar in reading menu & font.lua
* Since fontchooser is replaced by selectmenu, it
is no longer needed. So I rewrite it into font.lua
module which can cache faces that shared among all
UIs.

* add progressBar method in graphics.lua to draw
reading progress.

* add reading progress information in reading menu.
It is just a demo. Should be clean up in next release
when the real reading menu is out. :)
2012-03-10 16:41:23 +08:00
Qingping Hou
5237ba947d fix: typo 2012-03-09 18:45:55 +08:00
Qingping Hou
319826c385 mod: screen rotation implemented by ioctl
Now you get a instance rotate :) With only one bug.
I have to restore to previous rotation state of the
native system after exists. Because the native system
does poll the new rotation state that changed by ioctl.

Currently, I don't know how to force the native system
to detect the changes.
2012-03-09 18:34:56 +08:00
Qingping Hou
f45671a747 fix: add screen.lua
forgot to add it in previous commit :(
2012-03-09 09:44:22 +08:00