2
0
mirror of https://github.com/koreader/koreader synced 2024-11-16 06:12:56 +00:00
koreader/frontend/ui/widget
NiLuJe df0bbc9db7
Tame some ButtonTable users into re-using Buttontable instances if possible (#7166)
* QuickDictLookup, ImageViewer, NumberPicker: Smarter `update` that will re-use most of the widget's layout instead of re-instantiating all the things.
* SpinWidget/DoubleSpinWidget: The NumberPicker change above renders a hack to preserve alpha on these widgets almost unnecessary. Also fixed said hack to also apply to the center, value button.

* Button: Don't re-instantiate the frame in setText/setIcon when unnecessary (e.g., no change at all, or no layout change).
* Button: Add a refresh method that repaints and refreshes a *specific* Button (provided it's been painted once) all on its lonesome.

* ConfigDialog: Free everything that's going to be re-instatiated on update
 
* A few more post #7118 fixes:
  * SkimTo: Always flag the chapter nav buttons as vsync
  * Button: Fix the highlight on rounded buttons when vsync is enabled (e.g., it's now entirely visible, instead of showing a weird inverted corner glitch).
  * Some more heuristic tweaks in Menu/TouchMenu/Button/IconButton
* ButtonTable: fix the annoying rounding issue I'd noticed in #7054 ;).

* Enable dithering in TextBoxWidget (e.g., in the Wikipedia full view). This involved moving the HW dithering align fixup to base, where it always ought to have been ;).

* Switch a few widgets that were using "partial" on close to "ui", or, more rarely, "flashui". The intent being to limit "partial" purely to the Reader, because it has a latency cost when mixed with other refreshes, which happens often enough in UI ;).

* Minor documentation tweaks around UIManager's `setDirty` to reflect that change.

* ReaderFooter: Force a footer repaint on resume if it is visible (otherwise, just update it).
* ReaderBookmark: In the same vein, don't repaint an invisible footer on bookmark count changes.
2021-01-29 00:20:15 +01:00
..
container Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
bboxwidget.lua Add support for physical button for page crop (#6091) 2020-04-25 09:03:19 +02:00
bookstatuswidget.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
button.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
buttondialog.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
buttondialogtitle.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
buttonprogresswidget.lua [UX] Use a full-width plus for buttons paired with a unicode minus (#7018) 2020-12-20 20:47:40 +01:00
buttontable.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
checkbutton.lua Revamp "flash_ui" handling (#7118) 2021-01-10 01:51:09 +01:00
checkmark.lua
closebutton.lua
configdialog.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
confirmbox.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
datewidget.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
dictquicklookup.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
doublespinwidget.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
eventlistener.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
filechooser.lua Bump base to bring in a few fixes & cleanups (#6753) 2020-10-05 16:34:46 +02:00
fixedtextwidget.lua
focusmanager.lua [feat] FocusManager: wrap around horizontally (#6315) 2020-06-27 08:43:28 +02:00
footnotewidget.lua Footnote popups: allow setting an absolute font size 2020-09-18 18:09:54 +02:00
frontlightwidget.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
horizontalgroup.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
horizontalspan.lua
htmlboxwidget.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
iconbutton.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
iconwidget.lua IconWidget: fix user icons directory path (#7019) 2020-12-20 20:45:55 +01:00
imageviewer.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
imagewidget.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
infomessage.lua ConfigDialog: temporarily hide when showing SpinWidgets 2021-01-12 00:34:30 +01:00
inputdialog.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
inputtext.lua Notification: closed by any event, but not consuming it 2021-01-12 00:34:30 +01:00
keyboardlayoutdialog.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
keyvaluepage.lua Revamp "flash_ui" handling (#7118) 2021-01-10 01:51:09 +01:00
linewidget.lua
linkbox.lua
listview.lua
logindialog.lua Floor dimension computations (mul/div). (#6264) 2020-06-13 01:56:36 +02:00
menu.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
multiconfirmbox.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
multiinputdialog.lua Floor dimension computations (mul/div). (#6264) 2020-06-13 01:56:36 +02:00
naturallightwidget.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
networksetting.lua NetworkManager: Slightly more accurate wifi strength icons (#7020) 2020-12-21 18:48:33 +01:00
notification.lua Notification: closed by any event, but not consuming it 2021-01-12 00:34:30 +01:00
numberpickerwidget.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
opdsbrowser.lua [feat] Support mimetypes in DocumentRegistry:hasProvider() (#7155) 2021-01-17 09:22:48 +01:00
openwithdialog.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
overlapgroup.lua Statistics: new Calendar view (#5854) 2020-02-12 23:05:18 +01:00
pathchooser.lua PathChooser: fetch 'show_hidden' setting on each use (#5923) 2020-03-06 21:10:01 +01:00
physicalkeyboard.lua
progresswidget.lua Hide non-linear fragments 2020-11-18 18:28:47 +01:00
qrmessage.lua Qrcode support (#6844) 2020-11-04 18:59:39 +01:00
qrwidget.lua Qrcode support (#6844) 2020-11-04 18:59:39 +01:00
radiobutton.lua Revamp "flash_ui" handling (#7118) 2021-01-10 01:51:09 +01:00
radiobuttontable.lua Open with: add Text Editor plugin 2020-08-29 20:07:26 +02:00
rectspan.lua
screensaverwidget.lua
screenshoter.lua Screenshot: use month number instead of name (#6062) 2020-04-22 09:07:48 +02:00
scrollhtmlwidget.lua DictQuickLookup: allow continuous reading with keys 2021-01-10 01:14:48 +01:00
scrolltextwidget.lua DictQuickLookup: allow continuous reading with keys 2021-01-10 01:14:48 +01:00
sortwidget.lua SortWidget: Fix moving of items over several positions 2020-10-05 18:22:47 +02:00
spinwidget.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
textboxwidget.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
textviewer.lua
textwidget.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
timewidget.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
toggleswitch.lua ConfigDialog: temporarily hide when showing SpinWidgets 2021-01-12 00:34:30 +01:00
touchmenu.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
trapwidget.lua
verticalgroup.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 2021-01-29 00:20:15 +01:00
verticalscrollbar.lua Text/HTML widgets: allow scrolling with the scrollbar 2020-08-26 23:43:10 +02:00
verticalspan.lua
virtualkeyboard.lua Assorted fixes after #7118 (#7161) 2021-01-18 16:51:25 +01:00
widget.lua