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/apps/reader/modules
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
..
readeractivityindicator.lua ReaderActivityIndicator: fix isStub() 4 years ago
readerback.lua Notification: closed by any event, but not consuming it 3 years ago
readerbookmark.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 3 years ago
readerconfig.lua [RFC] Make default UI tapzones more generous (#6918) 4 years ago
readercoptlistener.lua Align wording of AltStatusBar menu to the bottom one (#7130) 3 years ago
readercropping.lua Paged documents: rework zoom options (#6885) 4 years ago
readerdevicestatus.lua Floor dimension computations (mul/div). (#6264) 4 years ago
readerdictionary.lua Prevent sdcv from interpreting search term starting with dash as an option (#7134) 3 years ago
readerdogear.lua Update UI layout code to use new SVG icons 4 years ago
readerflipping.lua Update UI layout code to use new SVG icons 4 years ago
readerfont.lua Notification: closed by any event, but not consuming it 3 years ago
readerfooter.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 3 years ago
readergoto.lua Hide non-linear fragments 4 years ago
readerhighlight.lua Notification: closed by any event, but not consuming it 3 years ago
readerhinting.lua minor(readerhinting): access document directly instead of from ui 8 years ago
readerkoptlistener.lua Paged documents: rework zoom options (#6885) 4 years ago
readerlink.lua Notification: closed by any event, but not consuming it 3 years ago
readermenu.lua Update UI layout code to use new SVG icons 4 years ago
readerpagemap.lua Reference page numbers list: highlight current page 4 years ago
readerpaging.lua Notification: closed by any event, but not consuming it 3 years ago
readerpanning.lua feat: add logger module & rewrite kobo suspend script in lua 8 years ago
readerrolling.lua Notification: closed by any event, but not consuming it 3 years ago
readerrotation.lua [doc] Tag @todo, @fixme and @warning (#5244) 5 years ago
readersearch.lua Assorted fixes after #7118 (#7161) 3 years ago
readerstatus.lua Show only 1 End Document Dialog at a time 4 years ago
readerstyletweak.lua Notification: closed by any event, but not consuming it 3 years ago
readertoc.lua Update UI layout code to use new SVG icons 4 years ago
readertypeset.lua ConfigDialog: temporarily hide when showing SpinWidgets 3 years ago
readertypography.lua ReaderTypography: fix language names order in menu (#6913) 4 years ago
readerview.lua Update UI layout code to use new SVG icons 4 years ago
readerwikipedia.lua ReaderDictionary: fix possible crash with Wikipedia 3 years ago
readerzooming.lua KOPT bottom menu: hide it when applying Zoom options 3 years ago