mirror of https://github.com/koreader/koreader
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.
9c4088a3ac
This eliminates the API difference between the extra parameters of UIManager:show() and setDirty(). They work the same now. Note that this also eliminates the automatic refresh that took place before when using show() without refresh options. It always refreshed the full screen, which led to too big refresh regions all over the place. Thus, refresh has now explicitly to be asked for, hopefully encouraging to implement it in the widget that gets shown (and is aware about the screen region it covers). Also add an event that is triggered when a widget is closed: CloseWidget. So a widget can implement "onCloseWidget()" to trigger actions upon closing - most commonly, this is a refresh for the area previously taken by the widget. That way, the widget's user does not have to take measures to ensure that the area is refreshed later. |
10 years ago | |
---|---|---|
.. | ||
data | 10 years ago | |
elements | 10 years ago | |
message | 10 years ago | |
widget | 10 years ago | |
downloadmgr.lua | 10 years ago | |
event.lua | 10 years ago | |
font.lua | 10 years ago | |
geometry.lua | 10 years ago | |
gesturerange.lua | 10 years ago | |
language.lua | 10 years ago | |
networkmgr.lua | 10 years ago | |
opdsparser.lua | 10 years ago | |
otamanager.lua | 10 years ago | |
rendertext.lua | 10 years ago | |
screen.lua | 10 years ago | |
screensaver.lua | 10 years ago | |
timeval.lua | 10 years ago | |
translator.lua | 10 years ago | |
uimanager.lua | 10 years ago | |
wikipedia.lua | 10 years ago |