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 285fc75aa7
Button: Better handling of translucent MovableContainer (#7223)
* DictQuickLookup: Preserve alpha when switching dict, and scrolling
inside a dict.

* Start moving the NumberPicker alpha hack to Button itself

This makes handling flash_ui easier and saner, avoiding flickering.

* Handle the transparency hack entirely from within Button

* Murder the now unnecessary NumberPicker update_callback hack

* Tweak comments

* And the Button handling made that redundant, too

* Squish debug print

* More comment tweaks

* Reset transparency on scrolling instead of rpeserving it

* Reset alpha when switching dictionaries

* Simplify the pre/post callbakc transparency state handling

And explain why we need to care.

* Give a named reference to ButtonDialog's MovableContainer, so the Button
alpha hack behaves with it

* Document the "self.movable" convention

* Amend that comment a bit

e.g., we don't care much about MultiConfirmBox'w MpvableContainer, as
any button action will close it.

* And make SkimTo's MovableContainer accessible so that Button can grok
that it's translucent
3 years ago
..
container Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 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: Better handling of translucent MovableContainer (#7223) 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) 3 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 Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 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 Bump base to bring in a few fixes & cleanups (#6753) 4 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 Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 3 years ago
iconwidget.lua IconWidget: fix user icons directory path (#7019) 3 years ago
imageviewer.lua Fix a few things after #7166 (#7212) 3 years ago
imagewidget.lua Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 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 Tame some ButtonTable users into re-using Buttontable instances if possible (#7166) 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) 3 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
opdsbrowser.lua [feat] Support mimetypes in DocumentRegistry:hasProvider() (#7155) 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 [RTL UI] update widgets and apps for UI mirroring 5 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 Top menu: long-press on truncated menu item to show full text 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 Georgian keyboard (#7225) 3 years ago
widget.lua doc: fix document build 8 years ago