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/ui/widget
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
..
container unify color specification 10 years ago
bboxwidget.lua adapt widgets to new refresh/repaint API 10 years ago
button.lua adapt widgets to new refresh/repaint API 10 years ago
buttondialog.lua Refactoring hardware abstraction 10 years ago
buttontable.lua switch from scaleByDPI() to scaleBySize() 10 years ago
closebutton.lua cleanup: expand tab to 4 spaces 10 years ago
configdialog.lua reader config dialog: properly refresh config pane 10 years ago
confirmbox.lua Refactoring hardware abstraction 10 years ago
dictquicklookup.lua adapt widgets to new refresh/repaint API 10 years ago
eventlistener.lua cleanup: expand tab to 4 spaces 10 years ago
filechooser.lua fix calculation of widget height of filechooser 10 years ago
fixedtextwidget.lua Refactoring hardware abstraction 10 years ago
focusmanager.lua adapt widgets to new refresh/repaint API 10 years ago
horizontalgroup.lua cleanup: expand tab to 4 spaces 10 years ago
horizontalspan.lua cleanup: expand tab to 4 spaces 10 years ago
iconbutton.lua adapt widgets to new refresh/repaint API 10 years ago
imagewidget.lua allow image widgets to do alpha-blitting 10 years ago
infomessage.lua Refactoring hardware abstraction 10 years ago
inputdialog.lua adapt widgets to new refresh/repaint API 10 years ago
inputtext.lua adapt widgets to new refresh/repaint API 10 years ago
linewidget.lua unify color specification 10 years ago
linkbox.lua Refactoring hardware abstraction 10 years ago
logindialog.lua adapt widgets to new refresh/repaint API 10 years ago
menu.lua adapt widgets to new refresh/repaint API 10 years ago
multiinputdialog.lua adapt widgets to new refresh/repaint API 10 years ago
notification.lua Refactoring hardware abstraction 10 years ago
opdsbrowser.lua OPDS: ignore links with unknown rel values, treat empty rel as rel="subsection". 10 years ago
overlapgroup.lua cleanup: expand tab to 4 spaces 10 years ago
pathchooser.lua add set download directory option when downloading files from OPDSCatalog 10 years ago
progresswidget.lua unify color specification 10 years ago
rectspan.lua cleanup: expand tab to 4 spaces 10 years ago
scrolltextwidget.lua adapt widgets to new refresh/repaint API 10 years ago
textboxwidget.lua Refactoring hardware abstraction 10 years ago
textwidget.lua Refactoring hardware abstraction 10 years ago
toggleswitch.lua adapt widgets to new refresh/repaint API 10 years ago
touchmenu.lua adapt widgets to new refresh/repaint API 10 years ago
verticalgroup.lua cleanup: expand tab to 4 spaces 10 years ago
verticalscrollbar.lua unify color specification 10 years ago
verticalspan.lua cleanup: expand tab to 4 spaces 10 years ago
virtualkeyboard.lua adapt widgets to new refresh/repaint API 10 years ago
widget.lua cleanup: expand tab to 4 spaces 10 years ago