3b09c07e7a
This introduces a new interface `Clickable`. I'd imagine this would be implemented for most widgets eventually and would allow for programs run in the terminal to also have their mouse events forwarded to them. For the tabs it was relatively simple to check that the position of the click is within the boxes for the tabs. For other components I'd imagine that some state representing their currently drawn bounding box would be useful. |
||
---|---|---|
.. | ||
account-wizard.go | ||
account.go | ||
aerc.go | ||
compose.go | ||
dirlist.go | ||
exline.go | ||
msglist.go | ||
msgviewer.go | ||
providesmessage.go | ||
spinner.go | ||
status.go | ||
tabhost.go | ||
terminal.go |