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/widget
NiLuJe d8fc28df97
Page Overlap: Fix rectangle computation and arrow mode (#7269)
* In ReaderPaging, the panning step pre-PanningUpdate can be wildly overshot near page edges, so, use the corrected value instead by recomputing it after the panning has been effectively computed by ReaderView.
This fixes slight inaccuracies, as well as glaring mistakes when going backwards, or when near page edges.
This is in line with how ReaderRolling computes the value, which I only realized later because I'm an idiot. 
* Minor cleanups around the handling of the dim_area Geom object in general.

* Fix the "Arrow" page overlap mode to be painted in the right coordinates when going backward. Issue might not have been terribly clear because of the previous issue ;).
* Center the arrow's point, while we're here.
* Don't use AlphaContainer to make it translucent, because AlphaContainer is horribly broken, and has weird quirks and behavior that make no sense to me unless some very specific and unlikely constraints are met, and they definitely aren't here.
This fixes the arrow copying an arrow-sized square of the original page the book was opened on on the top-left corner of *every* page with an arrow. (lol).
* Do real proper alpha-blending via Icon/ImageWidget from the original icon, instead of faking it via addBlitFrom, in order to avoid the dimming *around* the triangle's shape.
3 years ago
..
container Page Overlap: Fix rectangle computation and arrow mode (#7269) 3 years ago
bboxwidget.lua Add support for physical button for page crop (#6091) 4 years ago
bookstatuswidget.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 3 years ago
button.lua Button: Fix some more weird highlighting corner-cases (#7256) 3 years ago
buttondialog.lua Button: Better handling of translucent MovableContainer (#7223) 3 years ago
buttondialogtitle.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 3 years ago
buttonprogresswidget.lua [UX] Use a full-width plus for buttons paired with a unicode minus (#7018) 4 years ago
buttontable.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 3 years ago
checkbutton.lua Revamp "flash_ui" handling (#7118) 3 years ago
checkmark.lua [RTL UI] update widgets and apps for UI mirroring 5 years ago
closebutton.lua [RTL UI] update widgets and apps for UI mirroring 5 years ago
configdialog.lua ConfigDialog: Check alt_name_text if name_text isn't set, 3 years ago
confirmbox.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 3 years ago
datewidget.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 3 years ago
dictquicklookup.lua Button: Better handling of translucent MovableContainer (#7223) 3 years ago
doublespinwidget.lua Button: Better handling of translucent MovableContainer (#7223) 3 years ago
eventlistener.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 3 years ago
filechooser.lua [UX] Add ToC/Bookmarks settings 3 years ago
fixedtextwidget.lua TextWidget: small refactoring, better handle max_width (#5503) 5 years ago
focusmanager.lua [feat] FocusManager: wrap around horizontally (#6315) 4 years ago
footnotewidget.lua Footnote popups: allow setting an absolute font size 4 years ago
frontlightwidget.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 3 years ago
horizontalgroup.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 3 years ago
horizontalspan.lua cleanup: expand tab to 4 spaces 10 years ago
htmlboxwidget.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 3 years ago
iconbutton.lua Button: Fix some more weird highlighting corner-cases (#7256) 3 years ago
iconwidget.lua Page Overlap: Fix rectangle computation and arrow mode (#7269) 3 years ago
imageviewer.lua Fix a few things after #7166 (#7212) 3 years ago
imagewidget.lua Page Overlap: Fix rectangle computation and arrow mode (#7269) 3 years ago
infomessage.lua ConfigDialog: temporarily hide when showing SpinWidgets 3 years ago
inputdialog.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 3 years ago
inputtext.lua Notification: closed by any event, but not consuming it 3 years ago
keyboardlayoutdialog.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 3 years ago
keyvaluepage.lua Fix a few things after #7166 (#7212) 3 years ago
linewidget.lua [chore] Convert a couple more todos (#5267) 5 years ago
linkbox.lua Various blitting related cleanups (#4789) 5 years ago
listview.lua [RTL UI] update widgets and apps for UI mirroring 5 years ago
logindialog.lua Floor dimension computations (mul/div). (#6264) 4 years ago
menu.lua Button: Fix some more weird highlighting corner-cases (#7256) 3 years ago
multiconfirmbox.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 3 years ago
multiinputdialog.lua Floor dimension computations (mul/div). (#6264) 4 years ago
naturallightwidget.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 3 years ago
networksetting.lua NetworkManager: Slightly more accurate wifi strength icons (#7020) 4 years ago
notification.lua Notifications: stack them instead of overdrawing them 3 years ago
numberpickerwidget.lua Button: Better handling of translucent MovableContainer (#7223) 3 years ago
openwithdialog.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 3 years ago
overlapgroup.lua Statistics: new Calendar view (#5854) 4 years ago
pathchooser.lua PathChooser: fetch 'show_hidden' setting on each use (#5923) 4 years ago
physicalkeyboard.lua Various blitting related cleanups (#4789) 5 years ago
progresswidget.lua Hide non-linear fragments 4 years ago
qrmessage.lua Qrcode support (#6844) 4 years ago
qrwidget.lua Qrcode support (#6844) 4 years ago
radiobutton.lua Revamp "flash_ui" handling (#7118) 3 years ago
radiobuttontable.lua Open with: add Text Editor plugin 4 years ago
rectspan.lua cleanup: expand tab to 4 spaces 10 years ago
screensaverwidget.lua A few minor fixes after #4541 (#4561) 5 years ago
screenshoter.lua Screenshot: use month number instead of name (#6062) 4 years ago
scrollhtmlwidget.lua Button: Better handling of translucent MovableContainer (#7223) 3 years ago
scrolltextwidget.lua Button: Better handling of translucent MovableContainer (#7223) 3 years ago
sortwidget.lua Fix a few things after #7166 (#7212) 3 years ago
spinwidget.lua Button: Better handling of translucent MovableContainer (#7223) 3 years ago
textboxwidget.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 3 years ago
textviewer.lua TextViewer: Flag as a modal (#7255) 3 years ago
textwidget.lua Top menu: long-press on truncated menu item to show full text 3 years ago
timewidget.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 3 years ago
toggleswitch.lua ConfigDialog: temporarily hide when showing SpinWidgets 3 years ago
touchmenu.lua Button: Fix some more weird highlighting corner-cases (#7256) 3 years ago
trapwidget.lua TextWidget: small refactoring, better handle max_width (#5503) 5 years ago
verticalgroup.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 3 years ago
verticalscrollbar.lua Text/HTML widgets: allow scrolling with the scrollbar 4 years ago
verticalspan.lua cleanup: expand tab to 4 spaces 10 years ago
virtualkeyboard.lua [UX] Add Persian keyboard (#7222) 3 years ago
widget.lua doc: fix document build 8 years ago