Logo
Explore Help
Sign In
renun/koreader
1
0
Fork 0
You've already forked koreader
mirror of https://github.com/koreader/koreader.git synced 2025-08-10 00:52:38 +00:00
Code Issues Actions Packages Projects Releases Wiki Activity
Files
aadbca416bb5e79bf074bddbcc8d94a3fc1101ac
koreader/frontend/ui/screen.lua

3 lines
57 B
Lua
Raw Normal View History

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
-- compatibility wrapper
Refactoring hardware abstraction This is a major overhaul of the hardware abstraction layer. A few notes: General platform distinction happens in frontend/device.lua which will delegate everything else to frontend/device/<platform_name>/device.lua which should extend frontend/device/generic/device.lua Screen handling is implemented in frontend/device/screen.lua which includes the *functionality* to support device specifics. Actually setting up the device specific functionality, however, is done in the device specific setup code in the relevant device.lua file. The same goes for input handling.
2014-10-30 19:42:18 +01:00
return require("device").screen
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 37ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API