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.
koreader/frontend
Hans-Werner Hilse 6793a4fee1 reader config dialog: properly refresh config pane
This serves as a good example for the way refreshes are done:
setDirty("all", function() ... end)
* the "all" will have all widgets on screen repainted.
  In this case that is needed because the config pane has
  different sizes, covering different parts of underlying
  widgets. So they need to be repainted every time.
* the function will return the area to refresh and is evaluated
  after painting. In this example, we take the area that is covered
  by the config pane before switching it (if present at all), and
  hand it to the refresh area function as an upvalue.
  When the function is called later after painting, it will
  use that saved area and combine it with the area that is covered
  then by the widget. That way, parts that are covered no more are
  included in the refresh area, too.
10 years ago
..
apps adapt widgets to new refresh/repaint API 10 years ago
device Revert "smaller viewport for Kobo H2O (bezel overlaps bottom)" 10 years ago
document refactoring readerbookmark to show both bookmarks and highlights 10 years ago
ui reader config dialog: properly refresh config pane 10 years ago
JSON.lua revert JSON hack since the unusual utf8 representation is fixed 11 years ago
MD5.lua make functions in MD5 implementation local 10 years ago
cache.lua fix cache implementation 10 years ago
cacheitem.lua cleanup: expand tab to 4 spaces 10 years ago
configurable.lua hold on config panel option to set default option 10 years ago
dbg.lua factor out dump() function, handle reference loops 10 years ago
device.lua Refactoring hardware abstraction 10 years ago
docsettings.lua factor out dump() function, handle reference loops 10 years ago
dump.lua fix dump() recursion detection 10 years ago
gettext.lua gettext: unescape \n 10 years ago
luxl.lua treate quoted slash as plain text in attribute value 10 years ago
optmath.lua cleanup: expand tab to 4 spaces 10 years ago
up_reg.list adapt widgets to new refresh/repaint API 10 years ago