Qingping Hou
495a173ed0
add scaleByDPI and use it in touchmenu
12 years ago
Qingping Hou
a655219eba
move adjustGesCoordinate from Screen to GestureDetector
...
also adjust swipe direction according to screen view mode
12 years ago
Qingping Hou
3f918c3018
get correct screen width in Screen.lua
12 years ago
{Qingping,Dave} Hou
85b4d60efc
Merge pull request #735 from chrox/ui-tweaks
...
set menu font size according to screen dpi
12 years ago
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.
12 years ago
Qingping Hou
0dba667937
rename setScreenViewMode to setScreenMode
12 years ago
Qingping Hou
2218d3bd73
add getScreenMode in screen.lua
12 years ago
chrox
25bcbfa53a
set menu font size according to screen dpi
12 years ago
Qingping Hou
d0ffb09489
fix adjustGesCoordinate
12 years ago
Qingping Hou
dd7e26a986
fix crash in goint into screen saver
12 years ago
Qingping Hou
d4ff6f9291
first demo of screen rotate
12 years ago
Qingping Hou
68cc9b9cf4
Screen:saveCurrentBB: pass pitch on creating new blitbuffer
12 years ago
Qingping Hou
e02c88a929
add getPitch method to screen.lua
12 years ago
Qingping Hou
271701edfe
screensaver and usbplugin events support
12 years ago
Qingping Hou
51ed793d14
add screen rotate support
12 years ago
Qingping Hou
07d6f66565
fix screen rotation mode restore for native system
12 years ago
Qingping Hou
937a91c297
fix fb:getOrientation method, adjust mode numbering
...
also use it in screen.lua
12 years ago
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
12 years ago
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.)
13 years ago
HW
9e531fc2db
file reorganisation
...
all lua frontend files are now in the frontend/ directory.
all old code is cleaned up.
13 years ago