Refactored to use strictly locals

This commit is contained in:
HW
2013-10-18 22:38:07 +02:00
parent 8efdff65d3
commit ef111b99c6
107 changed files with 1987 additions and 1654 deletions

View File

@@ -1,4 +1,8 @@
ReaderPanning = InputContainer:new{
local InputContainer = require("ui/widget/container/inputcontainer")
local Device = require("ui/device")
local _ = require("gettext")
local ReaderPanning = InputContainer:new{
-- defaults
panning_steps = {
normal = 50,
@@ -42,3 +46,5 @@ function ReaderPanning:onPanning(args, key)
dy * self.panning_steps.normal * self.dimen.h / 100)
return true
end
return ReaderPanning