mirror of https://github.com/koreader/koreader
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3274183466
* Input: Don't create a new TimeVal object for input frame timestamps, just promote our existing table by assigning it the `TimeVal` metatable. * TimeVal: Export (const) `zero` & `huge` TimeVal objects, because they're common enough in our codebase. (NOTE: not actually const, that's a Lua 5.4 feature ;p). * GestureDetector: Explain the behavior of the `last_tevs` & `first_tevs` tables, and why one needs a new object and not the other. * Speaking of, simplify the copy method for `first_tevs`, because it doesn't need to create a new TimeVal object, we can just reference the original, it's unique and re-assigned for each frame. |
3 years ago | |
---|---|---|
.. | ||
data | 3 years ago | |
elements | 3 years ago | |
message | 3 years ago | |
network | 3 years ago | |
plugin | 4 years ago | |
widget | 3 years ago | |
bidi.lua | 4 years ago | |
cloudmgr.lua | 3 years ago | |
downloadmgr.lua | 3 years ago | |
event.lua | 3 years ago | |
font.lua | 4 years ago | |
geometry.lua | 3 years ago | |
gesturerange.lua | 3 years ago | |
hook_container.lua | 3 years ago | |
language.lua | 3 years ago | |
menusorter.lua | 4 years ago | |
otamanager.lua | 3 years ago | |
quickstart.lua | 3 years ago | |
renderimage.lua | 3 years ago | |
rendertext.lua | 3 years ago | |
screensaver.lua | 3 years ago | |
size.lua | 3 years ago | |
timeval.lua | 3 years ago | |
translator.lua | 3 years ago | |
trapper.lua | 3 years ago | |
uimanager.lua | 3 years ago | |
wikipedia.lua | 3 years ago |