adapt widgets to new refresh/repaint API

This commit is contained in:
Hans-Werner Hilse
2014-11-30 00:12:00 +00:00
parent 229c5ad61c
commit 82c26b1f18
24 changed files with 127 additions and 93 deletions

View File

@@ -77,10 +77,9 @@ function ScrollTextWidget:onScrollText(arg, ges)
self.text_widget:scrollUp()
self:updateScrollBar(self.text_widget)
end
UIManager.update_regions_func = function()
return {self.dimen}
end
UIManager:setDirty(self.dialog, "partial")
UIManager:setDirty(self.dialog, function()
return "partial", self.dimen
end)
end
return ScrollTextWidget