2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
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.
2014-11-30 11:50:51 +00:00
..
container unify color specification 2014-10-24 13:48:42 +02:00
bboxwidget.lua adapt widgets to new refresh/repaint API 2014-11-30 00:17:50 +00:00
button.lua adapt widgets to new refresh/repaint API 2014-11-30 00:17:50 +00:00
buttondialog.lua Refactoring hardware abstraction 2014-11-02 21:19:04 +01:00
buttontable.lua switch from scaleByDPI() to scaleBySize() 2014-11-23 12:13:32 +00:00
closebutton.lua cleanup: expand tab to 4 spaces 2014-03-13 21:52:43 +08:00
configdialog.lua reader config dialog: properly refresh config pane 2014-11-30 11:50:51 +00:00
confirmbox.lua Refactoring hardware abstraction 2014-11-02 21:19:04 +01:00
dictquicklookup.lua adapt widgets to new refresh/repaint API 2014-11-30 00:17:50 +00:00
eventlistener.lua cleanup: expand tab to 4 spaces 2014-03-13 21:52:43 +08:00
filechooser.lua fix calculation of widget height of filechooser 2014-11-25 17:49:46 +08:00
fixedtextwidget.lua Refactoring hardware abstraction 2014-11-02 21:19:04 +01:00
focusmanager.lua adapt widgets to new refresh/repaint API 2014-11-30 00:17:50 +00:00
horizontalgroup.lua cleanup: expand tab to 4 spaces 2014-03-13 21:52:43 +08:00
horizontalspan.lua cleanup: expand tab to 4 spaces 2014-03-13 21:52:43 +08:00
iconbutton.lua adapt widgets to new refresh/repaint API 2014-11-30 00:17:50 +00:00
imagewidget.lua allow image widgets to do alpha-blitting 2014-11-28 15:37:11 +00:00
infomessage.lua Refactoring hardware abstraction 2014-11-02 21:19:04 +01:00
inputdialog.lua adapt widgets to new refresh/repaint API 2014-11-30 00:17:50 +00:00
inputtext.lua adapt widgets to new refresh/repaint API 2014-11-30 00:17:50 +00:00
linewidget.lua unify color specification 2014-10-24 13:48:42 +02:00
linkbox.lua Refactoring hardware abstraction 2014-11-02 21:19:04 +01:00
logindialog.lua adapt widgets to new refresh/repaint API 2014-11-30 00:17:50 +00:00
menu.lua adapt widgets to new refresh/repaint API 2014-11-30 00:17:50 +00:00
multiinputdialog.lua adapt widgets to new refresh/repaint API 2014-11-30 00:17:50 +00:00
notification.lua Refactoring hardware abstraction 2014-11-02 21:19:04 +01:00
opdsbrowser.lua OPDS: ignore links with unknown rel values, treat empty rel as rel="subsection". 2014-11-29 11:15:41 +01:00
overlapgroup.lua cleanup: expand tab to 4 spaces 2014-03-13 21:52:43 +08:00
pathchooser.lua add set download directory option when downloading files from OPDSCatalog 2014-09-10 13:27:15 +08:00
progresswidget.lua unify color specification 2014-10-24 13:48:42 +02:00
rectspan.lua cleanup: expand tab to 4 spaces 2014-03-13 21:52:43 +08:00
scrolltextwidget.lua adapt widgets to new refresh/repaint API 2014-11-30 00:17:50 +00:00
textboxwidget.lua Refactoring hardware abstraction 2014-11-02 21:19:04 +01:00
textwidget.lua Refactoring hardware abstraction 2014-11-02 21:19:04 +01:00
toggleswitch.lua adapt widgets to new refresh/repaint API 2014-11-30 00:17:50 +00:00
touchmenu.lua adapt widgets to new refresh/repaint API 2014-11-30 00:17:50 +00:00
verticalgroup.lua cleanup: expand tab to 4 spaces 2014-03-13 21:52:43 +08:00
verticalscrollbar.lua unify color specification 2014-10-24 13:48:42 +02:00
verticalspan.lua cleanup: expand tab to 4 spaces 2014-03-13 21:52:43 +08:00
virtualkeyboard.lua adapt widgets to new refresh/repaint API 2014-11-30 00:17:50 +00:00
widget.lua cleanup: expand tab to 4 spaces 2014-03-13 21:52:43 +08:00