Initial light control widget; final fixes for kobo light

This commit is contained in:
Giorgio Micotti
2013-08-05 23:06:26 +02:00
parent 68af46f495
commit cea353323e
5 changed files with 86 additions and 5 deletions

View File

@@ -129,14 +129,14 @@ function ReaderUI:init()
view = self[1],
ui = self
}
table.insert(self.active_widgets, reader_ss)
-- frontlight controller
local reader_fl = ReaderFrontLight:new{
dialog = self.dialog,
view = self[1],
ui = self
}
table.insert(self.active_widgets, reader_ss)
table.insert(self.active_widgets, reader_fl)
table.insert(self, reader_fl)
if self.document.info.has_pages then
-- for page specific controller