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

30 Commits

Author SHA1 Message Date
HW
2154e7e852 Further refactoring
This should finish the work to make all globals to local variables.
That allows LuaJIT to properly compile things by interning the
references to the relevant parts (rather than looking up globals
all the time which stops a trace).
2013-10-22 17:11:31 +02:00
HW
ef111b99c6 Refactored to use strictly locals 2013-10-18 22:38:07 +02:00
chrox
aac1509c21 check dimension restraint on regional refresh request 2013-10-16 20:52:32 +08:00
chrox
3f3e434157 rescale font size when fallbacks to fallback fonts
and make FreeSerif font the default font instead of DroidSansFallback

This patch should fix #272.
2013-10-16 12:22:53 +08:00
chrox
668e84290e fix fractional pix returned by scaleByDPI 2013-07-28 16:05:51 +08:00
chrox
08a1422ad4 fix regional screen refresh 2013-07-22 23:38:18 +08:00
chrox
0c9c4d7af1 fix regional screen refresh 2013-07-22 23:28:35 +08:00
chrox
ee6c93a516 add regional screen refresh support
and waveform mode can be specified when calling screen refresh
2013-07-22 22:04:54 +08:00
chrox
703e9da698 add 90 degrees of landscape mode 2013-07-13 13:54:29 +08:00
Giorgio Micotti
c91e3834bb Added detection of single kobo models. Also a script to launch koreader is included and the related Makefile changes. 2013-07-10 09:10:38 +02:00
Qingping Hou
495a173ed0 add scaleByDPI and use it in touchmenu 2013-03-15 19:42:20 -04:00
Qingping Hou
a655219eba move adjustGesCoordinate from Screen to GestureDetector
also adjust swipe direction according to screen view mode
2013-02-19 11:13:24 +08:00
Qingping Hou
3f918c3018 get correct screen width in Screen.lua 2013-02-18 15:49:53 +08:00
{Qingping,Dave} Hou
85b4d60efc Merge pull request #735 from chrox/ui-tweaks
set menu font size according to screen dpi
2013-02-05 19:40:54 -08:00
Qingping Hou
681c788971 fix bug for touch event coordinates handling in landscape mode
This fix might only work for KPW, need to test on other devies
later.
2013-02-04 14:56:22 +08:00
Qingping Hou
0dba667937 rename setScreenViewMode to setScreenMode 2013-02-03 13:13:46 +08:00
Qingping Hou
2218d3bd73 add getScreenMode in screen.lua 2013-02-03 13:10:11 +08:00
chrox
25bcbfa53a set menu font size according to screen dpi 2013-02-03 05:16:19 +08:00
Qingping Hou
d0ffb09489 fix adjustGesCoordinate 2013-02-03 04:47:34 +08:00
Qingping Hou
dd7e26a986 fix crash in goint into screen saver 2013-02-02 16:37:48 +08:00
Qingping Hou
d4ff6f9291 first demo of screen rotate 2013-02-02 14:36:29 +08:00
Qingping Hou
68cc9b9cf4 Screen:saveCurrentBB: pass pitch on creating new blitbuffer 2013-01-10 12:01:05 +08:00
Qingping Hou
e02c88a929 add getPitch method to screen.lua 2013-01-10 11:31:03 +08:00
Qingping Hou
271701edfe screensaver and usbplugin events support 2012-06-14 01:52:08 +08:00
Qingping Hou
51ed793d14 add screen rotate support 2012-06-13 00:14:23 +08:00
Qingping Hou
07d6f66565 fix screen rotation mode restore for native system 2012-06-12 12:13:51 +08:00
Qingping Hou
937a91c297 fix fb:getOrientation method, adjust mode numbering
also use it in screen.lua
2012-06-11 00:09:23 +08:00
HW
ce5614ef6f cleanup, also removal of G_* constants
a bit of cleanup, switched width/height combo over to use
Geom() objects, moved framebuffer handling to Screen object,
callback syntax sanitizing, lots of small changes
2012-06-10 17:36:19 +02:00
HW
60ccd7441e fixed menu info displaying, replaced debug() by DEBUG()
the replacement of debug() was necessary to be able to access the lua library "debug" (for backtraces etc.)
2012-05-28 18:59:16 +02:00
HW
9e531fc2db file reorganisation
all lua frontend files are now in the frontend/ directory.
all old code is cleaned up.
2012-05-19 01:10:57 +02:00