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
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.
3 years ago
..
data Address assorted Weblate comments (#7154) 3 years ago
elements Address assorted Weblate comments (#7154) 3 years ago
message [doc] Tag @todo, @fixme and @warning (#5244) 5 years ago
network [reMarkable] Don't need to keep attempting WiFi connection after success (#7121) 3 years ago
plugin Tame BackgroundRunner: stop running when no more job (#6605) 4 years ago
widget Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 3 years ago
bidi.lua [RTL UI] Bidi-wrap filenames, paths, urls, metadata 4 years ago
cloudmgr.lua [feat] Synchronize local folder with dropbox (#5591) 5 years ago
downloadmgr.lua Calibre plugin fixes for android (#6996) 4 years ago
event.lua [doc] Add internal documentation references (#5285) 5 years ago
font.lua Font menu: show font names with their own font 4 years ago
geometry.lua [doc] Tag @todo, @fixme and @warning (#5244) 5 years ago
gesturerange.lua Text input fixes and enhancements (#4084) 6 years ago
hook_container.lua Move kobo auto-suspension logic out of UIManager (#2933) 7 years ago
language.lua [fix] Czech is now cs, not cs_CZ (#6689) 4 years ago
menusorter.lua [fix] MenuSorter: use orderedPairs for orphans (#6403) 4 years ago
opdsparser.lua Deal with hr/br in a single gsub call (#6995) 4 years ago
otamanager.lua Various Wi-Fi QoL improvements (#6424) 4 years ago
quickstart.lua Quickstart: add long press sets default (#7048) 4 years ago
renderimage.lua Update UI layout code to use new SVG icons 4 years ago
rendertext.lua More Android trickery (#7059) 4 years ago
screensaver.lua ScreenSaver: Unbreak "disable" mode (#7124) 3 years ago
size.lua UI: Make button radius match default window radius (#7054) 4 years ago
timeval.lua [fix] TimeVal: add dbg:guard against incorrect subtraction order (#4669) 5 years ago
translator.lua Minor util & ffi/util cleanups (#6657) 4 years ago
trapper.lua Dict, Trapper: prevent dismissal by past events 3 years ago
uimanager.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 3 years ago
wikipedia.lua Cleanup eye-gouging madness around io.read calls (#7149) 3 years ago